I built and installed the latest Kernel (v5.4) from source (downloaded from Linux repo).
(我从源代码(从Linux存储库下载)中构建并安装了最新的内核(v5.4)。)
(我按照此处说明的步骤进行操作:)
https://www.cyberciti.biz/tips/compiling-linux-kernel-26.html
(https://www.cyberciti.biz/tips/compiling-linux-kernel-26.html)
I used make menuconfig but did not make any change to default values.
make menuconfig
(我使用了make menuconfig但未对默认值进行任何更改。)
(完成所有步骤后,我重新启动,但在启动时出现黑屏错误:)
Physical KASLR disabled: no suitable memory region! (物理KASLR已禁用:没有合适的存储区!)
Physical KASLR disabled: no suitable memory region!
(物理KASLR已禁用:没有合适的存储区!)
I`m using ubuntu 19.10 with deafult Kernel 5.3.0-23-generic.
(我正在将Ubuntu 16.10与默认的内核5.3.0-23一起使用。)
Here is some info and sth I did to solve thie problem:
(这是我为解决此问题所做的一些信息和其他信息:)
> cat /boot/config-5.3.0-23-generic | grep CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_BASE=y > cat /boot/config-5.4.0+ | grep CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_BASE=y
I changed the Grub according to https://askubuntu.com/questions/1000525/kaslr-disabled-could-not-find-suitable-e820-region but nothing happened.
(我根据https://askubuntu.com/questions/1000525/kaslr-disabled-could-not-find-suitable-e820-region更改了Grub,但没有任何反应。)
Here is my first experience in building the kernel.
(这是我第一次构建内核。)
(如果您能帮助我,我将非常感激。)
2.1m questions
2.1m answers
60 comments
57.0k users