Re: luksFormat hangs

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

 



Looks like a Bug too me. Or maybe you just dod not wait long
enough? How slow is this platform?

Arno

On Tue, Jun 28, 2011 at 03:56:48PM -0400, Martin Hicks wrote:
> Hello,
> 
> I'm trying to create a luks device on an embedded platform running
> kernel 2.6.37 and cryptsetup 1.3.1.  I'm sure I've done this before,
> but when I tried today I end up with a hang that consumes all CPU and
> based on a combination of --debug and strace I think it is in the
> PBKDF2_perforance_check function.
> 
> /conf/root # cryptsetup --debug -q luksFormat /dev/dtdb1
> # cryptsetup 1.3.1 processing "cryptsetup --debug -q luksFormat /dev/dtdb1"
> # Running command luksFormat.
> # Locking memory.
> # Allocating crypt device /dev/dtdb1 context.
> # Trying to open and read device /dev/dtdb1.
> # Initialising device-mapper backend, UDEV is disabled.
> # Detected dm-crypt version 1.7.0, dm-ioctl version 4.18.0.
> # Password verification enabled.
> # Timeout set to 0 miliseconds.
> # Iteration time set to 1000 miliseconds.
> # Interactive passphrase entry requested.
> Enter LUKS passphrase:
> # Formatting device /dev/dtdb1 as type LUKS1.
> # OpenSSL crypto backend initialized.
> # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
> # Generating LUKS header version 1 using hash sha1, aes,
> cbc-essiv:sha256, MK 32 bytes
> 
> 
> 
> The platform is ppc mpc8379-rdb.  I've tried on the platform with the
> hardware encryption engine and on one without, although I don't think
> I'm getting to the stage where the kernel really cares about that.
> 
> Any ideas?
> thanks,
> mh
> 
> -- 
> Martin Hicks P.Eng. ?? ? | ? ? ? ? mort@xxxxxxxx
> Bork Consulting Inc. ? ? | ? +1 (613) 266-2296
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@xxxxxxxx
> http://www.saout.de/mailman/listinfo/dm-crypt
> 

-- 
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
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[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