All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Joe Hillenbrand <joehillen@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] luksAddKey hangs for ~85 minutes and then fails
Date: Wed, 22 Jun 2016 09:28:01 +0200	[thread overview]
Message-ID: <eec050f8-4fcd-41b9-43d3-670345b79ef2@gmail.com> (raw)
In-Reply-To: <CANJQ5C78c-0biNStGxWcO=AkD8-Hdpd5-3DN7MO1_oQy6-yg=w@mail.gmail.com>

On 06/21/2016 05:51 PM, Joe Hillenbrand wrote:
> I gathered the requested output. Unfortunately, it doesn't look very
> helpful. Each command took about +95 minutes.

Thanks, there are versions of backend libraries I need, so it is helpful.
ALso it proves that for unlocking crypto works.

>> cryptsetup benchmark -h sha256 --debug
> 
> # cryptsetup 1.7.1 processing "cryptsetup benchmark -h sha256 --debug"
> # Running command benchmark.
> # Installing SIGINT/SIGTERM handler.
> # Unblocking interruption on signal.
> # Tests are approximate using memory only (no storage IO).
> # Crypto backend (gcrypt 1.7.1) initialized in cryptsetup library version 1.7.1.
> # Detected kernel Linux 4.6.2-1-ARCH x86_64.
> PBKDF2-sha256        N/A
> Command failed with code 22.

It is failing the benchmark here, so there is probably another bug in benchmarking.
What CPU is that? Is it some very fast machine? (paste lscpu output if possible).

What is number of iterations for the used slot? - you masked that out in the
first mail.

I need to either reproduce myself or I have to add some more debugging output
there.

If I add some debugging code, can you compile it and run it on your hw?
(Or I can provide debug binaries if you prefer that.)

Thanks,
Milan

  reply	other threads:[~2016-06-22  7:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 22:15 [dm-crypt] luksAddKey hangs for ~85 minutes and then fails Joe Hillenbrand
2016-06-21  3:24 ` Milan Broz
2016-06-21 15:51   ` Joe Hillenbrand
2016-06-22  7:28     ` Milan Broz [this message]
2016-06-22  7:39       ` Joe Hillenbrand
2016-06-23  6:29     ` Milan Broz
2016-07-06 23:50       ` Joe Hillenbrand

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=eec050f8-4fcd-41b9-43d3-670345b79ef2@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=joehillen@gmail.com \
    /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.