Re: No hash backend found?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 11, 2008 at 04:40:30PM +0800, ?????? wrote:
> Hi, all,
> 
> When I tried to create an encrypt volume, I encounter an error as follows:
> 
> # ./cryptsetup create --cipher=aes --hash=md5 aaa /dev/myvg/lvol0 
> Enter passphrase: 
> Command failed: Key processing error: No hash backend found

I suspect that means missing md5 support in the kernel. Have
a look at the output of "cat /proc/crypto" (may be long,
you may want to pipe it into less or a file). The md5 entry looks
something like this: 

name         : md5
driver       : md5-generic
module       : kernel
priority     : 0
refcnt       : 1
type         : digest
blocksize    : 64
digestsize   : 16

 
> And if I try this:
> # ./cryptsetup create --cipher=aes --hash=plain aaa /dev/myvg/lvol0
> 
> It works but alert another error.
> sh: /sbin/udevsettle: No such file or directory

This seems to indicate a problem with /dev/myvg/lvol0,
which is probably generated by udev. Maybe the udev
installation is broken or the version is too new/old?
Sorry, I do not really understand udev at this time.

> Did I have missed any lib file or wrongly configured any thing?

If this is a monolitic kernel you may have to compile
md5 support into the kernel. If it is a module kernel,
you may just have to load the md5 module (if present).

Arno

-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@xxxxxxxxxxx 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux