VirtualBox

Ticket #775 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

cdrom failure with ubuntu gusty. => Fixed in 1.5.4

Reported by: victor Owned by:
Priority: critical Component: other
Version: VirtualBox 1.5.0 Keywords: cdrom
Cc: Guest type: other
Host type: other

Description

There is not any '/dev/cdrom' item in the cdrom select list.

It works well with feisty.

Attachments

lshal.output Download (93.2 KB) - added by victor 7 years ago.

Change History

comment:1 Changed 7 years ago by victor

I can access the cdrom in the file manager.

Maybe the following info will be helpful.

hal-find-by-property --key 'storage.drive_type' --string 'cdrom'

/org/freedesktop/Hal/devices/storage_model_Optiarc_CD_RW_CRX880A

comment:2 Changed 7 years ago by michael

How does this relate to issue #760? There you say that the CDRom does not work with Feisty. By the way, we switched to detecting the CDRom device using hal in version 1.5.0 of VBox.

comment:3 Changed 7 years ago by michael

A few questions there.

  • Is the device node for your CD-ROM device readable and writable for your user?
  • Did you install VirtualBox from the "all distributions" package? If not, perhaps you could try that.
  • Could you attach the complete output of 'lshal'?
  • And also, for your CDROM device node (what /dev/cdrom points to), could you try 'udevinfo --query=all --name <device>'?
  • And the contents of either /proc/ide/<device name>/model or /sys/block/srX/device/model, depending on which you have?

comment:4 Changed 7 years ago by victor

I've found a workaround solution. And now it works well. Maybe it will be helpful.

#!/bin/bash

VBOX_CDROM=""

for i in `hal-find-by-property --key 'storage.drive_type' --string 'cdrom'`; do
    cddevice="$(hal-get-property --udi $i --key 'block.device')"
    VBOX_CDROM="${cddevice}:${VBOX_CDROM}"
done

export VBOX_CDROM
VirtualBox

comment:5 Changed 7 years ago by michael

Thanks for the workaround. It would still be nice though, if you could provide the output of lshal on your machine, since this might help me see what went wrong in the first place.

Changed 7 years ago by victor

comment:6 Changed 7 years ago by michael

victor, if you would like to test a possibly fixed version of VirtualBox, write to me at michael at innotek dot de and I will send you a link. Unfortunately this will no longer make it into 1.5.2 though.

comment:7 Changed 7 years ago by michael

Don't worry, I already have your address since you did the Chinese translation. I will send you the link.

comment:8 Changed 6 years ago by frank

On Gutsy, please install the package libhal-dev (in addition to libhal1) when using VirtualBox 1.5.2. The reason is that VirtualBox tries to load libhal.so dynamically. This lib is only provided by libhal-dev. If this library is not found, VirtualBox will not use hal to enumerate CD/DVD devices. VirtualBox 1.5.4 will look for libhal.so.1 which is the correct link.

comment:9 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from cdrom failure with ubuntu gusty. to cdrom failure with ubuntu gusty. => Fixed in 1.5.4
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use