From nobody Tue Oct 10 22:38:30 2023 X-Original-To: freebsd-arm@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 4S4rR92vs9z4wQmb for ; Tue, 10 Oct 2023 22:38:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4rR910y2z4KbY for ; Tue, 10 Oct 2023 22:38:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-533f193fc8dso10919181a12.2 for ; Tue, 10 Oct 2023 15:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1696977521; x=1697582321; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WuSR5xSm6yay3dQESI0j1sCrTEMaDtHQ4dU65eCv7ao=; b=uyV6SwsSxVmadUUUfx3R8Y5TfO7hvqpHPWZR0O3ymTeXh5ZZ7I5xPrGhjBjZvxtuJx qxsWOvtdk6GkmsKw14UQtKjBETzbWfkMcUhU76VtEgPVXsTi9YJwwRDy9imUoq/Lb/h2 r1csm37z9Rp7fpOVwQZPGCUKS/KVCBjEUqjlOMYS+tFOGiVBJuubO8W0xXBRqVDNkVUE FWMbvKTMjvNLpiKgFhKBxr5WeKTzC27OqJrb8KFkWjav9M94t61gQADa0xuM5aHEZVkj Opo8RzTmkM12CY/kmbOYiZkTdbCBuz1trGsp0h0nWsVYkiMIB8LVeiyCYmnR0PFPAIiO W+Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696977521; x=1697582321; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WuSR5xSm6yay3dQESI0j1sCrTEMaDtHQ4dU65eCv7ao=; b=Mp/R8L/HhHXmSs+nuXZJa9h4fZEzblvKQFMUpyw6XLv5rKCf0tVkW8rXRbRbNkESAZ /1FNK+qconGyKki5XvMVinmOcPMVdw4znZoCUn3pBt1QJPMzcyuylxaX+7CCWlSwpuME W6aF+bB+OYF/mwvmRlvwmLLNnQ0NCVHjpQbRvCh3KTiayJbvhsar57iNcDhMQ8Jj3hV5 yRVndJHKcLG7Yx/CxsdGsvLdx/SRDcPhkF3YfnvrQsIZHIkOH/DdMDDYoe83t1MN3nRp QeZ0IKtNdq4BscZjW/liBBHL3/SORhKWJbGNjFyFUGK5nSjoM+1wobyz0ZGLb3S6ud3U 0QXg== X-Gm-Message-State: AOJu0YyS/MNrM8ycI10V9ligiNSrMiCqsVXvx+2heH5RXGN5Qbs0Mwoo wx/pcv35LqVbvoXoXR7r57zIMtSG8RZ3Hr7SIZCiN+8hNcItBmtCzZY= X-Google-Smtp-Source: AGHT+IH/RwcZyg1YCUATCh5lNZQQmSRKSYHohibIOGG4ZGtXkAKluNA0wRLhuMWyAbKTgmC8gJKhgps3liGBjIt0Rgk= X-Received: by 2002:a17:906:5188:b0:9a5:c9a4:ba1b with SMTP id y8-20020a170906518800b009a5c9a4ba1bmr20271343ejk.8.1696977521531; Tue, 10 Oct 2023 15:38:41 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <2b19e489-b3cc-4363-a523-e6ac8e27cdfd@denninger.net> In-Reply-To: <2b19e489-b3cc-4363-a523-e6ac8e27cdfd@denninger.net> From: Warner Losh Date: Tue, 10 Oct 2023 16:38:30 -0600 Message-ID: Subject: Re: unable to boot latest 14-stable To: Karl Denninger Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="0000000000005cee8b0607645e5e" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4S4rR910y2z4KbY --0000000000005cee8b0607645e5e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable And upgrading ZFS systems requires a new loader.efi when going between major versions.... ... assuming that one did a zpool upgrade... Warner On Tue, Oct 10, 2023 at 4:36=E2=80=AFPM Karl Denninger = wrote: > The EFI partition (which is where the loader is) does not get updated by > "installworld" or "installkernel" > On 10/10/2023 18:26, void wrote: > > Source upgrade from 14.0-STABLE #0 stable/14-n265273-803f088147d3: Sat Se= p > 30 12:48:08 BST 2023 to 14.0-STABLE on rpi4/8GB as of a few hrs ago > > results in the following on reboot: > > Consoles: EFI console GELI Passphrase for disk0p3: > Calculating GELI Decryption Key for disk0p3: 422818 iterations... > ZFS: unsupported feature: com.delphix:head_errlog > ZFS: pool zroot is not supported > Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk0p1: > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > Image base: 0x39af6000 > EFI version: 2.80 > EFI Firmware: Das U-Boot (rev 8225.1792) > Console: efi (0x1000) > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3= )/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,1112f34d-6695-11ed-9a74-dca6= 32e248fc,0x28,0x82000) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3= )/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,1112f34d-6695-11ed-9a74-dca6= 32e248fc,0x28,0x82000) > Setting currdev to disk0p1: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3= )/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(2,GPT,1112f34d-6695-11ed-9a74-dca6= 32e248fc,0x82800,0x1800000) > Setting currdev to disk0p2: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3= )/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(3,GPT,1112f34d-6695-11ed-9a74-dca6= 32e248fc,0x1882800,0x72e84000) > Setting currdev to ERROR: cannot open /boot/lua/loader.lua: no > such file or directory. > > > Type '?' for a list of commands, 'help' for more detailed help. > OK > How to fix? Boot from standard media and upgrade the zpool? > Is it a zpool issue? Some other problem? > > -- > Karl Denninger > karl@denninger.net > *The Market Ticker* > *[S/MIME encrypted email preferred]* > --0000000000005cee8b0607645e5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
And upgrading ZFS systems requires a new loader.efi when g= oing between major versions....

