From nobody Wed Apr 20 21:13:00 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 CD10D13A5793 for ; Wed, 20 Apr 2022 21:13:00 +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 4KkD0X4bMTz3LlZ for ; Wed, 20 Apr 2022 21:13:00 +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 7E51D1B3F1 for ; Wed, 20 Apr 2022 21:13:00 +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 23KLD0iA012325 for ; Wed, 20 Apr 2022 21:13:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23KLD0uW012324 for bugs@FreeBSD.org; Wed, 20 Apr 2022 21:13:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www 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: Wed, 20 Apr 2022 21:13:00 +0000 X-Bugzilla-Reason: AssignedTo 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: mm@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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=1650489180; 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=u2Rvgl7tsJdzLdAAwDL/Zx7hI0W7TTkx1F3U6NpHqdo=; b=O3U+Vp+pf0h3bIPn1ID539OevTbBndN+hD7hawmXc6zFTNnFdlhnmnvTrwQrxYFfWx/yRA B8UGf3/umXPKr9eVoiMEasbjmPnJU+oT92wpvxPmLer6/5Z/5PDNjXoos2Dja7SyGSATfP zagzyTJzY4lhMGLXBQW/BmZyNDkx4fQ6YBmDuyp4KspvCByx6qfro5hQFb2Ht/O7YqDBtw Lj6IcZwjqMS7rKuExtqKBeH32rsKAw6GFu5vGVXwEs3+dEbgRVVaYJ8Smj/rRwGO+3A2Uf IIrryDVnf/eSSVYODqzvBiOu24MVpUKyQbJjmQMFQG+ALcAz5+P5DmJXD6Rdow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650489180; a=rsa-sha256; cv=none; b=P9KjOUP66TcYu3Rt9sipZgHZNiyOnkAhY17P2dnqkI0vlBDEP2LimlmcFDTspUUT6ZAHBG Uw6isIoOuhrNnx9OZuhpXyNwPxJBpC0lvAHi5CpyHtuOadY/nahU1VAtDYYSU4f8uDsIxP 6zGv1vf8ypdx3JvJfIhGM0P5RIFPbkDwn6oxGaNcNH5wflsh8Cw099n3f3PcL/PbDg6iQX bbEce2LcebJgXZK68ojcxr+OFDOFN6kCryh3bB0/0lhVbCN0KK5BUU5NoJjFm/WuvDQ9ib Cmbn2aGsFdnQVrTXsX0eo++vCOlGeOOHgDHT6UZN62VvSIvHXaImRMKBakPAfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263407 --- Comment #7 from Martin Matuska --- I have started debugging and here is my finding: There are no errors with 13.1-BETA3. But this doesn't mean it is "fine". When doing a 13.1-RC3 install with ZFS+GELI, the loader fails to load /boot/kernel/geom_eli.ko with the following error message: elf64_obj_loadimage: read section headers failed That way geom_eli.ko is not loaded and ZFS is of course unable to find the "zroot" pool when trying to mount root, because the geli device does not ex= ist. The file has the correct checksum. But the loader can't cope with it - unkn= own reason. You can load other modules. I have found this workaround: When you exit to shell after running the automated installer (before doing reboot) and do the following: cp /boot/kernel/geom_eli.ko /tmp rm /boot/kernel/geom_eli.ko cp /tmp/geom_eli.ko /boot/kernel/geom_eli.ko And then reboot, the system boots fine. Is this a problem in the ZFS support of our loader (not being able to read a specific file out of ZFS) or elsewhere? In BETA3, the geom_eli.ko might be just located on a different position on = the root pool and that why it is being read correctly by the loader. --=20 You are receiving this mail because: You are the assignee for the bug.=