Page MenuHomeFreeBSD

loader.efi: add error printouts for chain command
Needs ReviewPublic

Authored by tsoome on May 1 2025, 7:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 6:35 AM
Unknown Object (File)
Sep 16 2025, 10:16 PM
Unknown Object (File)
Sep 7 2025, 11:29 PM
Unknown Object (File)
Sep 7 2025, 11:25 PM
Unknown Object (File)
Sep 1 2025, 10:05 AM
Unknown Object (File)
Aug 29 2025, 6:05 PM
Unknown Object (File)
Aug 27 2025, 12:39 PM
Unknown Object (File)
Aug 26 2025, 5:21 PM
Subscribers

Details

Reviewers
manu
Summary

Current loader.efi chain command can fail with mysterious
"LoadImage failed" or "StartImage failed". Since the error codes
may have multiple causes, print out the UEFI error codes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63815
Build 60699: arc lint + arc unit

Event Timeline

tsoome requested review of this revision.May 1 2025, 7:37 AM
stand/efi/loader/main.c
1907

Shouldn't we be also setting command_errmsg?
I'm confused why you removed that...

1924

Either remove (void) entirely, or remove the space between it and the function call.