... assuming that one di= d a zpool upgrade...

Warner

On Tue, Oct 10, 2= 023 at 4:36=E2=80=AFPM Karl Denninger <karl@denninger.net> wrote:
=20 =20 =20

The EFI partition (which is where the loader is) does not get updated by "installworld" or "installkernel"

On 10/10/2023 18:26, void wrote:
Source upgrade from 14.0-STABLE #0 stable/14-n265273-803f088147d3: Sat Sep 30 12:48:08 BST 2023 to 14.0-STABLE on rpi4/8GB as of a few hrs ago

results in the following on reboot:

Consoles: EFI console=C2=A0 GELI Passphrase for disk0p3:
Calculating GELI Decryption Key for disk0p3: 422818 iterations...
ZFS: unsupported feature: com.delphix:head_errlog
ZFS: pool zroot is not supported
=C2=A0=C2=A0=C2=A0 Reading loader env vars from /efi/freebsd/loader.e= nv
=C2=A0=C2=A0=C2=A0 Setting currdev to disk0p1:
=C2=A0=C2=A0=C2=A0 FreeBSD/arm64 EFI loader, Revision 1.1

=C2=A0=C2=A0=C2=A0 Command line arguments: loader.efi
=C2=A0=C2=A0=C2=A0 Image base: 0x39af6000
=C2=A0=C2=A0=C2=A0 EFI version: 2.80
=C2=A0=C2=A0=C2=A0 EFI Firmware: Das U-Boot (rev 8225.1792)
=C2=A0=C2=A0=C2=A0 Console: efi (0x1000)
=C2=A0=C2=A0=C2=A0 Load Path: /efi\boot\bootaa64.efi
=C2=A0=C2=A0=C2=A0 Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/= UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,1112f34d-6695-11ed-9a74-dca632= e248fc,0x28,0x82000)
=C2=A0=C2=A0=C2=A0 Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/= UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,1112f34d-6695-11ed-9a74-dca632= e248fc,0x28,0x82000)
=C2=A0=C2=A0=C2=A0 Setting currdev to disk0p1:
=C2=A0=C2=A0=C2=A0 Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/= UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(2,GPT,1112f34d-6695-11ed-9a74-dca632= e248fc,0x82800,0x1800000)
=C2=A0=C2=A0=C2=A0=C2=A0 Setting currdev to disk0p2:
=C2=A0=C2=A0=C2=A0=C2=A0 Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x3)/= UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(3,GPT,1112f34d-6695-11ed-9a74-dca632= e248fc,0x1882800,0x72e84000)
=C2=A0=C2=A0=C2=A0=C2=A0 Setting currdev to =C2=A0=C2=A0=C2=A0=C2=A0 = ERROR: cannot open /boot/lua/loader.lua: no such file or directory.


Type '?' for a list of commands, 'help' for more deta= iled help.
OK
How to fix? Boot from standard media and upgrade the zpool?
Is it a zpool issue? Some other problem?

--
Karl Denninger
karl@denninge= r.net
The Market Ticker
[S/MIME encrypted email preferred]
--0000000000005cee8b0607645e5e--