RHEL7.3: Kernel panic when booted with 9TB of RAM
When my machine has 8TB of physical memory, I can successfully boot RHEL 7.3 from the PXE network. However, when I continue to add physical memory, like 9TB, the kernel crashes during startup, and the log shows the following error:
[ 6.182769] Node 0 DMA: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.193391] Node 0 DMA32: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.204183] Node 0 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.215059] Node 1 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.225937] Node 2 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.236827] Node 3 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.247705] Node 4 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.258585] Node 5 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.269471] Node 6 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.280344] Node 7 Normal: 04kB 08kB 016kB 032kB 064kB 0128kB 0256kB 0512kB 01024kB 02048kB 04096kB = 0kB
[ 6.291223] 0 total pagecache pages
[ 6.294716] 0 pages in swap cache
[ 6.298035] Swap cache stats: add 0, delete 0, find 0/0
[ 6.303259] Free swap = 0kB
[ 6.306147] Total swap = 0kB
[ 6.562941] vmalloc: allocation failure, allocated 1257156608 of 4294971392 bytes
[ 6.570418] swapper/0: page allocation failure: order:0, mode:0x20
[ 6.576598] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.0-514.el7.x86_64 #1
I can successfully switch to RHEL 8.2 PXE boot on the same machine. Do I need to modify the kernel parameters related to memory allocation, and how can I modify them?
hdm.log is the log file for the kernel crash that occurred when the physical memory was 9TB, while hdm_succ.log is the log file for the successful boot when the physical memory was 8TB.