Re: crypto-loop + highmen -> random crashes in -test11

Andrew Morton
2003-12-16T11:40:48Z

Soeren Sonnenburg <kernel@nn7.de> wrote:
>
> Hi.
>
> I get random crashes/corruption/ init kills when I use cryptoloop on
> this highmem enabled ppc machine.

People have reported cryptoloop+highmem crashes on ia32 as well. I'm not
sure if that was with -mm though.

> Applying the loop-* patches at
> http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test10/2.6.0-test10-mm1/broken-out
>
> seem to fix this problem (at least I did not get any crash due to
> cryptoloop in the last 2 days)
>
> Steps to reproduce:
>
> dd if=/dev/zero of=/file bs=1M count=100
> losetup -e blowfish /dev/loop0 /file
> Password:
> mkfs -t ext3 /dev/loop0
> mount /dev/loop0 /mnt
> cd /mnt
> dd if=/dev/zero of=bla
>
> gives you nice unpredictable crashes.
>

Nice, but I don't know why those patches fixed it. hrm.