[dm-crypt] What am I missing for aes-cbc-plain

Milan Broz mbroz at redhat.com
Tue May 17 16:39:25 CEST 2011

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-
> root at 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).


More information about the dm-crypt mailing list