[SOLVED] Node does not boot with Kernel 6.2.16-3

Dec 6, 2022
55
19
13
We updated our first node to ProxMox VE 8.0.
When we try to start the node, it just hangs at the line

"Loading Linux 6.2.16-3-pve"

After showing this line, it doesn't do anything anymore.
When we boot in the Linux Kernel 6.1.15-2.pve Kernel.
Then everything works fine.

Also the failed boot attemp did not show up in the log. (journalctl -k -b -1)

It seems like the update process didn't exit cleanly.
Because if we rerun the "apt dist-upgrade" command, the folowing output is showing up

Bash:
root@proxh5:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  dctrl-tools g++-10 libfmt7 libstdc++-10-dev libthrift-0.13.0 libtiff5 libwebp6 linux-compiler-gcc-10-x86 linux-headers-5.10.0-21-amd64 linux-headers-5.10.0-21-common linux-headers-5.10.0-23-amd64
  linux-headers-5.10.0-23-common linux-kbuild-5.10 pve-headers-5.15.102-1-pve pve-headers-5.15.104-1-pve pve-headers-5.15.83-1-pve pve-kernel-5.15 pve-kernel-5.15.102-1-pve pve-kernel-5.15.104-1-pve
  pve-kernel-5.15.83-1-pve pve-kernel-5.19.17-1-pve pve-kernel-6.1.0-1-pve python-pastedeploy-tpl telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up pve-kernel-6.2.16-3-pve (6.2.16-3) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.2.16-3-pve /boot/vmlinuz-6.2.16-3-pve
dkms: running auto installation service for kernel 6.2.16-3-pve.
Sign command: /lib/modules/6.2.16-3-pve/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j32 KERNELRELEASE=6.2.16-3-pve all KPVER=6.2.16-3-pve...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.2.16-3-pve (x86_64)
Consult /var/lib/dkms/kernel-mft-dkms/4.22.1/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.2.16-3-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-6.2.16-3-pve.postinst line 20.
dpkg: error processing package pve-kernel-6.2.16-3-pve (--configure):
 installed pve-kernel-6.2.16-3-pve package post-installation script subprocess returned error exit status 2
Setting up linux-headers-6.1.0-9-amd64 (6.1.27-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...(bad exit status: 2)
make -j32 KERNELRELEASE=6.1.0-9-amd64 all KPVER=6.1.0-9-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64)
Consult /var/lib/dkms/kernel-mft-dkms/4.22.1/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-9-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-9-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-9-amd64 (--configure):
 installed linux-headers-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of pve-kernel-6.2:
 pve-kernel-6.2 depends on pve-kernel-6.2.16-3-pve; however:
  Package pve-kernel-6.2.16-3-pve is not configured yet.

dpkg: error processing package pve-kernel-6.2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-headers-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-kernel-6.2; however:
  Package pve-kernel-6.2 is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-kernel-6.2.16-3-pve
 linux-headers-6.1.0-9-amd64
 pve-kernel-6.2
 linux-headers-amd64
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)


I don't know where to start to get rid of this errors, because i don't know which bzuild area it tries to clean up:


Cleaning build area...(bad exit status: 2)
make -j32 KERNELRELEASE=6.2.16-3-pve all KPVER=6.2.16-3-pve...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.2.16-3-pve (x86_64)




What i also find strange, is that there are no "linux-header" packages for the kernel 6.2

Bash:
root@proxh5:~# apt search linux-headers-6.1
Sorting... Done
Full Text Search... Done
linux-headers-6.1.0-9-amd64/stable,now 6.1.27-1 amd64 [installed,automatic]
  Header files for Linux 6.1.0-9-amd64

linux-headers-6.1.0-9-cloud-amd64/stable 6.1.27-1 amd64
  Header files for Linux 6.1.0-9-cloud-amd64

linux-headers-6.1.0-9-common/stable,now 6.1.27-1 all [installed,automatic]
  Common header files for Linux 6.1.0-9

linux-headers-6.1.0-9-common-rt/stable 6.1.27-1 all
  Common header files for Linux 6.1.0-9-rt

linux-headers-6.1.0-9-rt-amd64/stable 6.1.27-1 amd64
  Header files for Linux 6.1.0-9-rt-amd64

root@proxh5:~# apt search linux-headers-6.2
Sorting... Done
Full Text Search... Done
root@proxh5:~#
 
Thank you very much !

apt remove kernel-mft-dkms did get rid of the errors.
Like in the user in the other thread, i installed the modul to update the firmware of my melanox cards.

I will test to restart the computer with the new Kernel tomorrow, when i am back at the production site.
 

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!