RHEL 9 unable to boot with memory set more than 32GB

Oct 9, 2024
3
0
1
VM Settings:
vCPU: 4
Memory: 32GB
OS: RHEL9

Issue: VM not able to boot with kernel panic error if memory set to 32GB, but if memory set =< 28GB then VM able to boot normally. Please refer attachments.

Action taken:
1) edit /etc/default/grub, add memhp_default_state=online in GRUB_CMDLINE_LINUX
run # grub2-mkconfig -o /boot/grub2/grub.cfg and reboot
(Result = VM not able to up)

2) Change processors type = host
(Result = VM not able to up)

3)Disable NUMA, Disable hotplug for memory & cpu.
(Result = VM able to up)

Please help advise which config need to change to ensure vm able to boot with NUMA & hotplug enabled.
 

Attachments

  • 32gbvm.png
    32gbvm.png
    25.3 KB · Views: 10
  • kernelpanic.png
    kernelpanic.png
    146.5 KB · Views: 10
Seems to be something very RedHat specific... Ubuntu runs normally with it.
Which Kernel version does your RHEL use?
 
Virtualization: kvm
Operating System: Red Hat Enterprise Linux 9.4 (Plow)
CPE OS Name: cpe:/o:redhat:enterprise_linux:9::baseos
Kernel: Linux 5.14.0-427.37.1.el9_4.x86_64
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009_
Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
 
Virtualization: kvm
Operating System: Red Hat Enterprise Linux 9.4 (Plow)
CPE OS Name: cpe:/o:redhat:enterprise_linux:9::baseos
Kernel: Linux 5.14.0-427.37.1.el9_4.x86_64
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009_
Firmware Version: rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org
This should basically work... do you have an ISO for me where I can test this?
 
I've tested an Rocky Linux 9.4, what is normally the same like Rhel.
Kernel 5.14.0-427.18.1.el9_4.x86_64

I've configured 32, 36, 40GB Memory. And it was working fine. But i had this machine configured with UEFI and TPM. Unfortunately, I don't know if it has anything to do with that, but I could imagine that with Rhel.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!