From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zYbGe3qOgxvf for ; Fri, 5 Aug 2011 16:52:30 +0200 (CEST) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 5 Aug 2011 16:52:30 +0200 (CEST) Received: from gatewagner.dyndns.org (84-74-166-21.dclient.hispeed.ch [84.74.166.21]) by v4.tansi.org (Postfix) with ESMTPA id 144EF206039 for ; Fri, 5 Aug 2011 16:52:30 +0200 (CEST) Date: Fri, 5 Aug 2011 16:52:29 +0200 From: Arno Wagner Message-ID: <20110805145229.GB15345@tansi.org> References: <4E3B5378.2070003@redhat.com> <4E3BFB4F.9050508@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E3BFB4F.9050508@redhat.com> Subject: Re: [dm-crypt] How can a passphrase be incorrect even after `luksHeaderBackup` and `luksHeaderRestore`? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, Aug 05, 2011 at 04:16:47PM +0200, Milan Broz wrote: > On 08/05/2011 02:11 PM, Paul Menzel wrote: > >> No, as from the output above, I do not see the same problem. What > >> could be the reason for this difference in behaviour? > > > > On #lvm Milan suggested that the problem lies with the new drive > > having some misalignment > > I have checked the dump and there is clear corruption of first keyslot > (0x1000 - 0x1400 offset). > > I'll try to find the source of problem now. > > Milan Hi Milan, just a thought: May this be a stray v1.2 RAID/md superblock? They are at 4k offset from the device start according to this: https://raid.wiki.kernel.org/index.php/RAID_superblock_formats Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier