[Bug 238856] EFI_STAGING_SIZE can be too small with large kernel and/or modules: should be dynamic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 27 20:24:18 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238856

            Bug ID: 238856
           Summary: EFI_STAGING_SIZE can be too small with large kernel
                    and/or modules: should be dynamic
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: bcran at FreeBSD.org

On UEFI systems, the loader copies the kernel and modules into an area of
memory sized according to EFI_STAGING_SIZE. At 64MB it's _just_ too small for a
desktop system which includes the nvidia.ko and nvidia-modeset.ko modules,
while for a kernel built with ubsan it's far too small.

The code should be updated to size the staging area dynamically based on the
kernel and modules the user has requested to load.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list