From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] RHEL6 crypto support
Date: Fri, 18 Jan 2013 20:44:19 +0100 [thread overview]
Message-ID: <20130118194419.GA27847@tansi.org> (raw)
In-Reply-To: <50F9A497.4000802@gmail.com>
On Fri, Jan 18, 2013 at 08:37:59PM +0100, Milan Broz wrote:
> On 01/18/2013 08:33 PM, Arno Wagner wrote:
> > On Fri, Jan 18, 2013 at 11:16:42AM -0800, David Li wrote:
> >> Here is a newbie question.
> >>
> >> I encountered an error at luksFormat on a loop device:
> >>
> >> device-mapper: reload ioctl failed: Invalid argument
> >> Failed to setup dm-crypt key mapping for device /dev/loop0.
> >> Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for
> >> more info).
> >>
> >> So I guesss my RHEL6 doesn't have the proper crypto module installed. This
> >> is a dump of /proc/crypto:
> > [....]
> >> But I am not quite sure which package is missing here. Is it something
> >> more general like "yum install aes"?
> >
> > Is this a self-compiled cryptsetup?
>
> I would say it is self-compiled kernel :)
;-)
In that case my advice is to just compile everything crypto
statically in. I have done that for quite some time now,
never any problems.
Arno
> RHEL6 default kernel will autoload crypto modules as requested.
> (And upstream cryptsetup works there too, it is one of the testing platform)
> What's the kernel and cryptsetup version?
>
> Milan
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
----
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell
next prev parent reply other threads:[~2013-01-18 19:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 19:16 [dm-crypt] RHEL6 crypto support David Li
2013-01-18 19:33 ` Arno Wagner
2013-01-18 19:37 ` Milan Broz
2013-01-18 19:44 ` Arno Wagner [this message]
2013-01-18 19:45 ` David Li
2013-01-18 19:56 ` Milan Broz
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=20130118194419.GA27847@tansi.org \
--to=arno@wagner.name \
--cc=dm-crypt@saout.de \
/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.