User Tools

Site Tools


proxmox:troubleshooting:kernel_panic

Proxmox - Troubleshooting - Kernel Panic

Proxmox freezing with Kernel Panic.

This Kernel Panic seems to coincide with IO load.


Possible Solution

Navigate to the specific VM causing the issue.

  • Select the Hardware menu.
  • Select the Harddisk.
  • Changing cache from No cache to Write back
  • Select Memory menu.
  • Uncheck Ballooning device.

NOTE: As the Kernel Panic seems to coincide with IO load, another option is to try disabling io_uring.

  • With “cache=writeback” that is already the case, so it would seem to be a candidate of something that clearly changed in PVE 7.0.
  • To test, edit the VM config in /etc/pve/qemu-server/<vmid>.conf:
    • Add ,aio=native to the end of your disks (i.e. scsi0, sata0, etc…).
    • Verify by making sure qm showcmd 100 --pretty | grep io_uring does not show anything.

Solution - Install the latest amd64_microcode

Edit /etc/apt/sources.list, and add in

/etc/apt/sources.list
deb http://ftp.de.debian.org/debian bullseye main non-free

Install the AMD Microcode:

apt update
apt install amd64-microcode 

Reboot.


References

proxmox/troubleshooting/kernel_panic.txt · Last modified: 2021/07/24 17:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki