From: Sebastian Andrzej Siewior Subject: Re: [pkg-cryptsetup-devel] Bug#541835: crypto configuration / dependencies broken Date: Sun, 30 Aug 2009 17:37:22 +0200 Message-ID: <20090830153722.GA28497@Chamillionaire.breakpoint.cc> References: <20090825195852.1dfacb6c.celejar@gmail.com> <20090827095516.6817be1e.randy.dunlap@oracle.com> <20090827183500.GC24973@resivo.wgnet.de> <20090827123401.86cd4319.randy.dunlap@oracle.com> <20090828080056.GA3204@Chamillionaire.breakpoint.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Cc: Randy Dunlap , Jonas Meurer , 541835@bugs.debian.org, lkml , linux-crypto@vger.kernel.org To: Celejar Return-path: Received: from Chamillionaire.breakpoint.cc ([85.10.199.196]:41789 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753710AbZH3Ph0 (ORCPT ); Sun, 30 Aug 2009 11:37:26 -0400 Content-Disposition: inline In-Reply-To: <20090828080056.GA3204@Chamillionaire.breakpoint.cc> Sender: linux-crypto-owner@vger.kernel.org List-ID: * Sebastian Andrzej Siewior | 2009-08-28 10:00:56 [+0200]: >>> 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. >It must be the kernel confing since I run .30.stable and it works. I try >to look at it later. Your kernel config is fine, the problem is that the initramfs tools do not copy all of the required modules into the initramfs. The missing modles are: - cryptomgr: that one is responsible to load the cbc and aes module and bind them to cbc(aes) - chainiv: that one creates IVs if the "user" does not specify one. dm-crypt probably does not use that one but is required due to the way crypto works atm. - krng: provides random numbers and is required by chainiv. If you add those three to /etc/initramfs/modules than it should work. Could someone please look at initramfs to figure out why those three modules are not copied in this reduced setup? >Sebastian