Problem loopmounting CD on 2.6.0

From: Niels Elgaard Larsen
Date: Fri Dec 19 2003 - 08:12:21 EST


A similar (probably the same) problem have been reported for cryptoloop.
With a ISO9660 CD (actually Knoppix) in drive /dev/hdc, no SCSI emulation:

amigos20:/mnt# losetup /dev/loop5 /dev/hdc
amigos20:/mnt# mount -r /dev/loop5 /mnt/foo

Gives kernel output:

===
hdc: cdrom_read_intr: data underrun (2 blocks)
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=loop5, iso_blknum=16, block=32
===

It works in 2.4.20

Also

dd if=/dev/hdc of=/tmp/foo
losetup /dev/loop5 /tmp/foo
mount -r /dev/loop5 /mnt/foo

works

--
Niels Elgaard Larsen
elgaard@xxxxxxx
http://www.agol.dk/elgaard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/