From nobody Sun Apr 24 13:30:12 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A2E7A1A8752A for ; Sun, 24 Apr 2022 13:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KmTXk0hRhz4tVr for ; Sun, 24 Apr 2022 13:30:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D13662710A for ; Sun, 24 Apr 2022 13:30:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23ODUCi3070509 for ; Sun, 24 Apr 2022 13:30:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23ODUC8N070508 for bugs@FreeBSD.org; Sun, 24 Apr 2022 13:30:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263407] RC3 Guided ZFS on root with encryption unmountable Date: Sun, 24 Apr 2022 13:30:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650807014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4yzV7nUJ8i2aeY5SpxgVoexHvCg0OCpBTVJrqVvCqyc=; b=WiKNCpRccuAxEXDraFuWOhDQTV3lM9NEjO3g0jGlA/Keol3QnhOKEalW7BdzGE4RiXdBFF c1o2vg3jcvVNHbXB4LAL3M8PSDry4IfkRNl0fMtcpBMOeDQJxGHoasdJzf880yGHIq2sd7 Fht5vVdDKQtbcvjz4BthXzKQQeiV1OOwlxuRGZCsnXdc99YQYrSwXd564fqEGnKWWlEZaA XhnAdofMAfZEzpBcrViqX7PZGynrv3pLdEFMBMmpkuhGGjNcoITNmXYgi/obR/VfzdN3/5 5ScumL7BhH0BnPUbtN5ePMR2ivxzHz2xXLVQuFjWe4+uXqCOkWetGmfrfbszVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650807014; a=rsa-sha256; cv=none; b=HiLeOSyf4rngo87j81fx4pCBEMNKyzYp2zUai0xBK6Ebn/gU4PkXFtg8GNwgDOJzeXr72E E77nG7B+MPULHjUUJ/xLUcbsI6itWXN9XDSUc9iqG1anu+d7OvkosrBkg7LUw9idnld3T5 51jlUdfbFGD03S5TR7ROzZj6ACfN1AV49qCjeDDBiehP3lU0mcoHEgBN1ZAi85pVlIjrVx UwK4OhqwNRS4obV22Kp9VH5cu7SV4dIjCv4Bkm+8gkPl2QB31JGvIXwOQXR5t8NCfNUE22 sFYSHWjdCaYqaO5bImxZbYeGlvUf7Ifbho8tYvz86mcO0Xu+xtjB3TyR5qx5zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263407 --- Comment #26 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9a1efa766781c9dd1eb5975ce3a5c8a64= d89cd18 commit 9a1efa766781c9dd1eb5975ce3a5c8a64d89cd18 Author: Kyle Evans AuthorDate: 2022-04-21 19:57:24 +0000 Commit: Kyle Evans CommitDate: 2022-04-24 03:49:22 +0000 stand: zfs: handle holes at the tail end correctly This mirrors dmu_read_impl(), zeroing out the tail end of the buffer and clipping the read to what's contained by the block that exists. This fixes an issue that arose during the 13.1 release process; in 13.1-RC1 and later, setting up GELI+ZFS will result in a failure to boot. The culprit is this, which causes us to fail to load geom_eli.ko as there's a residual portion after the single datablk that should be zeroed out. PR: 263407 Reviewed by: tsoome (cherry picked from commit 914dc91d12198352b7878a88d30e2a6373a936e1) stand/libsa/zfs/zfsimpl.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=