Return-Path: Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Tue, 28 Jun 2016 08:39:26 +0200 (CEST) Received: by mail-wm0-x236.google.com with SMTP id r201so11952646wme.1 for ; Mon, 27 Jun 2016 23:39:26 -0700 (PDT) References: <20160627191619.GA15702@pyropus.ca> <20160628030107.GA16802@pyropus.ca> From: Milan Broz Message-ID: <55fa4173-c7f4-a37a-78b7-bbd4ebff421e@gmail.com> Date: Tue, 28 Jun 2016 08:39:23 +0200 MIME-Version: 1.0 In-Reply-To: <20160628030107.GA16802@pyropus.ca> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] luksFormat still spinning/hanging with large array on kernel 4.6.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de, Charles Cazabon 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