From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 17 May 2011 16:39:29 +0200 (CEST) Message-ID: <4DD2889D.1030700@redhat.com> Date: Tue, 17 May 2011 16:39:25 +0200 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] What am I missing for aes-cbc-plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Willies Cc: dm-crypt@saout.de On 05/17/2011 04:21 PM, Jan Willies wrote: > Hi there, > > I have stared at it long enough, and still can't make out what's missing. > > I'm trying to mount an aes-cbc-plain encrypted disk with cryptsetup-1.3.0 on kernel-2.6.37.6: > > root@dockstar:~# cryptsetup luksOpen /dev/sda2 storage > Enter passphrase for /dev/sda2: > device-mapper: reload ioctl failed: No such file or directory > Failed to setup dm-crypt key mapping for device /dev/sda2. > Check that kernel supports aes-cbc-plain cipher (check syslog for more info). > Failed to read from key storage. Please run cryptsetup with --debug and post full output. I would also try to blacklist Marvell hw accelerator module (mv_cesa) and try to use generic aes crypto modules. (All this seems to me like bug in this crypto driver). Milan