Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2023 16:38:30 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Karl Denninger <karl@denninger.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: unable to boot latest 14-stable
Message-ID:  <CANCZdfrK02S6=3zRSghQCVDj8z6gctw0Z32hWSiYAKyHWep1eg@mail.gmail.com>
In-Reply-To: <2b19e489-b3cc-4363-a523-e6ac8e27cdfd@denninger.net>
References:  <ZSXPnTXAdSJYrBDX@int21h> <2b19e489-b3cc-4363-a523-e6ac8e27cdfd@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <karl@denninger.net>=
 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

<div dir=3D"ltr">And upgrading ZFS systems requires a new loader.efi when g=
oing between major versions....<div><br></div><div>... assuming that one di=
d a zpool upgrade...</div><div><br></div><div>Warner</div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Oct 10, 2=
023 at 4:36=E2=80=AFPM Karl Denninger &lt;<a href=3D"mailto:karl@denninger.=
net">karl@denninger.net</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><u></u>

 =20
   =20
 =20
  <div>
    <p>The EFI partition (which is where the loader is) does not get
      updated by &quot;installworld&quot; or &quot;installkernel&quot;<br>
    </p>
    <div>On 10/10/2023 18:26, void wrote:<br>
    </div>
    <blockquote type=3D"cite">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
      <br>
      <br>
      results in the following on reboot:
      <br>
      <br>
      Consoles: EFI console=C2=A0 GELI Passphrase for disk0p3: <br>
      Calculating GELI Decryption Key for disk0p3: 422818 iterations...
      <br>
      ZFS: unsupported feature: com.delphix:head_errlog
      <br>
      ZFS: pool zroot is not supported
      <br>
      =C2=A0=C2=A0=C2=A0 Reading loader env vars from /efi/freebsd/loader.e=
nv
      <br>
      =C2=A0=C2=A0=C2=A0 Setting currdev to disk0p1:
      <br>
      =C2=A0=C2=A0=C2=A0 FreeBSD/arm64 EFI loader, Revision 1.1
      <br>
      <br>
      =C2=A0=C2=A0=C2=A0 Command line arguments: loader.efi
      <br>
      =C2=A0=C2=A0=C2=A0 Image base: 0x39af6000
      <br>
      =C2=A0=C2=A0=C2=A0 EFI version: 2.80
      <br>
      =C2=A0=C2=A0=C2=A0 EFI Firmware: Das U-Boot (rev 8225.1792)
      <br>
      =C2=A0=C2=A0=C2=A0 Console: efi (0x1000)
      <br>
      =C2=A0=C2=A0=C2=A0 Load Path: /efi\boot\bootaa64.efi
      <br>
      =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)<br>
      =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)<br>
      =C2=A0=C2=A0=C2=A0 Setting currdev to disk0p1:
      <br>
      =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)<br>
      =C2=A0=C2=A0=C2=A0=C2=A0 Setting currdev to disk0p2:
      <br>
      =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)<br>
      =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.
      <br>
      <br>
      <br>
      Type &#39;?&#39; for a list of commands, &#39;help&#39; for more deta=
iled help.
      <br>
      OK <br>
      How to fix? Boot from standard media and upgrade the zpool?
      <br>
      Is it a zpool issue? Some other problem?
      <br>
      <br>
    </blockquote>
    <div>-- <br>
      Karl Denninger<br>
      <a href=3D"mailto:karl@denninger.net" target=3D"_blank">karl@denninge=
r.net</a><br>
      <i>The Market Ticker</i><br>
      <font size=3D"-2"><i>[S/MIME encrypted email preferred]</i></font></d=
iv>
  </div>

</blockquote></div>

--0000000000005cee8b0607645e5e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrK02S6=3zRSghQCVDj8z6gctw0Z32hWSiYAKyHWep1eg>