Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2022 13:07:17 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        void <void@f-m.fm>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: kernel update broke -current
Message-ID:  <CANCZdfq795hEv4D2%2BBye9xjTYVEDm4saQ9AQ-ZGE54tOUtZq5A@mail.gmail.com>
In-Reply-To: <f4c3a9c0-36c5-4fbc-abaf-b8631d497ac7@www.fastmail.com>
References:  <f4c3a9c0-36c5-4fbc-abaf-b8631d497ac7@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000bc945405e7deaca6
Content-Type: text/plain; charset="UTF-8"

On Sun, Sep 4, 2022, 11:47 AM void <void@f-m.fm> wrote:

> Hi,
>
> Attempting to update the kernel (system runs -current) with a new device
> in the
> kernel config.
>
> I did the following:
>
> updated current sources via git
> make kernel
> rebooted
>
> Is this recoverable without yanking the disk and inserting it into another
> freebsd machine?
>
> here's the console output
> #######
> U-Boot 2021.07 (Jan 20 2022 - 05:11:26 +0000)
>
> DRAM:  7.9 GiB
> RPI 4 Model B (0xd03114)
> MMC:   mmc@7e300000: 3, emmc2@7e340000: 0
> Loading Environment from FAT... In:    serial
> Out:   serial
> Consoles: EFI console
> ZFS: unsupported feature: com.delphix:head_errlog
> ZFS: pool zroot is not supported
>

You need a newer boot loader...

Warner

    Reading loader env vars from /efi/freebsd/loader.env
> Setting currdev to disk0p1:
> FreeBSD/arm64 EFI loader, Revision 1.1
> (Thu Jan 20 08:13:38 UTC 2022 root@releng1.nyi.freebsd.org)
>
>    Command line arguments: loader.efi
>    Image base: 0x39af7000
>    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,9e17b13d-7a4e-11ec-9206-dca632e248fc,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,9e17b13d-7a4e-11ec-9206-dca632e248fc,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,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x82800,0x2000000)
> 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,9e17b13d-7a4e-11ec-9206-dca632e248fc,0x2082800,0x72684000)
> Setting currdev to
> ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
> <

--000000000000bc945405e7deaca6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Sun, Sep 4, 2022, 11:47 AM void &lt;<a href=3D"mail=
to:void@f-m.fm">void@f-m.fm</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">Hi,<br>
<br>
Attempting to update the kernel (system runs -current) with a new device in=
 the <br>
kernel config. <br>
<br>
I did the following:<br>
<br>
updated current sources via git<br>
make kernel<br>
rebooted<br>
<br>
Is this recoverable without yanking the disk and inserting it into another<=
br>
freebsd machine?<br>
<br>
here&#39;s the console output<br>
#######<br>
U-Boot 2021.07 (Jan 20 2022 - 05:11:26 +0000)<br>
<br>
DRAM:=C2=A0 7.9 GiB<br>
RPI 4 Model B (0xd03114)<br>
MMC:=C2=A0 =C2=A0mmc@7e300000: 3, emmc2@7e340000: 0<br>
Loading Environment from FAT... In:=C2=A0 =C2=A0 serial<br>
Out:=C2=A0 =C2=A0serial<br>
Consoles: EFI console=C2=A0 <br>
ZFS: unsupported feature: com.delphix:head_errlog<br>
ZFS: pool zroot is not supported<br></blockquote></div></div><div dir=3D"au=
to"><br></div><div dir=3D"auto">You need a newer boot loader...</div><div d=
ir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=3D"auto"=
><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
=C2=A0 =C2=A0 Reading loader env vars from /efi/freebsd/loader.env<br>
Setting currdev to disk0p1:<br>
FreeBSD/arm64 EFI loader, Revision 1.1<br>
(Thu Jan 20 08:13:38 UTC 2022 <a href=3D"mailto:root@releng1.nyi.freebsd.or=
g" target=3D"_blank" rel=3D"noreferrer">root@releng1.nyi.freebsd.org</a>)<b=
r>
<br>
=C2=A0 =C2=A0Command line arguments: loader.efi<br>
=C2=A0 =C2=A0Image base: 0x39af7000<br>
=C2=A0 =C2=A0EFI version: 2.80<br>
=C2=A0 =C2=A0EFI Firmware: Das U-Boot (rev 8225.1792)<br>
=C2=A0 =C2=A0Console: efi (0x1000)<br>
=C2=A0 =C2=A0Load Path: /efi\boot\bootaa64.efi<br>
=C2=A0 =C2=A0Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbC=
lass(0x0,0x0,0x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17=
b13d-7a4e-11ec-9206-dca632e248fc,0x28,0x82000)<br>
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0=
x9,0x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(1,GPT,9e17b13d-7a4e-11ec=
-9206-dca632e248fc,0x28,0x82000)<br>
Setting currdev to disk0p1:<br>
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0=
x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(2,GPT,9e17b13d-7a4e-11ec-920=
6-dca632e248fc,0x82800,0x2000000)<br>
Setting currdev to disk0p2:<br>
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0=
x0,0x3)/UsbClass(0x125f,0xa15a,0x0,0x0,0x0)/HD(3,GPT,9e17b13d-7a4e-11ec-920=
6-dca632e248fc,0x2082800,0x72684000)<br>
Setting currdev to <br>
ERROR: cannot open /boot/lua/loader.lua: no such file or directory.<br>
&lt;
</blockquote></div></div></div>

--000000000000bc945405e7deaca6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfq795hEv4D2%2BBye9xjTYVEDm4saQ9AQ-ZGE54tOUtZq5A>