Hot-plugged memory cannot be initialized linux

Start a Linux VM with the hotplug turned on, and try to increase the amount of RAM for it.app

As a result, the memory will fail to be initialized in the guest OS. The following errors will appear in the dmesg output:less

Hotplug Mem Device
init_memory_mapping: 0000000020000000-0000000040000000
0020000000 - 0040000000 page 2M
kacpi_notify: page allocation failure. order:9, mode:0x80d0
Pid: 17, comm: kacpi_notify Not tainted 2.6.32-71.el6.x86_64 #1
Cause
The issue is with the vanilla Linux kernel and depends on the initial RAM amount of the virtual machine.ide

The greater the amount of RAM available to the virtual machine initially, the less probability there is of the issue occurring.rem

The issue with memory remapping on the RAM hotplug has been fixed since the release of the 2.6.38 kernel.it

Resolution
Upgrade the kernel in your guest OS to a version equal to or higher than 2.6.38.
Workaround
Avoid adding huge amounts of memory to virtual machines with small amounts of memory.io

轉自https://virtuozzosupport.force.com/s/article/000015743class

相關文章
相關標籤/搜索