Router hangs at UEFI boot during 23.05 upgrade (loader.efi)
-
BLUF: UEFI Boot hang during upgrade from 23.01 to 23.05
Hardware: Qotom-T4005P
- x64 CPU: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz (1696.14-MHz K8-class CPU)
- RAM: 4GB
- NIC: Intel em0 + em1
em0: <Intel(R) Gigabit CT 82574L> port 0xe000-0xe01f mem 0xf7d00000-0xf7d1ffff,0xf7d20000-0xf7d23fff irq 18 at device 0.0 on pci2
em1: <Intel(R) Gigabit CT 82574L> port 0xd000-0xd01f mem 0xf7c00000-0xf7c1ffff,0xf7c20000-0xf7c23fff irq 19 at device 0.0 on pci3 - Disk: 120GB SATA SSD
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <SATA SSD S9FM02.8> ACS-3 ATA SATA 3.x device
System would hang 100% of the time in the UEFI boot sequence when normally I would see a loader menu presented to the user at the console. Instead, a quick flash (unreadable) while loader was initializing, then the screen just displayed a single [] block and hung.
Troubleshooting: Using FreeBSD 13.2 USB install media, I booted (using UEFI) into a "Live CD" environment, and mounted my pfsense boot drive. I first tried renaming loader.conf and nextboot.conf, and this just changed the "visibility" of the boot sequence (now displays pf logo in ascii art). I backed up the 23.05 "/boot/loader.efi" as "/boot/loader.efi.bad", found the backup of the previous loader under the name "/boot/loader.efi.pkgsave", and copied this to "/boot/loader.efi". Reboot, and the system booted UEFI without significant issue (visual artifacts still linger in boot menu, but it works).
I am willing to do some A/B testing to help debug as desired by the dev team, but something in the boot loader/menu sequence is not happy on my hardware. I can put this into redmine bug tracker as desired.
Attached upgrade log as requested.
upgrade_log.latest.txtgpart show:
=> 40 250069600 ada0 GPT (119G)
40 409600 1 efi (200M)
409640 240762880 2 freebsd-ufs (115G)
241172520 8388608 3 freebsd-swap (4.0G)
249561128 508512 - free - (248M)