VirtualBox

Ticket #5825 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Reported by: RomanU Owned by:
Priority: major 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

VBox.log Download (69.1 KB) - added by RomanU 4 years ago.
VBox.2.log Download (79.2 KB) - added by Phyds 4 years ago.

Change History

Changed 4 years ago by RomanU

Changed 4 years ago by Phyds

comment:1 Changed 4 years ago by Phyds

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 Changed 4 years ago by Phyds

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

comment:3 Changed 4 years ago by samsojo

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 Changed 4 years ago by sandervl73

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

comment:5 Changed 4 years ago by samsojo

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 Changed 4 years ago by frank

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 Changed 3 years ago by frank

  • Summary changed from VirtualBox ejects physical dvd device after changing virtual optical drive to VirtualBox ejects physical dvd device after changing virtual optical drive => Fixed in SVN

This bug will be fixed in the next maintenance release.

comment:8 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 4.0.2.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use