From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6sEt4CWSr0gK for ; Sun, 21 Oct 2012 14:20:23 +0200 (CEST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sun, 21 Oct 2012 14:20:22 +0200 (CEST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TPuW4-0001Q1-9V for dm-crypt@saout.de; Sun, 21 Oct 2012 14:20:28 +0200 Received: from ip-94-113-17-106.net.upcbroadband.cz ([94.113.17.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Oct 2012 14:20:28 +0200 Received: from zkaspar82 by ip-94-113-17-106.net.upcbroadband.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Oct 2012 14:20:28 +0200 From: Zdenek Kaspar Date: Sun, 21 Oct 2012 14:20:11 +0200 Message-ID: <5083E87B.2080908@gmail.com> References: <50830D33.5050807@ursulin.net> <5083C61C.5090807@gmail.com> <5083E4A8.3060501@ursulin.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In-Reply-To: <5083E4A8.3060501@ursulin.net> Subject: Re: [dm-crypt] cryptsetup not working under 3.6 - regression from 3.4? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Cc: linux-kernel@vger.kernel.org On 10/21/2012 02:03 PM, Tvrtko Ursulin wrote: > > Hi, > > On 21/10/12 10:53, Milan Broz wrote: >> On 10/20/2012 10:44 PM, Tvrtko Ursulin wrote: >>> But I repeat, even if I load the required modules before hand things do >>> not work. >> >> I would say you are still missing some modules. >> >>> Kernel says this: >>> device-mapper: table: 252:1: crypt: Error allocating crypto tfm >>> device-mapper: ioctl: error adding target to table >> >> It complains about aes-cbc-essiv:sha256. >> >> It can be missing CBC od SHA256, but according the message I bet >> you have no "cbc" block cipher mode module compiled. >> >> Can you grep your final .config for CONFIG_CRYPTO_CBC and >> CONFIG_CRYPTO_SHA256 a paste it here? > > I both working 3.4 and non-working 3.6 situation is the same: > > CONFIG_CRYPTO_CBC=y > CONFIG_CRYPTO_SHA256=m > > Tvrtko > > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt > Compare please: grep CONFIG_CRYPTO /boot/config-3.4 grep CONFIG_CRYPTO /boot/config-3.6 One of the problem could be that your configuration misses something like: CONFIG_CRYPTO_BLKCIPHER, CONFIG_CRYPTO_MANAGER, etc.. or some of those could changed into modules and are not getting loaded.. HTH, Z.