VirtualBox

Opened 17 years ago

Closed 16 years ago

#760 closed defect (fixed)

wrong device name in the cdrom select list

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

Description

It also list my mobile hardisk (/dev/sda1 /dev/sda2) in the cdrom select list.

It dosen't happen in the early version.

Attachments (2)

cdout (2.9 KB ) - added by victor 17 years ago.
lshal output for storage.cdrom
lshal.output (115.3 KB ) - added by victor 17 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 by Michael Thayer, 17 years ago

Which Linux distribution are you using? And could you look through the output of the 'lshal' command for sections containing "storage.cdrom" and see what the 'block.device' entries in those sections are set to?

comment:2 by victor, 17 years ago

  1. ubuntu 7.04 feisty
  1. bolck.device = '/dev/hda' (string)

by victor, 17 years ago

Attachment: cdout added

lshal output for storage.cdrom

comment:3 by Michael Thayer, 17 years ago

It looks like something is messed up on your system, but we have had a few similar reports - perhaps hal is broken in some way, or breaks easily.

comment:4 by victor, 17 years ago

I have three computer in my office, every one have the same problem.

comment:5 by Michael Thayer, 17 years ago

Are you using the standard Ubuntu Feisty kernel? And the versions of udev, hal, etc which come with the distribution? And is your system up-to-date? The reason I am asking is that hal failures sometimes occur when the kernel, hal and udev are not in sync.

in reply to:  5 comment:6 by victor, 17 years ago

Replying to michael:

Are you using the standard Ubuntu Feisty kernel?

Yes.

And the versions of udev, hal, etc which come with the distribution? Yes.

And is your system up-to-date? Yes.

The reason I am asking is that hal failures sometimes occur when the kernel, hal and udev are not in sync. I can confirm that they are all in sync. And there is only one device(/dev/cdrom) in the select list when I switch back to version 1.4.0

comment:7 by victor, 17 years ago

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

Would you be able to attach the entire output of lshal?

Re your last comment, that is in fact the same information that you privided originally, but hal says that the block device ("hal-get-property --udi <udi> --key 'block.device'") for that CDROM is /dev/hda according to the information you provided above, which was why I was wondering about a problem with your system setup.

by victor, 17 years ago

Attachment: lshal.output added

comment:9 by victor, 17 years ago

I've found a workaround solution, just see ticket 775.

comment:10 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

This is fixed in VirtualBox 1.5.4. The hal stuff was just not loaded properly. Closing.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use