VirtualBox

Opened 15 years ago

Closed 14 years ago

#5825 closed defect (fixed)

VirtualBox ejects physical dvd device after changing virtual optical drive => Fixed in SVN

Reported by: Roman Owned by:
Component: DVD Version: VirtualBox 3.1.2
Keywords: Cc:
Guest type: other Host type: other

Description

VirtualBox ejects physical dvd device after I change virtual optical drive from physical host drive to virtual image. I don't expect to see it ejected during that operation. Situation is bad because I have 'Thermaltake Tsunami Dream' computer case, and dvd beats a closed door of case when unexpected ejecting happens.

I can reproduce that on Linux and Windows hosts.

Attachments (2)

VBox.log (69.1 KB ) - added by Roman 15 years ago.
VBox.2.log (79.2 KB ) - added by Yannick Drolet 14 years ago.

Download all attachments as: .zip

Change History (10)

by Roman, 15 years ago

Attachment: VBox.log added

by Yannick Drolet, 14 years ago

Attachment: VBox.2.log added

comment:1 by Yannick Drolet, 14 years ago

By default, the VM virtual CD/DVD drive is setup to use the host CD/DVD drive. The host CD/DVD drive tray ejects when I mount an image on the virtual CD/DVD drive while the VM is running. This is very annoying for those who have a desktop with a door to hide the drives and always keep the door closed. When the tray ejects and the door is closed, I'm afraid that it could damage the tray ejection mechanism. Here's the steps to reproduce the bug:

  1. Install any Windows as a guest VM.
  2. After complete installation, shut down the Windows guest VM.
  3. Remove any disc from the host CD/DVD drive.
  4. Go in the Windows guest VM Settings, Storage section, and make sure you have an IDE Controller with a virtual CD/DVD device. In the Attributes, make sure this virtual CD/DVD device is linked to the host CD/DVD drive. Click OK to save & exit the Settings.
  5. Go in File/Virtual Media Manager, CD/DVD Images tab, and add an image, for example VBoxGuestAdditions.iso. Click OK to save & exit the Virtual Media Manager.
  6. Start the Windows VM and wait until you see the desktop.
  7. Right-click on the CD icon on the bottom right of the VM window, and select the image you added earlier.
  8. Now the host CD/DVD drive tray should eject automatically with nothing in it.

comment:2 by Yannick Drolet, 14 years ago

I confirm that I can reproduce this on both Linux or Windows host, each with either Linux or Windows guest.

comment:3 by Jonathan Samson, 14 years ago

the same damn thing happens to me too. when will they fix it?? i thought they would have fixed it in 3.2.4 and 3.2.6, but nothing.. what r u waiting for... Christmas?? (duke joke ;) )

Come on, I'm a programmer and I know it's a trivial patch to do. just fix it please!

comment:4 by Sander van Leeuwen, 14 years ago

Well, if you're a programmer and you know it's trivial, then surely you can provide the patch, right? :)

comment:5 by Jonathan Samson, 14 years ago

sorry, maybe it's not so trivial after all. i would like to take a look but i don't have time these days. anyway, isn't it closed source? I know there's an open source version but is it exactly the same thing?

comment:6 by Frank Mehnert, 14 years ago

The only difference between the closed source version and the open source version is that the former has some additional features. But the code for handling the CDROM device is definitely the same. This is the subversion repository.

comment:7 by Frank Mehnert, 14 years ago

Summary: VirtualBox ejects physical dvd device after changing virtual optical driveVirtualBox ejects physical dvd device after changing virtual optical drive => Fixed in SVN

This bug will be fixed in the next maintenance release.

comment:8 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in 4.0.2.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette