Re: loopback device + crypto = crash on 2.6.0-test7 ?
From: Bill Davidsen
Date: Fri Nov 07 2003 - 17:58:58 EST
On Wed, 29 Oct 2003, Soeren Sonnenburg wrote:
> I wanted to setup a blowfish encrypted file which is then mounted via
> loopback. So I did:
>
> losetup -e blowfish /dev/loop0 /file
> Password:
> mkfs -t ext3 /dev/loop0
> mount /dev/loop0 /mnt
> <error unknown fs type>
> <from here something was seriously broken... could not reboot anymore>
Did you pre-create the file? I've been doing something quite similar since
about test6, although I use ext2 and aes I don't suspect that matters. But
I did preallocate the file with dd first. I assume you did that, since you
don't give a size in mkfs, but better to mention it.
>
> system is:
> Linux no 2.6.0-test7 #8 Sun Oct 26 17:00:49 CET 2003 ppc GNU/Linux
>
> (benh rsync tree)
I've run both dead stock test releases, -mm, and most recently a mix of
Nick and Con scheduler and io patches.
--
bill davidsen <davidsen@xxxxxxx>
CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
-
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/