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 ZCvkFj__WLQo for ; Fri, 18 Jan 2013 20:38:05 +0100 (CET) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Fri, 18 Jan 2013 20:38:05 +0100 (CET) Received: by mail-wi0-f172.google.com with SMTP id o1so5513106wic.17 for ; Fri, 18 Jan 2013 11:38:05 -0800 (PST) Message-ID: <50F9A497.4000802@gmail.com> Date: Fri, 18 Jan 2013 20:37:59 +0100 From: Milan Broz MIME-Version: 1.0 References: <20130118193332.GA27673@tansi.org> In-Reply-To: <20130118193332.GA27673@tansi.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] RHEL6 crypto support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Cc: w.david.li@gmail.com 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 :) 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