Re: kernel update broke -current

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 04 Sep 2022 19:07:17 UTC
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.
> <