Description of problem:
Unable to automount an attached CD under RHEL5.3 i686, running as a VM under RHEV
Version-Release number of selected component (if applicable):
2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 athlon i386 GNU/Linux
Try to attach a CD ISO(9660) file to a RHEL5.3 VM.
Steps to Reproduce:
1. Install RHEL5.3 i386 as a VM under RHEV
2. log in to GNOME as user or root
3. attach a CD image to the VM
1. dmesg shows: cdrom: This disc does not have any tracks I recognize
2. manual `mount /dev/cdrom /mnt` works OK
# file -s /dev/cdrom
/dev/cdrom: symbolic link to `hdc'
# file -s /dev/hdc
/dev/hdc: ISO 9660 CD-ROM filesystem data 'RHEL/5.3 i386 DVD ' (bootable)
#CD is recognised, but not under GNOME
CD should automount as inserted, and show up on the GNOME desktop
tested with 2.6.18-92, 2.6.18-128, 2.6.18-140 - issue persists
Fedora 10 VM on the same config - no problem
Compiled a vanilla 22.214.171.124 kernel under RHEL5.3 - everything works fine, no problem
Also seen on 5.4/64b (2.6.18-164.10.1.el5).
Bug reopened - this is still an issue with RHEV
Looks like the drive is either not exposing properties that HAL etc. expect to identify it as a CD drive or is not issuing events on media insertion. Would help to have lsmod output to know what modules are loaded.
Istr there's some magic words that'll make HAL log verbosely (desktop folks would know) and that might reveal some more but in the meantime lshal probably isn't a bad place to begin.
As Olivier mentioned on irc, I was thinking of dbus-monitor in the previous comment. This should give some idea what events the desktop is seeing (although the fact it doesn't show up on the desktop as a CD drive makes me suspect that it's an attributes problem).
tried it with lshal -m - there's nothing when I attach a CD image. when I change it, I see that the removal of the 1st image is detected, but not the attachment of the second one
Created attachment 388521 [details]
lshal and lshal -m outputs
lshal -m was taken during these steps:
1. attach CD image (no output)
2. attach another CD image (output for detaching the 1st image, no output for attaching the 2nd)
Created attachment 388822 [details]
lshal output from an F12 VM
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of
Red Hat Enterprise Linux. The error has been fixed and this
request has been re-proposed for the current release.