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

next in thread | previous in thread | raw e-mail | index | archive | help


> On 21. Sep 2021, at 13:01, Emmanuel Vadot <manu@bidouilliste.com> =
wrote:
>=20
> On Mon, 20 Sep 2021 19:46:07 +0000 (UTC)
> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> wrote:
>=20
>> On Wed, 8 Sep 2021, Toomas Soome wrote:
>>=20
>>> The branch main has been updated by tsoome:
>>>=20
>>> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3Db4cb3fe0e39a31e60292018dc9fb7510=
b3de92bf
>>>=20
>>> 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
>>>=20
>>>   loader: implement mount/unmount rootfs
>>>=20
>>>   We want to keep our root file system open to preserve bcache =
segment
>>>   between file accesses, thus reducing physical disk IO.
>>>=20
>>>   Reviewed by:    imp, allanjude, kevans (previous version)
>>>   Differential Revision:  https://reviews.freebsd.org/D30848
>>>   MFC after:      1 month
>>=20
>>=20
>> This makes netbooting on at least one of my arm64 impossible:
>>=20
>> =
------------------------------------------------------------------------
>> 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)
>>=20
>>    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:
>>=20
>>=20
>> Synchronous Exception at 0x00000000EB8217A8
>>=20
>> =
------------------------------------------------------------------------
>>=20
>> I've backed out this change and rebuild and things boot fine again.
>>=20
>> Any idea what I could try?
>>=20
>>=20
>> /bz
>>=20
>> --=20
>> Bjoern A. Zeeb                                                     =
r15:7
>=20
> Same thing for me on u-boot based systems :


Ye, it seems to be the same issue, UEFI netboot is broken, =
investigating.

sorry,
toomas

>=20
> Consoles: EFI
> console Reading loader env vars
> from /efi/freebsd/loader.env FreeBSD/arm64 EFI loader, Revision
> 1.1=20
>   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=3D3) "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=20
> Code: 8b090100 d65f03c0 927df009 aa0903e8
> (f840850b) UEFI image [0x00000000fbde0000:0x00000000fbf14e9f]
> pc=3D0x57b9c '/aarch64\loader.efi' Resetting CPU ...
>=20
> --=20
> 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?FB6B6B77-FAD5-4109-9BFC-BD07A9115951>