lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0708282042210.24588@enigma.security.iitk.ac.in>
Date:	Tue, 28 Aug 2007 20:45:07 +0530 (IST)
From:	Satyam Sharma <satyam@...radead.org>
To:	Paul Albrecht <albrecht@...1.com>
cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: dm-crypt mount returns EINVAL

Hi Paul,


On Tue, 28 Aug 2007, Paul Albrecht wrote:

> 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.

What was the error you got from cryptsetup()? Also, please post the
kernel's dmesg log and the .config of the 2.6.21 kernel (new one).

Also, compare the .config's of the two kernels and ensure that
CONFIG_DM_CRYPT (or possibly one of the _CRYPTO_ config options)
didn't get lost or automatically unset during the upgrade/oldconfig.


Satyam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