Re: Updating EFI boot loader results in boot hangup

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sat, 20 Aug 2022 06:24:00 UTC
From: Yasuhiro Kimura <yasu@FreeBSD.org>
Subject: Re: Updating EFI boot loader results in boot hangup
Date: Tue, 16 Aug 2022 12:01:42 +0900 (JST)

>>> I made regular update of my 14-CURRENT amd64 system from
>>> main-n257134-a69c0964625 to main-n257316-9d16275c65b. I also updated
>>> EFI boot loader (/boot/efi/efi/freebsd/loader.efi) but it results in
>>> boot hangup as following.
>>> 
>>> https://people.freebsd.org/~yasu/FreeBSD-14-CURRENT-amd64-20220813-boot-hangup.png
>>> 
>>> If I restore previous loader file (that is, loader.efi of
>>> main-n257134-a69c0964625 and kernel of main-n257316-9d16275c65b), then
>>> system boots successfully.
>> 
>> I submitted the problem to FreeBSD Bugzilla.
>> 
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265825
>> 
>> Best Regards.
> 
> d98de744050 is committed. So I tested it with following steps.
> 
> 1. Check out the commit.
> 2. cd /usr/src/stand
> 3. make
> 4. make install
> 5. install -m 755 -p /boot/loader.efi /boot/efi/efi/freebsd
> 6. shutdown -r now
> 
> And system boots successfully. But while efi loader is workding a lot
> of messages are displayed as following.
> 
> https://people.freebsd.org/~yasu/FreeBSD-14-CURRENT-amd64.20220816.efi-loader-message.png

Today I made regular weekly update to main-n257521-97be6fced7d and now
loader.efi works fine without extra messages.

---
Yasuhiro Kimura