* crypto stuff broken in -mm?
@ 2008-07-20 17:24 Johannes Weiner
2008-07-24 7:43 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Weiner @ 2008-07-20 17:24 UTC (permalink / raw)
To: Herbert Xu; +Cc: linux-crypto, linux-kernel
Hi,
I can not access my encrypted partitions with -mm while they work with
mainline.
For both trees I have similar configs, I didn't change anything relative
to this subsystem:
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_586=y
On mainline I do cryptsetup and then mount /dev/mapper/foo /mnt/foo
successfully, while I have the following behaviour on -mm:
# cryptsetup create foo /dev/sdd1
Enter passphrase:
# mount /dev/mapper/foo /mnt/foo
mount: you must specify the filesystem type
# mount -t ext3 /dev/mapper/foo /mnt/foo
mount: wrong fs type, bad option, bad superblock on /dev/mapper/foo,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail -n1
[56975.640750] VFS: Can't find ext3 filesystem on dev dm-0.
# cryptsetup --version
cryptsetup 1.0.5
(This is the only relevant info in dmesg, unfortunately).
The cipher is aes-cbc-plain, according to cryptsetup status.
It's a 32bit x86 machine. I suspect that -next has the same problem as
-mm's crypto changes seem to come from linux-next.patch.
I am willing to try patches (and hope they won't destroy 640GB worth of
porn).
Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: crypto stuff broken in -mm?
2008-07-20 17:24 crypto stuff broken in -mm? Johannes Weiner
@ 2008-07-24 7:43 ` Herbert Xu
2008-07-25 1:28 ` Johannes Weiner
0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2008-07-24 7:43 UTC (permalink / raw)
To: Johannes Weiner; +Cc: linux-crypto, linux-kernel
On Sun, Jul 20, 2008 at 05:24:48PM +0000, Johannes Weiner wrote:
>
> I can not access my encrypted partitions with -mm while they work with
> mainline.
>
> For both trees I have similar configs, I didn't change anything relative
> to this subsystem:
I can't reproduce this problem here. I've created an encrypted
volume with 2.6.23 and it still decrypts correctly with the latest
upstream Linux kernel which has all the crypto updates.
So it looks like one of the other patches in mm that's causing
this. Please try backing out any device mapper related changes
and see if things improve.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: crypto stuff broken in -mm?
2008-07-24 7:43 ` Herbert Xu
@ 2008-07-25 1:28 ` Johannes Weiner
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Weiner @ 2008-07-25 1:28 UTC (permalink / raw)
To: Herbert Xu; +Cc: linux-crypto, linux-kernel
Herbert Xu <herbert@gondor.apana.org.au> writes:
> On Sun, Jul 20, 2008 at 05:24:48PM +0000, Johannes Weiner wrote:
>>
>> I can not access my encrypted partitions with -mm while they work with
>> mainline.
>>
>> For both trees I have similar configs, I didn't change anything relative
>> to this subsystem:
>
> I can't reproduce this problem here. I've created an encrypted
> volume with 2.6.23 and it still decrypts correctly with the latest
> upstream Linux kernel which has all the crypto updates.
>
> So it looks like one of the other patches in mm that's causing
> this. Please try backing out any device mapper related changes
> and see if things improve.
It works with next-20080724.
Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-25 1:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20 17:24 crypto stuff broken in -mm? Johannes Weiner
2008-07-24 7:43 ` Herbert Xu
2008-07-25 1:28 ` Johannes Weiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox