From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from detritus.pyropus.ca (detritus.pyropus.ca [64.5.53.58]) by mail.server123.net (Postfix) with SMTP for ; Tue, 28 Jun 2016 20:49:12 +0200 (CEST) Date: Tue, 28 Jun 2016 12:48:43 -0600 From: Charles Cazabon Message-ID: <20160628184843.GA19207@pyropus.ca> References: <20160627191619.GA15702@pyropus.ca> <20160628030107.GA16802@pyropus.ca> <55fa4173-c7f4-a37a-78b7-bbd4ebff421e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55fa4173-c7f4-a37a-78b7-bbd4ebff421e@gmail.com> 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 Milan Broz wrote: > 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. [...] > I need to verify that it is the same problem (if it is, then getrusage() call > return all zeroed values). [...] > Just noticed this here - you are testing new cryptsetup binary but according > to debug output it uses system old libcryptsetup library. > > Please use src/cryptsetup not directly src/.libs/cryptsetup ... And this, indeed, fixed the problem. luksFormat completed in normal time. Sorry, I wasn't sure which of the built `cryptsetup` files was the one to use (in fact, I had assumed without checking that they would be hardlinks to the same file). Thanks muchly for the help. So whatever bug I hit is indeed the one you've already fixed in newer versions. Charles -- ------------------------------------------------------------------ Charles Cazabon Software, consulting, and services available at http://pyropus.ca/ ------------------------------------------------------------------