Page 1 of 1

CDROM drive vanishes from host after launching CD player

Posted: 16. Dec 2013, 20:46
by dervi
Now this is really strange...

My configuration:
VirtualBox 4.3.4 (with corresponding Guest Additions)
Host: Win7 x64
Guest: Win XP

I have configured the VM storage with "Host D: drive" in "direct" mode. When I launch the VM with an audio CD in the CDROM drive, I can see the audio tracks in both host (D:) and guest (E:) explorers. Now I have some software to manage my CD database (CD Wizzard) installed on the guest (I'm using this for more than 10 years, and it's not working with Win7 anymore, so I'm using an XP VM to continue using it). When I launch the software, it detects that there's "No disc" in the CDROM drive, the explorer on the guest complains that E: is not accessible due to I/O error... and the CDROM drive simply vanishes from the host! This is really catastrophic, as I need to manually turn off my computer (hard reset) because Windows doesn't manage to close anymore...

An excerpt from the log gives a ton of repetitive errors:

Code: Select all

00:14:10.941750 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x5a sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.942097 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.942432 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x5a sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.942751 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.951365 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x00 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.951671 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.952001 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x00 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
00:14:10.952325 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_INVALID_PARAMETER
...
00:14:28.965959 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x4a sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:28.966293 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:29.967008 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x4a sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:29.967343 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:30.467751 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x00 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:30.468109 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:30.468407 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x00 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED
00:14:30.468720 PIIX3 ATA: LUN#3: CD-ROM passthrough cmd=0x03 sense=0 ASC=0xfe ASCQ=0x7 VERR_ACCESS_DENIED...
Any idea why this happens?
Note that this is new (couple weeks) and didn't happen before. I suspect a compatibility problem with some driver or software update...

Re: CDROM drive vanishes from host after launching CD player

Posted: 17. Dec 2013, 01:15
by mpack
I'm not sure that audio CDs are supported, even in passthrough mode. Only ISO format (data) CDs are.
 Edit:  The previous answer was from my tablet. In fact the answer is given in the user manual.
vbox user manual wrote: The standard CD/DVD emulation allows for reading standard data CD and DVD formats only.
As an experimental feature, for additional capabilities, it is possible to give the guest direct access
to the CD/DVD host drive by enabling “passthrough” mode. Depending on the host hardware,
this may enable three things to work, potentially:
• CD/DVD writing from within the guest, if the host DVD drive is a CD/DVD writer;
• playing audio CDs;
• playing encrypted DVDs.
So, audio CDs are potentially supported in passthrough mode only, but the feature is experimental and host dependant - so no promises.