Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install ice-zc-dkms on HWE kernel #920

Open
kirollosawad95 opened this issue Mar 5, 2024 · 10 comments
Open

Failed to install ice-zc-dkms on HWE kernel #920

kirollosawad95 opened this issue Mar 5, 2024 · 10 comments

Comments

@kirollosawad95
Copy link

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

@cardigliano
Copy link
Member

Please provide:

  • full PF_RING version/revision
  • OS version

@kirollosawad95
Copy link
Author

kirollosawad95 commented Mar 6, 2024

@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

@cardigliano
Copy link
Member

Please update to 8.6.1.8948

@kirollosawad95
Copy link
Author

@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

@cardigliano
Copy link
Member

Please also try rebooting the system in case you got a kernel update

@kirollosawad95
Copy link
Author

kirollosawad95 commented Mar 6, 2024

I tried that as well and no luck

@cardigliano
Copy link
Member

cardigliano commented Mar 7, 2024

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...

@kirollosawad95
Copy link
Author

@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

@kirollosawad95
Copy link
Author

@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 !!

@cardigliano cardigliano changed the title [ICE] Failed to install ice-zc-dkms Failed to install ice-zc-dkms on HWE kernel Mar 21, 2024
@cardigliano
Copy link
Member

@kirollosawad95 we released a drivers update to support kernel up to 6.8, could you check if they compile on your kernel now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants