Package: udev
Version: 0.125 (testing)

The /etc/udev/rules.d/60-persistent-storage.rules included with udev
0.125 probes /dev/sr* for RAID signatures on boot, link status change
and media change via the vol_id helper.  Because many drives report a
mildly overoptimistic number for READ_CAPACITY (allowed by
SATA/SCSI/MMC spec) and most of the RAID signature checks involve
repeatedly reading the last sector of a volume, this can result in a
burned CDROM or DVDROM requiring several minutes to load as the vol_id
RAID probe process repeatedly triggers medium errors and device
resets.

This bug is fixed in upstream udev by amending
60-persistent-storage.rules, replacing the lines:

 # UUID and volume label
IMPORT{program}="vol_id --export $tempnode"

with

# probe filesystem metadata of optical drives which have a media inserted
KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT}=="?*", IMPORT{program}="vol_id \
        --export --skip-raid --offset=$env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} \
        $tempnode"

# probe filesystem metadata of disks
KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"

Monty



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to