[Bug 594843] Re: blkid spends long time scanning Audio CD

Martin Pitt martin.pitt at ubuntu.com
Wed Oct 26 13:29:05 UTC 2011


This was fixed a while ago.

** Changed in: udev (Ubuntu)
       Status: Triaged => Fix Released

-- 
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/594843

Title:
  blkid spends long time scanning Audio CD

Status in “udev” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: udev

  $ lsb_release -rd
  Description:	Ubuntu 10.04 LTS
  Release:	10.04
  $ apt-cache policy udev
  udev:
    Installed: 151-12
    Candidate: 151-12
    Version table:
   *** 151-12 0
          500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
          100 /var/lib/dpkg/status

  Expected:
  Audio CD to be inserted and to load a audio player.

  Happened:
  Audio CD inserted and drive spent a long time (30 secs-1min) scanning the CD (very loudly).

  Potential fix:

  Although similar to #490925 the problem seems to stem from the rule in
  60-persistent-storage.rules which has:

  # probe filesystem metadata of optical drives which have a media inserted
  KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="?*", IMPORT{program}="/sbin/blkid -o udev -p -u noraid -O $env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode"

  # single-session CDs do not have ID_CDROM_MEDIA_SESSION_LAST_OFFSET
  KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="", , IMPORT{program}="/sbin/blkid -o udev -p -u noraid $tempnode"

  I added ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="?*" to the list of
  checks and it seems to make blkid behave itself.  I dont know how many
  CDs have a mix of data and audio but hopefully this modification will
  work for now.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: udev 151-12 [modified: lib/udev/rules.d/60-persistent-storage.rules]
  ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  CustomUdevRuleFiles: 45-libmtp7.rules 85-mdadm.rules.dpkg-old
  Date: Tue Jun 15 22:16:23 2010
  Lsusb:
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 001 Device 002: ID 04e8:3433 Samsung Electronics Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-generic root=UUID=6085121b-c2af-46bc-871d-5f1b95fd38ab ro crashkernel=384M-2G:64M,2G-:128M quiet splash
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_GB.utf8
   SHELL=/bin/bash
  SourcePackage: udev
  dmi.bios.date: 09/09/2003
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: 6.00 PG
  dmi.board.name: MS-6729
  dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd09/09/2003:svn:pn:pvr:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-6729:rvr:cvn:ct3:cvr:

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




More information about the foundations-bugs mailing list