Bug 269919 - Cannot boot GENERIC-KASAN kernel
Summary: Cannot boot GENERIC-KASAN kernel
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 18:20 UTC by Austin Shafer
Modified: 2023-03-03 00:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Austin Shafer 2023-03-02 18:20:23 UTC
I'm having issues getting past the loader stage while trying to boot a GENERIC-KASAN kernel on a Legion 5 laptop (FreeBSD 14.0-CURRENT #1 main-n261043-357492c99597). The kernel is loaded, zfs.ko is loaded, then it hangs for a few seconds and prints out:

efi_check_space: Unable to expand staging area

This gets printed a couple of times, then the EFI frambuffer location is printed, then the boot hangs.

I've tried bumpin the EFI_STAGING_AREA size to 512, and also to a ridiculously high number, but that doesn't seem to do anything. I also tried reverting the fix for PR 265019, but that didn't change anything either.

Any suggestions? Anyone else seeing something like this?
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2023-03-02 22:17:54 UTC
Do you have an up-to-date copy of the EFI loader installed?  In particular, you'll want to have at least https://cgit.freebsd.org/src/commit/?id=9a964ad56182740ea09b87f7e6db4197c6756e48