DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: dm-crypt@saout.de, Charles Cazabon <charlesc@pyropus.ca>
Subject: Re: [dm-crypt] luksFormat still spinning/hanging with large array on kernel 4.6.2
Date: Tue, 28 Jun 2016 08:39:23 +0200	[thread overview]
Message-ID: <55fa4173-c7f4-a37a-78b7-bbd4ebff421e@gmail.com> (raw)
In-Reply-To: <20160628030107.GA16802@pyropus.ca>

Hi,

thanks for the info.

On 06/28/2016 05:01 AM, Charles Cazabon wrote:
> I've since moved the array over to another machine, also running Wheezy with
> the mainline 4.6.2 kernel.  cryptsetup luksFormat behaves the same there,
> spinning forever and taking one full CPU.
> 
> So is this a known or new incompatibility between cryptsetup and the newer
> kernel?  Or some other known issue?

Not (yet). It is perhaps some recent incompatibility but we have to reproduce and
track to proper component.
 
> Basically I'm wondering what I should be doing to get this working.  It *used*
> to work, given that I have another identical array running on this particular
> machine, and I did the cryptsetup luksFormat on it some six months ago with no
> issues.  The only changes between then and now are that the kernel and other
> system packages have been updated since.
> 
> Anyone have any advice for what to try here?  I'm willing to help compile with
> debugging patches or whatever if that would help track down where the problem
> lies.

That would be great. Please if you can compile cryptsetup from the branch "bench" with
added print inside PBKDF2 benchmark (https://gitlab.com/cryptsetup/cryptsetup/tree/bench)

and run the command again with --debug switch and send me the output.

I need to verify that it is the same problem (if it is, then getrusage() call
return all zeroed values).

Thanks,
Milan

  reply	other threads:[~2016-06-28  6:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 19:16 [dm-crypt] [charlesc@pyropus.ca: Re: Does luksFormat write the full size of the device?] Charles Cazabon
2016-06-28  3:01 ` [dm-crypt] luksFormat still spinning/hanging with large array on kernel 4.6.2 Charles Cazabon
2016-06-28  6:39   ` Milan Broz [this message]
2016-06-28 18:48     ` Charles Cazabon

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=55fa4173-c7f4-a37a-78b7-bbd4ebff421e@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=charlesc@pyropus.ca \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox