dm-crypt mount returns EINVAL

From: Paul Albrecht
Date: Tue Aug 28 2007 - 10:20:49 EST


Hi,

I have recently upgraded my kernel to 2.6.21 from 2.6.20 and that has
caused a problem mounting an encrypted partition using dm-crypt.

In my init script, I use cryptsetup to create device which I use to
mount an encrypted partition. Since I changed to 2.6.21 the mount fails
returning an EINVAL status which doesn't make much sense because the
init script is unchanged and works if reverted to 2.6.20.

Any ideas? How can I debug this problem? I'm not subscribed to lkml so
please cc in your response.

Paul Albrecht
-
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/