[Bug 256722] [PATCH] EFI boot: Fix boot freeze on some systems

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Aug 2021 13:14:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256722

--- Comment #5 from David Sebek <dasebek@gmail.com> ---
(In reply to Graham Perrin from comment #4)
Given that the improvements added by the patch D31121 are disabled by default,
I think that patch D30828 is still relevant. The latest 14-CURRENT build fails
to boot on my laptop unless copy_staging is manually disabled.

Moreover, the patch D30828 adds some missing return value checks and warns if
it detects a buffer overflow or if the boot loader accesses a reserved memory
range.

However, the patch will need some improvements. I found that it does not detect
a scenario when a loaded kernel module (such as an image created by mfsbsd) is
larger than the staging area size (64 megabytes).

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