All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] luksFormat hangs
Date: Tue, 28 Jun 2011 22:10:24 +0200	[thread overview]
Message-ID: <20110628201024.GA4260@tansi.org> (raw)
In-Reply-To: <BANLkTinQVZ8obgY34rx-7xUERY7hOS_QB1Mqj2zv=c88hMModw@mail.gmail.com>

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@bork.org
> Bork Consulting Inc. ? ? | ? +1 (613) 266-2296
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
> 

-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
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 

  reply	other threads:[~2011-06-28 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 19:56 [dm-crypt] luksFormat hangs Martin Hicks
2011-06-28 20:10 ` Arno Wagner [this message]
2011-06-28 20:14 ` Milan Broz
2011-06-28 20:23   ` Martin Hicks
2011-06-28 20:30     ` Milan Broz
2011-06-28 20:34       ` Martin Hicks
2011-06-30 17:53       ` Martin Hicks

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=20110628201024.GA4260@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.