Comment 15 for bug 562978

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 151-11

---------------
udev (151-11) lucid; urgency=low

  * Fix cdrom_id even harder to correctly detecting media. (Committed to
    and cherrypicked from upstream git head):
    - Rework feature/profiles buffer parsing: Previously we were ignoring many
      profiles, which could lead to misdetecting the content types.
    - Print more debug messages with -d.
    - Do not ignore errors from scsi_cmd_run(). scsi_cmd_run() can return
      positive error messages if we have CHECK_CONDITION set and get the error
      code from the SCSI command result. So check the result for non-zero, not
      for being negative. This fix another common cause for "phantom" media
      in empty CD-ROM drives. (LP: #562978)
    - Swap media state and TOC info probing. Blank CDs do not have a TOC, thus
      will fail cd_media_toc() (at least with the "Do not ignore errors from
      scsi_cmd_run()" fix). Thus probe the media state first, so that we can
      properly detect blank media.
 -- Martin Pitt <email address hidden> Thu, 15 Apr 2010 22:29:06 +0200