From owner-freebsd-bugs@freebsd.org Wed Mar 23 19:05:05 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7836ADB962 for ; Wed, 23 Mar 2016 19:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FDE21219 for ; Wed, 23 Mar 2016 19:05:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2NJ55XX015139 for ; Wed, 23 Mar 2016 19:05:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208251] [regression] Bogus passphrase prompts after r296963 on system with slices Date: Wed, 23 Mar 2016 19:05:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fk@fabiankeil.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 19:05:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208251 Bug ID: 208251 Summary: [regression] Bogus passphrase prompts after r296963 on system with slices Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: fk@fabiankeil.de Keywords: regression After r296963 (tested with a system based on r297146), I get additional, but bogus password prompts while booting from a disk with the following layout: fk@r500 ~ $gpart show =3D> 63 488397105 ada0 MBR (233G) 63 488397105 1 freebsd [active] (233G) =3D> 0 488397105 ada0s1 BSD (233G) 0 16 - free - (8.0K) 16 2097152 1 !0 (1.0G) 2097168 4194304 2 freebsd-swap (2.0G) 6291472 482105633 4 !0 (230G) ada0s1d is geli-encrypted and contains the system's ZFS pool. ada0s1a is the unencrypted boot partition (UFS) which also holds a geli keyfile for ada0s1d. Instead of asking for the passphrase for ada0s1d, the new passphrase prompt asks for a passphrase for disk0p1, presumably because the geli metadata on ada0s1d is misinterpreted as metadata for ada0s1. Entering the correct passphrase results in the message "Bad GELI key: -1" and the prompt is repeated. After three failed attempts I get the passphrase prompt from the loader (due to geom_eli_passphrase_prompt=3D"YES") and the system boots fine. My other systems use a GPT layout and continue to work as expected. --=20 You are receiving this mail because: You are the assignee for the bug.=