Linux ISでCDドライブが・・・

もう、そのままです。
Linux Integration Services
を入れたらゲストOSがCDドライブを認識しなくなりました。。。

3.1から3.2に上げるときには、気が付かなかったので、
mount -t iso9660 -o loop
で逃げましたw

Linux IS v3.2
を御覧くださいw


PDFに書いてあったのですが、わかりにくいよ。。。

Release Notes
To mount an ISO file in the virtual machine, the following command must be run before executing the mount command:
# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko

現状確認

# dmesg |grep cd
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver

ないw

モジュールを読み込ませてやります。

# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko

これだけ

確認しましょ

# dmesg |grep cd
scsi1 : ata_piix
scsi2 : ata_piix
ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
ata2.00: ATAPI: Virtual CD, , max MWDMA2
ata2.00: configured for MWDMA2
ata1.00: ATA-0: Virtual HD, 1.1.0, max MWDMA2
ata1.00: 41942880 sectors, multi 128: LBA 
ata1.00: simplex DMA is claimed by other device, disabling DMA
ata1.00: configured for PIO4
ata1.00: simplex DMA is claimed by other device, disabling DMA
ata1.00: configured for PIO4
ata1: EH complete
scsi 1:0:0:0: Direct-Access     ATA      Virtual HD       1.1. PQ: 0 ANSI: 5
scsi 2:0:0:0: CD-ROM            Msft     Virtual CD/ROM   1.0  PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 41942880 512-byte logical blocks: (21.4 GB/19.9 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 1:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 0x/0x tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
sd 1:0:0:0: Attached scsi generic sg0 type 0
sr 2:0:0:0: Attached scsi generic sg1 type 5

これでCDドライブが使えるようになります。
が、再起動するとまた使えなくなります。。。

# view /etc/modprobe.d/hyperv_pvdrivers.conf 

# Install HyperV paravirtualized drivers

install ata_piix  { /sbin/modprobe hv_storvsc 2>&1 || /sbin/modprobe --ignore-install ata_piix; }

怪しい設定が。。。
ここを修正?すればいいのでしょうけど、
なんでこんなことになっているんでしょうか。。。
それかCDドライブをSCSI接続にすればいいかもしれません。

誰か教えて下さい。。。

[tegaki]わからんかったw[/tegaki]

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Enter code * Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.