VirtualBox

Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#775 closed defect (fixed)

cdrom failure with ubuntu gusty. => Fixed in 1.5.4

Reported by: victor Owned by:
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 (1)

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

Download all attachments as: .zip

Change History (10)

comment:1 by victor, 17 years ago

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 by Michael Thayer, 17 years ago

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 by Michael Thayer, 17 years ago

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 by victor, 17 years ago

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 by Michael Thayer, 17 years ago

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.

by victor, 17 years ago

Attachment: lshal.output added

comment:6 by Michael Thayer, 17 years ago

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 by Michael Thayer, 17 years ago

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

comment:8 by Frank Mehnert, 17 years ago

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 by Frank Mehnert, 17 years ago

Resolution: fixed
Status: newclosed
Summary: cdrom failure with ubuntu gusty.cdrom failure with ubuntu gusty. => Fixed in 1.5.4
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