[SOLVED] VMs won't boot after CPU upgrade

j4ys0n

Well-Known Member
Jan 15, 2020
38
7
48
Hello!

Last night I upgraded the CPU in one of my servers. From Ryzen 3600 to Ryzen 5900 and now my VMs won't boot. Along with this, I had to update the board BIOS to support the new CPU. The 5900 CPU seems to have enabled a few new options in the BIOS, but I mostly left settings as default. This is something I've done a few times over the years, but there seems to be an issue with the 5000 series CPU?

Proxmox seems to boot up just fine. No errors that I see. This server is running: Linux 5.0.21-5-pve #1 SMP PVE 5.0.21-10 (Wed, 13 Nov 2019 08:27:10 +0100).

Errors I'm seeing on the Ubuntu 18 VM:

[FAILED] Failed to activate swap / swapfile.
[FAILED] Failed to mount Mount unit for gnome-characters, revision 708.
[FAILED] Failed to mount Mount unit for gnome-3-28-1804, revision 145.
[FAILED] Failed to mount Kernel Configuration File System.
pcieport 0000:00:1c.3: pciehp: Failed to check link status

Machine type is q35. Bios is UEFI. I've also tried installing Ubuntu 20 with the default machine type and bios (i440fx & SeaBIOS), similar issues - won't boot.

I'm seeing all of the drives mounted when I'm in the maintenance mode terminal.

Is it worth updating Proxmox? Will that make a difference?

Any ideas are welcome.

Thank you!!
 
Hi,

This server is running: Linux 5.0.21-5-pve #1 SMP PVE 5.0.21-10 (Wed, 13 Nov 2019 08:27:10 +0100).
You're running a quite outdated version, the default kernel in Proxmox VE 6.4 is currently the 5.4.106 one.
I think that most of your problems stems from the "acient" kernel.

Further, as Ryzen 5900 is a relatively new platform it may help you a lot if you opt-in the 5.11 kernel we made available recently:
Bash:
# refersh repositories
apt update
# do full-upgrade first
apt full-upgrade
# install opt in 5.11 based kernel series
apt install pve-kernel-5.11
 
Bingo - that did it! I thought maybe it was because the CPU is newer than the OS version I was running.

Thank you!