Update to 8.2: Failed DKMS autoinstall of IXGBE 5.19.9

mcraven

New Member
Jan 17, 2024
10
2
3
I have an auto install of Intel's 5.19.9 driver setup via DKMS to properly support the x553 NICs in my system. Seems the new 6.8.4-2-pve kernel isn't completing the setup... I've rolled back to my previous kernel. I'm guessing that temp disabling the DKMS autoinstall, retrying the kernel setup will fix the problem... then I can manually do the driver install to fix any issues before trying the DKMS route again.

I'm learning and don't want to tinker blindly. Can I politely ask someone with more experience to confirm and provide details correct steps?

Code:
Building module:
Cleaning build area...
BUILD_KERNEL=6.8.4-2-pve make -C src/ KERNELDIR=/lib/modules/6.8.4-2-pve/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.4-2-pve (x86_64)
Consult /var/lib/dkms/ixgbe/5.19.9/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.8.4-2-pve failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
 
I have an auto install of Intel's 5.19.9 driver setup via DKMS to properly support the x553 NICs in my system. Seems the new 6.8.4-2-pve kernel isn't completing the setup... I've rolled back to my previous kernel. I'm guessing that temp disabling the DKMS autoinstall, retrying the kernel setup will fix the problem... then I can manually do the driver install to fix any issues before trying the DKMS route again.
Probably you need to get updated drivers from Intel. This is a very common problem and is a reason to avoid buying devices that are not directly supported by the Linux kernel.

It _might_ be the case that if you just remove the DKMS drivers that the 6.8 kernel will have support for your NIC. New stuff gets added all the time. Maybe someone else who uses that card can weigh in.
 
Last edited:
Probably you need to get updated drivers from Intel. This is a very common problem and is a reason to avoid buying devices that are not directly supported by the Linux kernel.

It _might_ be the case that if you just remove the DKMS drivers that the 6.8 kernel will have support for your NIC. New stuff gets added all the time. Maybe someone else who uses that card can weigh in.
Noted about supported hardware. That said, x553 was working till update to Proxmox 8.2 from 8.1. As I said, learning. :(

You maybe correct in that there does seem to be a newer 5.20.3 driver available. At this point, the node is booting via the previous kernel. I'm hoping I can get some help to get the new kernel to build and be bootable WITHOUT the DKMS autoinstall. I can try to manually install the drivers later and revisit DKMS.

how can I disable the DKMS system and "reset" the Proxmox kernel upgrade to allow the setup to successfully complete? No matter what I try, the upgrade seems to be trying to compile the 5.19.9 and failing out.

Code:
Building module:
Cleaning build area...
BUILD_KERNEL=6.8.4-2-pve make -C src/ KERNELDIR=/lib/modules/6.8.4-2-pve/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.4-2-pve (x86_64)
Consult /var/lib/dkms/ixgbe/5.19.9/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.8.4-2-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/proxmox-kernel-6.8.4-2-pve-signed.postinst line 20.
dpkg: error processing package proxmox-kernel-6.8.4-2-pve-signed (--configure):
 installed proxmox-kernel-6.8.4-2-pve-signed package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-kernel-6.8:
 proxmox-kernel-6.8 depends on proxmox-kernel-6.8.4-2-pve-signed | proxmox-kernel-6.8.4-2-pve; however:
  Package proxmox-kernel-6.8.4-2-pve-signed is not configured yet.
  Package proxmox-kernel-6.8.4-2-pve is not installed.
  Package proxmox-kernel-6.8.4-2-pve-signed which provides proxmox-kernel-6.8.4-2-pve is not configured yet.

dpkg: error processing package proxmox-kernel-6.8 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-default-kernel:
 proxmox-default-kernel depends on proxmox-kernel-6.8; however:
  Package proxmox-kernel-6.8 is not configured yet.

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

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 proxmox-kernel-6.8.4-2-pve-signed
 proxmox-kernel-6.8
 proxmox-default-kernel
 proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
It has been a long time since I used dkms.

There should be a "dkms.conf" file in /usr/src/ixgbe-5.19.9 or wherever the module source is installed. You could try setting "AUTOINSTALL=no" in there.

The "dkms remove" command can be used to disable the module altogether, but of course that is a little risky in that you might lose your network connectivity. See "man dkms" for details on dkms.

ETA: Maybe the right answer is to download the updated package, then remove the old one, then install the new one only if the new kernel does not work with your hardware. The driver package should have instructions.
 
Last edited:

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!