Bug 291461 - 15.0 doesn't UEFI boot on HPE MicroServer, other reported machines
Summary: 15.0 doesn't UEFI boot on HPE MicroServer, other reported machines
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-RELEASE
Hardware: amd64 Any
: Normal Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-12-07 13:56 UTC by Mark Shroyer
Modified: 2026-05-22 08:02 UTC (History)
16 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Shroyer 2025-12-07 13:56:56 UTC
The 15.0 USB install media fails to boot on my HPE MicroServer Gen10 Plus while accessing the console over iLO: The loader runs, but when I choose "Boot Installer" (or "Boot Single user"), it prints only the following before the server instantaneously reboots:

---
Loading kernel...
/boot/kernel/kernel text=0x1865e8 text=0xdbf5d4 text=0x4474db data=0x180+0xe80 data=0x1972e0+0x468d20 0x8+0x1949a0+0x8+0x1b90eb|
Loading configured modules...
can't find '/etc/hostid'
can't find '/boot/entropy'
staging 0x57800000 (not copying) tramp 0x6f5fe000 PT4 0x6f5f5000
Start @ 0xffffffff80387000 ...
Loading splash ok
EFI framebuffer information:
addr, size     0x84000000, 0x300000
dimensions     1024 x 768
stride         1024
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---

Another user on the forums reports the same problem after upgrading their MicroServer: https://forums.freebsd.org/threads/15-0-install-media-not-booting-on-hpe-microserver-gen10-plus.100566/post-730590

Things I've found experimenting with this:

- It boots in BIOS mode.
- copy_staging disable has no effect.
- Setting console="comconsole" works if I have a virtual serial port attached. And not only does that provide a functioning serial console, but the iLO console works too in that case.
- Setting console="eficom" seems to work intermittently?

The 14.3 install media boots fine for me.  I'm running the latest available system firmware (U48 v3.70) and iLO 5 (3.17) on this machine.
Comment 1 Hshh 2025-12-08 07:48:48 UTC
My Dell R610 server cannot boot 15.0‑RELEASE when using EFI. When I try to boot the ISO via iDRAC in EFI mode, the kernel restarts immediately after loading, so no error messages are visible. It boots fine in BIOS mode, and in EFI mode it can boot when using `console="eficom"`.

Before I saw this bug report, this caused continuous automatic reboots after upgrading from 14.3R to 15.0R. The system running 14.3R worked fine.
Comment 2 Mark Shroyer 2025-12-11 03:53:00 UTC
I've bisected this to commit 70253b538f68f2787d5913702337eb600799a3c3

https://cgit.freebsd.org/src/commit/?id=70253b538f68f2787d5913702337eb600799a3c3

Its parent commit boots normally on my MicroServer. My test procedure was:

(clone FreeBSD src)
make buildworld
make buildkernel
cd release
make clean
make obj
make bootonly.iso
Comment 3 Mark Shroyer 2025-12-15 04:42:34 UTC
On further investigation, here's what I know so far:

Commit 70253b538f68f2787d5913702337eb600799a3c3 causes the loader to look up my serial console's info from ACPI SPCR, setting the boot environment variable:

hw.uart.console=db:8,dt:ns8250,mm:0,rs:-4,rw:1,pa:none,br:115200,xo=0

As of 15.0-RELEASE, this setting results in what I assume is a kernel panic, causing my server to instantaneously reboot.  However, manually recreating this same setting does *not* cause 14.3 to crash; I've separately bisected the crash-and-instantly-reboot behavior, when in the presence of this hw.uart.console setting, to commit eae36de826cc6fde3a78b1febad824dad20e004d

https://cgit.freebsd.org/src/commit/?id=eae36de826cc6fde3a78b1febad824dad20e004d

I'm happy to debug further, but I could use some advice on where to go from here.  I've been unable to get a kernel crash dump, so far, by setting dumpdev to a swap device in the loader.

