PF_RING
PF_RING copied to clipboard
Failed to install ice-zc-dkms on HWE kernel
I get the following error while attepting to install ice-zc-dkms
Setting up ice-zc-dkms (1.12.7.8945) ...
Loading new ice-zc-1.12.7.8945 DKMS files...
Building for 5.15.0-97-generic
Building for architecture x86_64
Building initial module for 5.15.0-97-generic
Error! Build of intel_auxiliary.ko failed for: 5.15.0-97-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/ice-zc/1.12.7.8945/build/ for more information.
<b>dpkg:</b> error processing package ice-zc-dkms (--configure):
installed ice-zc-dkms package post-installation script subprocess returned error exit status 7
Processing triggers for libc-bin (2.31-0ubuntu9.14) ...
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
ice-zc-dkms
Here is what's inside ice-zc-dkms.0.crash
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.8945/build/ice_zc-vfio-pci.ko due to unavailability of vmlinux
BTF [M] /var/lib/dkms/ice-zc/1.12.7.8945/build/ice_zc.ko
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.8945/build/ice_zc.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-97-generic'
DKMSKernelVersion: 5.15.0-97-generic
Date: Tue Mar 5 14:57:28 2024
Package: ice-zc-dkms 1.12.7.8945
PackageVersion: 1.12.7.8945
SourcePackage: ice-zc-dkms
Title: ice-zc-dkms 1.12.7.8945: ice-zc kernel module failed to build
Please provide:
- full PF_RING version/revision
- OS version
@cardigliano
pfring-dkms/now 8.6.1.8935
pfring/now 8.6.1-8935
Operating System: Ubuntu 20.04.6 LTS
Kernel: Linux 5.15.0-94-generic
Architecture: x86-64
Please update to 8.6.1.8948
@cardigliano I did and I ran into the same issue
pfring-dkms/unknown,now 8.6.1.8948 all [installed,automatic]
pfring/unknown,now 8.6.1-8948 amd64 [installed]
Loading new ice-zc-1.12.7.8948 DKMS files...
Building for 5.15.0-94-generic 5.15.0-97-generic
Building for architecture x86_64
Building initial module for 5.15.0-94-generic
Error! Build of intel_auxiliary.ko failed for: 5.15.0-94-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/ice-zc/1.12.7.8948/build/ for more information.
dpkg: error processing package ice-zc-dkms (--configure):
installed ice-zc-dkms package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
ice-zc-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
BTF [M] /var/lib/dkms/ice-zc/1.12.7.8948/build/ice_zc-vfio-pci.ko
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.8948/build/ice_zc-vfio-pci.ko due to unavailability of vmlinux
BTF [M] /var/lib/dkms/ice-zc/1.12.7.8948/build/ice_zc.ko
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.8948/build/ice_zc.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-94-generic'
DKMSKernelVersion: 5.15.0-94-generic
Date: Wed Mar 6 15:13:38 2024
Package: ice-zc-dkms 1.12.7.8948
PackageVersion: 1.12.7.8948
SourcePackage: ice-zc-dkms
Title: ice-zc-dkms 1.12.7.8948: ice-zc kernel module failed to build
Please also try rebooting the system in case you got a kernel update
I tried that as well and no luck
I was trying to reproduce this in our lab, however is seems latest kernel update for Ubuntu 20 is 5.4.0-173, while you got 5.15.0-97...
@cardigliano I have been using the HWE kernel for Ubuntu 20 for a while now with ice-zc-dkm with no issues. This issue is quite recent
@cardigliano Another related question, Why does pfring-dkms is depended on linux-headers-generic ? I would expect it to compile against whatever kernel I've installed ? I got the same behavior when I installed it on Ubuntu 22.04 using kernel 6.5 (HWE). It installed 5.15 !!
@kirollosawad95 we released a drivers update to support kernel up to 6.8, could you check if they compile on your kernel now?
@cardigliano Same issue:
The following NEW packages will be installed:
ice-zc-dkms
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 0 B/864 kB of archives.
After this operation, 6.093 kB of additional disk space will be used.
Selecting previously unselected package ice-zc-dkms.
(Reading database ... 329815 files and directories currently installed.)
Preparing to unpack .../ice-zc-dkms_1.12.7.9214_all.deb ...
Unpacking ice-zc-dkms (1.12.7.9214) ...
Setting up ice-zc-dkms (1.12.7.9214) ...
Loading new ice-zc-1.12.7.9214 DKMS files...
Building for 5.15.0-113-generic
Building for architecture x86_64
Building initial module for 5.15.0-113-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/ice-zc-dkms.0.crash'
Error! Build of intel_auxiliary.ko failed for: 5.15.0-113-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/ice-zc/1.12.7.9214/build/ for more information.
dpkg: error processing package ice-zc-dkms (--configure):
installed ice-zc-dkms package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
ice-zc-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
MODPOST /var/lib/dkms/ice-zc/1.12.7.9214/build/Module.symvers
CC [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc-vfio-pci.mod.o
CC [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc.mod.o
LD [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc-vfio-pci.ko
LD [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc.ko
BTF [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc-vfio-pci.ko
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc-vfio-pci.ko due to unavailability of vmlinux
BTF [M] /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc.ko
Skipping BTF generation for /var/lib/dkms/ice-zc/1.12.7.9214/build/ice_zc.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-107-generic'
DKMSKernelVersion: 5.15.0-107-generic
Date: Mon Jul 15 11:39:34 2024
Package: ice-zc-dkms 1.12.7.9214
PackageVersion: 1.12.7.9214
SourcePackage: ice-zc-dkms
Title: ice-zc-dkms 1.12.7.9214: ice-zc kernel module failed to build