Hi,

Putting in the "udevadm ...." line, then putting in the audio CDs on 
both drives and waiting a long time, nothing populated the monitor.log 
(file size of "0").

Replacing those audio CDs with Data CDs (Xubuntu 9.04 and Debian 5), 
they both show up on nautilus, and the monitor.log fills with data.  
That's what I include here.

Running LiveCD Ubuntu 10.10 Beta3 on first CD/DVD drive
plus Two empty CD/DVD drives
====================================
ubu...@ubuntu:~$ sudo /lib/udev/cdrom_id --debug /dev/sr0
main: probing: '/dev/sr0'
cd_inquiry: INQUIRY: [COMPAQ  ][CRD-8322B       ][1.07]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ubu...@ubuntu:~$ sudo /lib/udev/cdrom_id --debug /dev/sr1
main: probing: '/dev/sr1'
cd_inquiry: INQUIRY: [PIONEER ][DVD-ROM DVD-116 ][1.06]
cd_profiles: GET CONFIGURATION: size of features buffer 0x0060
cd_profiles: GET CONFIGURATION: feature 'profiles', with 2 entries
feature_profiles: profile 0x08 <ignored>
feature_profiles: profile 0x10 dvd_rom
cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0002 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0003 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0010 <ignored>, with 0x08 bytes
cd_profiles: GET CONFIGURATION: feature 0x001d <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x001e <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x001f <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0100 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0103 <ignored>, with 0x04 bytes
cd_profiles: GET CONFIGURATION: feature 0x0104 <ignored>, with 0x00 bytes
cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes
cd_profiles: current profile 0x08
cd_profiles: profile 0x08 media_cd_rom
info_scsi_cmd_err: READ DISC INFORMATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_DVD=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ubu...@ubuntu:~$ sudo /lib/udev/cdrom_id --debug /dev/sr2
main: probing: '/dev/sr2'
cd_media_compat: CDROM_DRIVE_STATUS != CDS_DISC_OK
cd_inquiry: INQUIRY: [HITACHI ][GD-2000         ][1000]
info_scsi_cmd_err: GET CONFIGURATION failed with SK=5h/ASC=20h/ACQ=00h
ID_CDROM=1
ID_CDROM_DVD=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ubu...@ubuntu:~$
====================================
ubu...@ubuntu:~$ udevadm monitor -e --udev 2>&1 | tee /tmp/monitor.log
...
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [1282959666.010104] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0 (scsi)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
SDEV_MEDIA_CHANGE=1
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=1534

UDEV  [1282959666.377703] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0/block/sr1 (block)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0/block/sr1
SUBSYSTEM=block
DEVNAME=/dev/sr1
DEVTYPE=disk
SEQNUM=1535
ID_CDROM=1
ID_CDROM_DVD=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_SCSI=1
ID_VENDOR=PIONEER
ID_VENDOR_ENC=PIONEER\x20
ID_MODEL=DVD-ROM_DVD-116
ID_MODEL_ENC=DVD-ROM\x20DVD-116\x20
ID_REVISION=1.06
ID_TYPE=cd
ID_BUS=scsi
ID_PATH=pci-0000:00:07.1-scsi-1:0:0:0
ID_FS_LABEL=Xubuntu_9.04_i386
ID_FS_LABEL_ENC=Xubuntu\x209.04\x20i386
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ACL_MANAGE=1
GENERATED=1
UDISKS_PRESENTATION_NOPOLICY=0
MAJOR=11
MINOR=1
DEVLINKS=/dev/block/11:1 /dev/scd1 
/dev/disk/by-path/pci-0000:00:07.1-scsi-1:0:0:0 
/dev/disk/by-label/Xubuntu\x209.04\x20i386 /dev/cdrom1 /dev/dvd1

UDEV  [1282959670.851317] add      /module/nls_utf8 (module)
UDEV_LOG=3
ACTION=add
DEVPATH=/module/nls_utf8
SUBSYSTEM=module
SEQNUM=1536

UDEV  [1282959776.015622] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0 (scsi)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
SDEV_MEDIA_CHANGE=1
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=1537

UDEV  [1282959776.255244] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0/block/sr1 (block)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:0/1:0:0:0/block/sr1
SUBSYSTEM=block
DEVNAME=/dev/sr1
DEVTYPE=disk
SEQNUM=1538
ID_CDROM=1
ID_CDROM_DVD=1
ID_SCSI=1
ID_VENDOR=PIONEER
ID_VENDOR_ENC=PIONEER\x20
ID_MODEL=DVD-ROM_DVD-116
ID_MODEL_ENC=DVD-ROM\x20DVD-116\x20
ID_REVISION=1.06
ID_TYPE=cd
ID_BUS=scsi
ID_PATH=pci-0000:00:07.1-scsi-1:0:0:0
ACL_MANAGE=1
GENERATED=1
UDISKS_PRESENTATION_NOPOLICY=0
MAJOR=11
MINOR=1
DEVLINKS=/dev/block/11:1 /dev/scd1 
/dev/disk/by-path/pci-0000:00:07.1-scsi-1:0:0:0 /dev/cdrom1 /dev/dvd1

UDEV  [1282959806.019941] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0 (scsi)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0
SUBSYSTEM=scsi
SDEV_MEDIA_CHANGE=1
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=1539

UDEV  [1282959806.934810] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0/block/sr2 (block)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0/block/sr2
SUBSYSTEM=block
DEVNAME=/dev/sr2
DEVTYPE=disk
SEQNUM=1540
ID_CDROM=1
ID_CDROM_DVD=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_MEDIA=1
ID_SCSI=1
ID_VENDOR=HITACHI
ID_VENDOR_ENC=HITACHI\x20
ID_MODEL=GD-2000
ID_MODEL_ENC=GD-2000\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_REVISION=1000
ID_TYPE=cd
ID_BUS=scsi
ID_PATH=pci-0000:00:07.1-scsi-1:0:1:0
ID_FS_LABEL=Debian_5.0.0_i386_live
ID_FS_LABEL_ENC=Debian\x205.0.0\x20i386\x20live
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ACL_MANAGE=1
GENERATED=1
UDISKS_PRESENTATION_NOPOLICY=0
MAJOR=11
MINOR=2
DEVLINKS=/dev/block/11:2 /dev/scd2 
/dev/disk/by-path/pci-0000:00:07.1-scsi-1:0:1:0 
/dev/disk/by-label/Debian\x205.0.0\x20i386\x20live /dev/cdrom /dev/dvd

UDEV  [1282959849.768732] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0 (scsi)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0
SUBSYSTEM=scsi
SDEV_MEDIA_CHANGE=1
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=1541

UDEV  [1282959850.029767] change   
/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0/block/sr2 (block)
UDEV_LOG=3
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:07.1/host1/target1:0:1/1:0:1:0/block/sr2
S
====================================


Martin Pitt wrote:
> On a drive where the audio CDs are not recognized, please do the
> following:
>
>   - Remove CD
>   - Open a Terminal
>   - run "udevadm monitor -e --udev 2>&1 | tee /tmp/monitor.log
>   - insert CD
>   - wait about 20 seconds
>   - press Control-C
>
> Now attach /tmp/monitor.log here. Also, with the CD still in the drive,
> please give me the output of
>
>   sudo /lib/udev/cdrom_id --debug /dev/sr0
>   sudo /lib/udev/cdrom_id --debug /dev/sr1
>   sudo /lib/udev/cdrom_id --debug /dev/sr2
>
> Only one of those will be relevant; we need to find the one which just
> got the CD, but if you just do all three of those, I'll see the one
> which has the medium.
>
> Thanks!
>
>
> ** Changed in: udev (Ubuntu)
>        Status: Triaged => Incomplete
>
>

-- 
Only one of two Audio CDs is recognized by Nautilus
https://bugs.launchpad.net/bugs/543907
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to