(But FYI I'll be traveling for the holidays over the next couple weeks, and will have limited access to this hardware until Jan 1st.)
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2025-12-15 16:17:57 UTC
^Triage: Cc: two committers referenced in the Audit-Trail.
Comment 5 Joel Pelaez Jorge 2025-12-19 23:13:42 UTC
I have the same issue with a HPE ProLiant MicroServer Gen10 Plus V2, I had update FreeBSD from 14.3 to 15.0 on the release day, but I haven't update the /boot/efi/efi/freebsd/loader.efi until few days ago, and the server don't boot.

I could boot setting console="eficom" and built a custom loader.efi, I changed the variable name hw.uart.console to noref.hw.uart.console for saving generated variable but allowing the system to boot up.

The value was this: hw.uart.console="db:8,dt:ns8250,mm:0,rs:-4,rw:1,pa:none,br:115200,xo=0"

I checked the two commits found by Mark and I tried to replicate a reversal for commit eae36de826cc6fde3a78b1febad824dad20e004d with this hw.uart.console value: "db:8,dt:ns8250,mm:0,rs:-4,rw:0,pa:none,br:115200,xo:0" on loader command line but I got the strange reboot cycle again.

I don't have iLO enabled, so the server boots using the video console, but it tries to detect the uart console and configure it.
Comment 6 Michael Dexter freebsd_triage 2026-01-13 01:37:45 UTC
Thank you for reporting *and* investigating this!

This issue appears to impact more systems than just the MicroServer, notably my HPE DL325 EPYC, a client ML110, presumably ML350, and more according to colleagues.

Could others please test and chime in? I invite you to update the title as appropriate and I am happy to assist.

This is a serious issue.
Comment 7 Warner Losh freebsd_committer freebsd_triage 2026-01-13 15:55:46 UTC
maybe this is a duplicate of 292206 which was fixed in:

commit d82698ac68c23d856716dc9f6524b9ef363d7eba
Author: Jarmo Jaakkola <jarmo.jaakkola@roskakori.fi>
Date:   Wed Jan 7 22:14:56 2026 -0700

    loader.efi: Only use SPCR if enabled.

    SerialPort in the SPCR is zeroed when serial redirection is disabled,
    rather than the SPCR being omitted from the ACPI tables ony many
    systems. Check to see that SerialPort.Address is non-zero before using.

    FreeBSD would fail to boot on systems that could have a serial port
    redireciton, but don't have it enabled because the loader would create a
    bogus hw.uart.console. While one could unset this value to boot, you
    couldn't do that automatically very easily. Instead, don't even look
    at the SPCR table if the SerialPort is zero'd.

    PR: 292206
    MFC After: 3 days
    Sponsored by: Netflix
    Co-authored-by: Warner Losh <imp@FreeBSD.org>
    Closes:  https://github.com/freebsd/freebsd-src/pull/1948

Maybe cherry-pick to stable/15 and/or releng/15.0 and rebuild loader.efi and see if that restores functionality.
Comment 8 Warner Losh freebsd_committer freebsd_triage 2026-01-13 15:56:41 UTC
I haven't had time to MFC that, and I'll bump the priority if this is fixed by that...
Comment 9 Joel Pelaez Jorge 2026-01-13 16:30:51 UTC
I made a cherry-pick to releng/15.0 (15.0-RELEASE-p1) and I compiled only loader_lua.efi, copied it to /boot/efi/efi/freebsd/loader.efi and my HPE ProLiant MicroServer Gen10 Plus V2 reboots fine.
Comment 10 commit-hook freebsd_committer freebsd_triage 2026-01-13 17:22:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=4faf0e7a8a20a7ddda25d965e68587401dbf8f79

commit 4faf0e7a8a20a7ddda25d965e68587401dbf8f79
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-01-13 17:18:50 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-01-13 17:19:42 +0000

    15.0/errata: Document loader hanging regression

    PR:             291461
    Reported by:    imp, michaeldexter

 website/content/en/releases/15.0R/errata.adoc | 4 ++++
 1 file changed, 4 insertions(+)
Comment 11 Michael Dexter freebsd_triage 2026-01-13 17:44:42 UTC
Thank you!
Comment 12 Hshh 2026-01-13 18:03:24 UTC
After applying this patch https://cgit.freebsd.org/src/commit/?id=34c94bee0cee0cbf67e14d47809acc751fca8da5 , the Dell R610 now boots normally.
Comment 13 Mark Shroyer 2026-01-13 21:45:16 UTC
I can also confirm that cherry-picking d82698ac68c23d856716dc9f6524b9ef363d7eba onto release/15.0.0-p1 yields a bootonly.iso that boots normally on my MicroServer Gen10 Plus (V1).

Thanks for the follow-up and the pointer to bug #292206.  Also thanks to the others who tested on their own hardware.
Comment 14 Dave Cottlehuber freebsd_committer freebsd_triage 2026-01-14 23:53:21 UTC
I have built a memstick (and base.txz + kernel.txz) for those who want to test but can't
build their own, and put it up at

https://people.freebsd.org/~dch/tmp/2d3be247a7eb9ba686175ad1e9dd69caa1d266a1/ from https://git.sr.ht/~dch/src/log/fix/uefi-loader

For production usage you are better off using either a 15-STABLE or waiting for 15.1-RELEASE https://www.freebsd.org/releng/
Comment 15 Michael Dexter freebsd_triage 2026-01-17 07:42:25 UTC
In testing DCH's patched 15.0-RELEASE memstick and the most recent 16.0-CURRENT snapshot, the HPE DL325 Gen 10 EPYC boots and this issue appears to be resolved.

Thank you for attending to it!
Comment 16 Simon Wollwage freebsd_triage 2026-01-17 15:25:20 UTC
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292206
Comment 17 Michael Osipov freebsd_committer freebsd_triage 2026-05-22 08:02:35 UTC
Is this issue specific to AMD CPUs?