All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonas Meurer <jonas@freesources.org>
To: Randy Dunlap <randy.dunlap@oracle.com>, 541835@bugs.debian.org
Cc: Celejar <celejar@gmail.com>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [pkg-cryptsetup-devel] Bug#541835: crypto configuration / dependencies broken
Date: Thu, 27 Aug 2009 20:35:01 +0200	[thread overview]
Message-ID: <20090827183500.GC24973@resivo.wgnet.de> (raw)
In-Reply-To: <20090827095516.6817be1e.randy.dunlap@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2157 bytes --]

hey,

On 27/08/2009 Randy Dunlap wrote:
> On Tue, 25 Aug 2009 19:58:52 -0400 Celejar wrote:
> 
> > I'm having a pretty bizarre problem with my kernel crypto
> > configuration.  I need support for a bog standard LUKS (aes /
> > cbc-essiv:sha256) / cryptsetup installation, but even after I enable
> > virtually everything in the crypto section of the kernel configs, cbc
> > fails to load.  All the relevant modules are exist (dm-mod, dm-crypt,
> > crypto_blkcipher, crypto_algapi, crypto_hash, aes_generic,
> > sha256_generic), but even after modprobing / insmoding
> > everything, /proc/crypto shows that aes and sha is there, but not cbc.
> > 
> > The problem has been reproduced (using my kernel config) by Jonas
> > Meurer, the Debian cryptsetup maintainer, so it's not just me ;).
> > We've tried numerous different kernel versions in the .30 / .31 range.
> > 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541835
> > 
> > Does this mean that something else somewhere in the kernel needs to be
> > configured but isn't, and the necessary dependency isn't properly
> > declared?
> > 
> > My config is at:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=45;filename=config-2.6.31-rc6-lizzie-00042-gb2add73;att=1;bug=541835
> > 
> > [I'm not subscribed to lkml; please cc me on responses]
> 
> 
> You could try/test a patch that was just posted:
>   http://lkml.org/lkml/2009/8/27/249

that patch seems to be for ecryptfs only, while Celejar uses dm-crypt.
second, the patch just ensures that CRYPTO_ECB and CRYPTO_CBC are
selected along with ECRYPT_FS. but Celejar does have both CRYPTO_ECB and
CRYPTO_CBC selected.

the problem rather is that loading the cbc blockcipher module simply
does nothing. the module is listed in /proc/modules, but the blockcipher
is still missing from /proc/crypto.

the problem is not reproducible with a debian/unstable 2.6.30.6 kernel,
even though it has cbc compiled as module as well. but if I recompile
the same kernel sources with Celejars kernel .config, the problem
occurs. thus it must be related to the kernel config in some way.

greetings,
 jonas



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-08-27 19:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 23:58 crypto configuration / dependencies broken Celejar
2009-08-27 16:55 ` Randy Dunlap
2009-08-27 18:35   ` Jonas Meurer [this message]
2009-08-27 19:34     ` [pkg-cryptsetup-devel] Bug#541835: " Randy Dunlap
2009-08-28  8:00       ` Sebastian Andrzej Siewior
2009-08-30 15:37         ` Sebastian Andrzej Siewior
2009-08-31  0:06           ` Bug#541835: " Celejar
2009-08-31  0:06             ` Celejar
2009-08-31 15:52           ` Jonas Meurer
2009-08-31 21:16             ` Sebastian Andrzej Siewior
2009-09-01  0:51               ` Jonas Meurer
2009-09-01 21:11                 ` Sebastian Andrzej Siewior
2009-09-03  3:22                 ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090827183500.GC24973@resivo.wgnet.de \
    --to=jonas@freesources.org \
    --cc=541835@bugs.debian.org \
    --cc=celejar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.