From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (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 ; Wed, 22 Jun 2016 09:28:04 +0200 (CEST) Received: by mail-lf0-x244.google.com with SMTP id l188so12028772lfe.0 for ; Wed, 22 Jun 2016 00:28:03 -0700 (PDT) References: From: Milan Broz Message-ID: Date: Wed, 22 Jun 2016 09:28:01 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] luksAddKey hangs for ~85 minutes and then fails List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joe Hillenbrand Cc: dm-crypt@saout.de 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