All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Jan Willies <jan@willies.info>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] What am I missing for aes-cbc-plain
Date: Tue, 17 May 2011 16:39:25 +0200	[thread overview]
Message-ID: <4DD2889D.1030700@redhat.com> (raw)
In-Reply-To: <BANLkTini7DN08G2u239eRojU7cKxeZy93w@mail.gmail.com>


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

  reply	other threads:[~2011-05-17 14:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 14:21 [dm-crypt] What am I missing for aes-cbc-plain Jan Willies
2011-05-17 14:39 ` Milan Broz [this message]
2011-05-17 14:54   ` Jan Willies
2011-05-17 16:31     ` Milan Broz
2011-05-17 17:09       ` Jan Willies
2011-05-20  8:17         ` Jan Willies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DD2889D.1030700@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=jan@willies.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.