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 JCbYeIK7HMWe for ; Fri, 18 Jan 2013 20:44:20 +0100 (CET) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 18 Jan 2013 20:44:20 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-49.dclient.hispeed.ch [84.74.164.49]) by v4.tansi.org (Postfix) with ESMTPA id 5298A1404001 for ; Fri, 18 Jan 2013 20:44:20 +0100 (CET) Date: Fri, 18 Jan 2013 20:44:19 +0100 From: Arno Wagner Message-ID: <20130118194419.GA27847@tansi.org> References: <20130118193332.GA27673@tansi.org> <50F9A497.4000802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50F9A497.4000802@gmail.com> Subject: Re: [dm-crypt] RHEL6 crypto support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, Jan 18, 2013 at 08:37:59PM +0100, Milan Broz wrote: > On 01/18/2013 08:33 PM, Arno Wagner wrote: > > On Fri, Jan 18, 2013 at 11:16:42AM -0800, David Li wrote: > >> Here is a newbie question. > >> > >> I encountered an error at luksFormat on a loop device: > >> > >> device-mapper: reload ioctl failed: Invalid argument > >> Failed to setup dm-crypt key mapping for device /dev/loop0. > >> Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for > >> more info). > >> > >> So I guesss my RHEL6 doesn't have the proper crypto module installed. This > >> is a dump of /proc/crypto: > > [....] > >> But I am not quite sure which package is missing here. Is it something > >> more general like "yum install aes"? > > > > Is this a self-compiled cryptsetup? > > I would say it is self-compiled kernel :) ;-) In that case my advice is to just compile everything crypto statically in. I have done that for quite some time now, never any problems. Arno > RHEL6 default kernel will autoload crypto modules as requested. > (And upstream cryptsetup works there too, it is one of the testing platform) > What's the kernel and cryptsetup version? > > Milan > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision. -- Bertrand Russell