Herbert Valerio Riedel's iv-mode-sector changes (which I didn't know but have been hanging around on sourceforge for quite a while) fix the problem. Thanks a lot! roger On Sun, Aug 19, 2001 at 01:28:44PM +0200, Roger Luethi wrote: > Hi there > > I have come across a problem with linux-crypto and I thought I'd ask > if the problem exists for others as well. > > So here we go: > > modprobe cipher-aes > dd if=/dev/urandom of=/tmp/test bs=1M count=1 > losetup -e aes /dev/loop0 /tmp/test > mke2fs -b 2048 /dev/loop0 > mount /dev/loop0 /mnt > > If this fails for you -- that's the problem. I know how to work around > it, I think I know pretty well what is going wrong internally, and > I am currently working on a proper solution. > > My solution involves changes to the kernel, to losetup, _and_ the > e2fsprogs, so if somebody knows a more simple fix -- please let > me know. > > Otherwise, I'd like to hear if others are experiencing this behavior > and consider this a problem, too. > > TIA, > > roger > > Linux-crypto: cryptography in and on the Linux system > Archive: http://mail.nl.linux.org/linux-crypto/ Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/