[Bug 911810] Re: READ TOC fail in /lib/udev/cdrom_id for data DVDs burned using K3b

Chow Loong Jin hyperair at ubuntu.com
Wed Jan 4 16:55:12 UTC 2012


It seems that this only happens to multi-session disks. When I burnt
another disk (this time with no multi-session), the
ID_CDROM_MEDIA_TRACK_COUNT_DATA field returns.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/911810

Title:
  READ TOC fail in /lib/udev/cdrom_id for data DVDs burned using K3b

Status in “udev” package in Ubuntu:
  New

Bug description:
    affects ubuntu/udev

  The output of /lib/udev/cdrom_id --debug /dev/sr0 is:
  -----8<------
  main: probing: '/dev/sr0'
  cd_inquiry: INQUIRY: [HL-DT-ST][DVDRAM GT40N    ][BA00]
  cd_profiles: current profile 0x11
  feature_profile_media: profile 0x11 media_dvd_r
  cd_profiles: GET CONFIGURATION: size of features buffer 0x015c
  cd_profiles: GET CONFIGURATION: size of features buffer 0x015c
  cd_profiles: GET CONFIGURATION: feature 'profiles', with 14 entries
  feature_profiles: profile 0x12 dvd_ram
  feature_profiles: profile 0x2b dvd_plus_r_dl
  feature_profiles: profile 0x1b dvd_plus_r
  feature_profiles: profile 0x1a dvd_plus_rw
  feature_profiles: profile 0x16 <ignored>
  feature_profiles: profile 0x15 <ignored>
  feature_profiles: profile 0x14 dvd_rw
  feature_profiles: profile 0x13 dvd_rw
  feature_profiles: profile 0x11 <ignored>
  feature_profiles: profile 0x10 dvd_rom
  feature_profiles: profile 0x0a cd_rw
  feature_profiles: profile 0x09 cd_r
  feature_profiles: profile 0x08 cd_rom
  feature_profiles: profile 0x02 <ignored>
  cd_profiles: GET CONFIGURATION: feature 0x0001 <ignored>, with 0x08 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 0x0004 <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 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0020 <ignored>, with 0x0c bytes
  cd_profiles: GET CONFIGURATION: feature 0x0021 <ignored>, with 0x08 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0023 <ignored>, with 0x08 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0024 <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0026 <ignored>, with 0x00 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002a <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002b <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002c <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002d <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002e <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x002f <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0033 <ignored>, with 0x08 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0037 <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x003b <ignored>, with 0x04 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 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0105 <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0106 <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0107 <ignored>, with 0x04 bytes
  cd_profiles: GET CONFIGURATION: feature 0x0108 <ignored>, with 0x10 bytes
  cd_profiles: GET CONFIGURATION: feature 0x010a <ignored>, with 0x0c bytes
  info_scsi_cmd_err: READ TOC failed with SK=5h/ASC=24h/ACQ=00h
  cd_media_info: disk type 00
  cd_media_info: hardware reported media status: appendable
  ID_CDROM=1
  ID_CDROM_CD=1
  ID_CDROM_CD_R=1
  ID_CDROM_CD_RW=1
  ID_CDROM_DVD=1
  ID_CDROM_DVD_R=1
  ID_CDROM_DVD_RW=1
  ID_CDROM_DVD_RAM=1
  ID_CDROM_DVD_PLUS_R=1
  ID_CDROM_DVD_PLUS_RW=1
  ID_CDROM_DVD_PLUS_R_DL=1
  ID_CDROM_MEDIA=1
  ID_CDROM_MEDIA_DVD_R=1
  ID_CDROM_MEDIA_STATE=appendable
  ID_CDROM_MEDIA_SESSION_NEXT=1
  ID_CDROM_MEDIA_SESSION_COUNT=1
  ID_CDROM_MEDIA_TRACK_COUNT=2
  ----->8------

  The output from blkid is:
  -----8<------
  $ blkid --udev /dev/sr0
  ID_FS_LABEL=UN-GO
  ID_FS_LABEL_ENC=UN-GO
  ID_FS_TYPE=iso9660
  ----->8------

  Some googling finds
  <http://mailman.archlinux.org/pipermail/arch-releng/2010-June/001101.html> which
  mentions that reverting
  <http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=58e178894bfc040834e1270c6fe9b9fdef513550#patch1>
  works around the issue.

  -- 
  Kind regards,
  Loong Jin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/911810/+subscriptions




More information about the foundations-bugs mailing list