[Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Jun 2021 20:56:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209821 David Sebek <dasebek@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #225333|0 |1 is obsolete| | --- Comment #41 from David Sebek <dasebek@gmail.com> --- Created attachment 225480 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225480&action=edit [PATCH] efi: loader: Fix a boot freeze on some amd64 systems Fix an issue when the boot process could freeze shortly after displaying EFI framebuffer information on some amd64 systems. Instead of calling the efi_copy_finish function from amd64_tramp, include the copy instructions in the trampoline code itself. This avoids boot hangs and restarts in the cases when the EFI loader code and/or data segments happen to be located at a memory location that is overwritten during the copy process. Also, add missing return value checks. Add a new function that prints a warning message if there is a danger that the bootloader may attempt to overwrite memory pages of a type that should not be overwritten. -- You are receiving this mail because: You are the assignee for the bug.