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 18:31:32 +0200 (CEST) Message-ID: <4DD2A2E1.1070900@redhat.com> Date: Tue, 17 May 2011 18:31:29 +0200 From: Milan Broz MIME-Version: 1.0 References: <4DD2889D.1030700@redhat.com> 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:54 PM, Jan Willies wrote: > # DM-UUID is CRYPT-TEMP-temporary-cryptsetup-2022 > # dm create temporary-cryptsetup-2022 CRYPT-TEMP-temporary-cryptsetup-2022 OF [16384] > # dm reload temporary-cryptsetup-2022 OF [16384] > device-mapper: reload ioctl failed: No such file or directory There is something strange on your system - either some kernel modules are missing or something similar. Any other messages in syslog? According to used mv_cesa module I guess it is some ARM platform, right? Maybe try to keep LUKS from the picture and check modes works, just use plain crypt - like this: echo "password" | cryptsetup create tst /dev/ -c aes-cbc-plain -s 128 cryptsetup remove tst Does it fail for all combination of modes? (Try aes-ecb - it is insecure, but just to test if aes driver works). If it still fails with "No such file or directory", try some simple device-mapper target using the same device: dmsetup create tst --table "0 1000 linear /dev/sda2 0" dmsetup remove tst Does this work? Milan