PVE更新CPU微码彻底解决N5105的VM死机问题

之前闲逛PVE论坛发现新的进展,解决方案就是更新Intel的CPU微码至0x24000024。进行操作之后,所有VM已经稳定运行快20天了,没有再出现死机或重启的现象。

1.安装intel-microcode

1
2
3
apt update
apt install intel-microcode
reboot

重启后用dmesg -T | grep microcode命令确认intel-microcode版本是0x24000023

1
2
[Wed Mar 29 23:56:48 2023] microcode: microcode updated early to revision 0x24000023, date = 2022-02-19
[Wed Mar 29 23:56:49 2023] microcode: sig=0x906c0, pf=0x1, revision=0x24000023

2.手动继续更新

1
2
3
4
5
6
7
apt update
apt install unzip
wget https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/main.zip
unzip main.zip -d MCU
cp -r /root/MCU/Intel-Linux-Processor-Microcode-Data-Files-main/intel-ucode/. /lib/firmware/intel-ucode/
update-initramfs -u
reboot

重启后用之前的命令确认intel-microcode版本是0x24000024

1
2
[Thu Mar 30 14:22:27 2023] microcode: microcode updated early to revision 0x24000024, date = 2022-09-02
[Thu Mar 30 14:22:28 2023] microcode: sig=0x906c0, pf=0x1, revision=0x24000024

更新完毕。