To avoid failures when the large 18MB nvidia.ko module is being loaded,
increase EFI_STAGING_SIZE from 64MB to 150MB for x64 systems. Leave others at 64MB.
This also allows space for a kernel built with ubsan.
Details
Details
I created a VM and copied over my /boot/loader.conf from my desktop system, along with /boot/modules/nvidia.ko and /boot/modules/nvidia-modeset.ko.
Without this change, I saw elf64_obj_load errors, and either nvidia.ko would fail to load, or it would load and other modules wouldn't load. After applying this patch, all modules were successfully loaded and boot proceeded normally.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 25073 Build 23780: arc lint + arc unit