mirror of
https://git.proxmox.com/git/pve-edk2-firmware
synced 2025-08-17 10:11:37 +00:00
![]() Because of a long-standing bug in shim [0], booting will fail for
distibutions that do not include the fix yet, like Rocky Linux 9.5
and other CentOS-based distibutions. This is cased by the addition
of the EFI_MEMORY_ATTRIBUTE_PROTOCOL in edk2 commit efaa102d00
("UefiCpuPkg: Produce EFI memory attributes protocol") for x86_64.
Even with the fix in shim, issues in commonly shipped versions of GRUB
remain [1].
This is relatively recent, i.e. in the edk2-stable202502 tag, and
since current non-minor distributions are still affected, revert the
problematic commit for now.
Once issues are less common in distributions, an option to support
disabling it (via fw_cfg on the QEMU command line) can still be added
[1]. Then, it can also be nicely documented as a known issue while
giving users guidance.
There already is a similar patch for ARM [2] inherited from the Debian
upstream version.
The problematic commit is EFI_MEMORY_ATTRIBUTE_PROTOCOL was added for x86_64 recently in the
edk2-stable202502 tag. Since current non-minor distributions are still
affected, a revert is done for now.
[0]:
|
||
---|---|---|
.. | ||
ArmVirtPkg-disable-the-EFI_MEMORY_ATTRIBUTE-protocol.patch | ||
brotlicompress-disable.diff | ||
no-stack-protector-all-archs.diff | ||
Revert-ArmVirtPkg-make-EFI_LOADER_DATA-non-executabl.patch | ||
Revert-UefiCpuPkg-Produce-EFI-memory-attributes-prot.patch | ||
series | ||
x64-baseline-abi.patch |