Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752667AbbDSREj (ORCPT ); Sun, 19 Apr 2015 13:04:39 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:34267 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302AbbDSREh convert rfc822-to-8bit (ORCPT ); Sun, 19 Apr 2015 13:04:37 -0400 MIME-Version: 1.0 In-Reply-To: <20150417223848.GD4028@redhat.com> References: <20150417223848.GD4028@redhat.com> From: =?ISO-8859-1?Q?Murilo_Opsfelder_Ara=FAjo?= Date: Sun, 19 Apr 2015 14:03:56 -0300 Message-ID: Subject: Re: Device mapper failed to open temporary keystore device To: Mike Snitzer Cc: Linux Kernel Mailing List , Alasdair Kergon , dm-devel@redhat.com, Herbert Xu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2203 Lines: 54 On Fri, Apr 17, 2015 at 7:38 PM, Mike Snitzer wrote: > On Fri, Apr 17 2015 at 4:11pm -0400, > Murilo Opsfelder Ara?jo wrote: > >> Hello, everyone. >> >> Right after I enter my passphrase to unlock my cryptsetup partition, >> it displays the following error and asks for cryptsetup password again >> (it got stuck on this loop). >> >> This issue was introduced in next-20150413. next-20150410 is working just fine. >> >> Any hint on how to debug this? >> >> Unlocking the disk /dev/disk/by-uuid/ (sda5_crypt) >> Enter passphrase: ***** >> [ 244.239821] device-mapper: table: 252:0: crypt: Error allocating crypto tfm >> device-mapper: reload ioctl on failed: No such file or directory >> Failed to open temporary keystore device. >> device-mapper: remove ioctl on temporary-cryptsetup-239 failed: No >> such device or address >> device-mapper: reload ioctl on temporary-cryptsetup-239 failed: No >> such device or address >> device-mapper: remove ioctl on temporary-cryptsetup-239 failed: No >> such device or address >> device-mapper: remove ioctl on temporary-cryptsetup-239 failed: No >> such device or address >> device-mapper: remove ioctl on temporary-cryptsetup-239 failed: No >> such device or address >> device-mapper: remove ioctl on temporary-cryptsetup-239 failed: No >> such device or address > > git diff next-20150410^..next-20150413 drivers/md/dm-crypt.c points to > this commit as the nly dm-crpt.c change: > https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=5977907937afa2b5584a874d44ba6c0f56aeaa9c > > Which appears unrelated given your "crypt: Error allocating crypto tfm" > error. > > But any chance you can try reverting that commit from next-20150413 and > re-test just to be absolutely sure? Hello, Mike. I've reverted that commit from both next-20150413 and next-20150415. In both cases, I got the same error, no success. -- Murilo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/