Hi, I just updated my promox host after quite some time of it running stable and me traveling (so better not touch a running system). During update, I saw the following error:
Kernel modules where thereafter only compiled for an older kernel:
After seeing this, I did install the meta package pve-headers. DKMS didn't run again. Do I need to do anything else in oder to have kernel modules compiled for the new kernel?
Thanks!
Code:
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
run-parts: executing /etc/kernel/postinst.d/dkms 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
dkms: running auto installation service for kernel 5.15.74-1-pve:Error! Your kernel headers for kernel 5.15.74-1-pve cannot be found.
Please install the linux-headers-5.15.74-1-pve package,
or use the --kernelsourcedir option to tell DKMS where it's located
.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
update-initramfs: Generating /boot/initrd.img-5.15.74-1-pve
Kernel modules where thereafter only compiled for an older kernel:
Code:
Setting up linux-headers-5.10.0-19-amd64 (5.10.149-2) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-19-amd64:
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...(bad exit status: 2)
make -j64 KERNELRELEASE=5.10.0-19-amd64 all KPVER=5.10.0-19-amd64...
cleaning build area...(bad exit status: 2)
DKMS: build completed.
mst_pci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.10.0-19-amd64/updates/dkms/
mst_pciconf.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.10.0-19-amd64/updates/dkms/
depmod...
DKMS: install completed.
After seeing this, I did install the meta package pve-headers. DKMS didn't run again. Do I need to do anything else in oder to have kernel modules compiled for the new kernel?
Thanks!