[dm-crypt] RHEL6 crypto support
arno at wagner.name
Fri Jan 18 20:33:32 CET 2013
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? If not, the installer
should install all the modules at least for the defaults
when you install "cryptsetup". They should then be loaded
on-demand I think, but I have not used a module-kernel in
a long, long time.
> In general, how do I check if all the required crypto modules are supported
> before running any cryptsetup commands?
Just run it and see whether it complains.
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno at 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
More information about the dm-crypt