can't mount encrypted dvd with 2.6.0

From: Thomas Fischbach
Date: Wed Jan 07 2004 - 09:21:30 EST


Hi,

if I create an encrypted iso image:
dd if=/dev/zero of=/files/image.iso bs=512 count=$((1024*4400))
losetup -e aes -k 256 /dev/loop1 /files/image.iso
mkisofs -r -o /dev/loop1 /files/stuff/*
losetup -d /dev/loop1

I can mount the file:
mount /files/image.iso /mnt/cd -t iso9660 \
-o loop=/dev/loop1,encryption=aes,keybits=256

but when I burned the iso and tried to mount, it failed with:
mount: wrong fs type ...

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

under 2.4.22 it works fine.
Hope someone can help.

Thanks,
Thomas

--
Thomas Fischbach
http://www.kennygno.net
webmaster@xxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature