Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 12:01:52 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        Toomas Soome <tsoome@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: b4cb3fe0e39a - main - loader: implement mount/unmount rootfs
Message-ID:  <20210921120152.a76525d0849640320b2b156e@bidouilliste.com>
In-Reply-To: <alpine.BSF.2.00.2109201944540.68830@ai.fobar.qr>
References:  <202109081249.188CncXF065953@gitrepo.freebsd.org> <alpine.BSF.2.00.2109201944540.68830@ai.fobar.qr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Sep 2021 19:46:07 +0000 (UTC)
"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> wrote:

> 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@FreeBSD.org>
> > AuthorDate: 2021-08-12 05:45:52 +0000
> > Commit:     Toomas Soome <tsoome@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@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

 Same thing for me on u-boot based systems :

Consoles: EFI
console Reading loader env vars
from /efi/freebsd/loader.env FreeBSD/arm64 EFI loader, Revision
1.1 
   Command line arguments:
loader.efi Image base:
0xfbde0000 EFI version:
2.80 EFI Firmware: Das U-Boot (rev
8225.1792) Console: comconsole
(0) Load
Path: /aarch64\loader.efi Load
Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(86e0c0eafaa9,1)
Setting currdev to net0: Speed: 1000, full
duplex net0: cannot set rx. filters
(status=3) "Synchronous Abort" handler, esr
0x96000004 elr: fffffffffd0f1b9c lr : fffffffffd0effb4
(reloc) elr: 00000000fbe37b9c lr :
00000000fbe35fb4 x0 : fbee447500000000 x1 :
0000000000000020 x2 : 0000000000000001 x3 :
00000000fbee4452 x4 : 0000000000000073 x5 :
0000000000000050 x6 : 00000000fbe357a4 x7 :
0000000000000000 x8 : fbee447500000000 x9 :
fbee447500000000 x10: 0000000000000000 x11:
00000000fbee3b86 x12: 0000000000000000 x13:
0000000000000000 x14: 0000000000000000 x15:
0000000000000000 x16: 0000000000000000 x17:
0000000000000000 x18: 0000000000000000 x19:
0000000000000020 x20: 00000000fbf05df8 x21:
0000000000000000 x22: 0000000000000000 x23:
fbee447500000000 x24: 0000000000000000 x25:
00000000fbf079b0 x26: 00000000fbee4453 x27:
00000000fbf079b0 x28: 00000000fbee79ee x29:
00000000fbf05d50 
Code: 8b090100 d65f03c0 927df009 aa0903e8
(f840850b) UEFI image [0x00000000fbde0000:0x00000000fbf14e9f]
pc=0x57b9c '/aarch64\loader.efi' Resetting CPU ...

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210921120152.a76525d0849640320b2b156e>