git: b4cb3fe0e39a - main - loader: implement mount/unmount rootfs

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Mon Sep 20 19:46:19 UTC 2021


On Wed, 8 Sep 2021, Toomas Soome wrote:

> The branch main has been updated by tsoome:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=b4cb3fe0e39a31e60292018dc9fb7510b3de92bf
>
> commit b4cb3fe0e39a31e60292018dc9fb7510b3de92bf
> Author:     Toomas Soome <tsoome at FreeBSD.org>
> AuthorDate: 2021-08-12 05:45:52 +0000
> Commit:     Toomas Soome <tsoome at FreeBSD.org>
> CommitDate: 2021-09-08 01:01:20 +0000
>
>    loader: implement mount/unmount rootfs
>
>    We want to keep our root file system open to preserve bcache segment
>    between file accesses, thus reducing physical disk IO.
>
>    Reviewed by:    imp, allanjude, kevans (previous version)
>    Differential Revision:  https://reviews.freebsd.org/D30848
>    MFC after:      1 month


This makes netbooting on at least one of my arm64 impossible:

------------------------------------------------------------------------
Consoles: serial port
     Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/arm64 EFI loader, Revision 1.1
(Mon Sep 20 13:12:35 UTC 2021 root at localhost)

    Command line arguments: loader.efi
    Image base: 0xeb7e9000
    EFI version: 2.70
    EFI Firmware: EDK II (rev 1.00)
    Console: comconsole (0)
    Load Path:
    Load Device: MAC(xxxxxxxxxxxx,0x1)/IPv4(0.0.0.0)
    BootCurrent: 0004
    BootOrder: 0000 0001 0002 0003 0008 0004[*] 0005 0006 0007
    BootInfo Path: MAC(xxxxxxxxxxxx,0x1)/IPv4(0.0.0.0)
Ignoring Boot0004: Only one DP found
Setting currdev to net0:


Synchronous Exception at 0x00000000EB8217A8

------------------------------------------------------------------------

I've backed out this change and rebuild and things boot fine again.

Any idea what I could try?


/bz

-- 
Bjoern A. Zeeb                                                     r15:7


More information about the dev-commits-src-all mailing list