Table of Contents

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.

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

https://packages.debian.org/bullseye/amd64-microcode