فهرست منبع

pkg: fedora: Disable wrong NX compatibility flag

On Fedora the kernel needs to be loaded into RWX memory by GRUB.
If it is loaded from non-writable memory, it will crash and freeze
the machine at the Microsoft logo.

Unsetting this flag will cause GRUB to allocate RWX memory for the
kernel.

Note: This won't fix the stock kernels or the installation image.
Dorian Stoll 1 سال پیش
والد
کامیت
3d3ce1ab74
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      pkg/fedora/kernel-surface/configs/fedora.config

+ 6 - 1
pkg/fedora/kernel-surface/configs/fedora.config

@@ -6,4 +6,9 @@
 ## The build fails because this is not enabled in the config set for RHEL,
 ## but enabled automatically by one of our patches.
 ##
-CONFIG_VIDEO_V4L2_SUBDEV_API=y
+CONFIG_VIDEO_V4L2_SUBDEV_API=y
+
+##
+## Disable (wrong) NX compatibility flag.
+##
+# CONFIG_EFI_DXE_MEM_ATTRIBUTES is not set