I find that some CD/drive combinations fail to mount. The problem seems
to be raid probing at the end of the device, which some combinations
don't mind, but for which others yield a scsi I/O error. This is with
2.17.1, using the provided libblkid.
Thus "mount /dev/sr0 /mnt" and blkid -p -u raid /dev/sr0 fail but
"mount -t iso9660 /dev/sr0 /mnt" and "blkid -p -u noraid /dev/sr0" are OK.
The errors start (for some disks) when the *raid_member reads at offsets
that are at or maybe beyond the written part of the disk.
Where to fix this? Some callers just rely blindly on mount, which used
to be OK with a less enthusiastic libblkid.
Typical debug:
[1] ddf_raid_member:
call probefunc()
buffer read: off=534103552 len=40
(/sys/class/block/sr2/size * 512 = 534104064)
Typical strace:
_llseek(3, 534103552, [534103552], SEEK_SET) = 0
read(3, 0x804f004, 40) = -1 EIO (Input/output error)
Typical kernel log:
kernel: sr 6:0:0:0: [sr2] Sense Key : 0x4 [current]
kernel: sr 6:0:0:0: [sr2] ASC=0x3e ASCQ=0x2
kernel: sr 6:0:0:0: [sr2] CDB: cdb[0]=0x28: 28 00 00
Thanks,
Mark
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html