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 18:31:29 +0200	[thread overview]
Message-ID: <4DD2A2E1.1070900@redhat.com> (raw)
In-Reply-To: <BANLkTina2vWpAtZzdCxPQ5B+GbxeWK_-nw@mail.gmail.com>

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/<some 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

  reply	other threads:[~2011-05-17 16:31 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
2011-05-17 14:54   ` Jan Willies
2011-05-17 16:31     ` Milan Broz [this message]
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=4DD2A2E1.1070900@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.