I’ve tried installing driver 4.9-2.2.4.0 (LTS) and 5.0-2.1.8.0 and from source but always end up with:
Failed to install mlnx-ofed-kernel-dkms DEB
In the log I find:
Error! Bad return status for module build on kernel: 5.8.0-41-generic (x86_64)
Consult /var/lib/dkms/mlnx-ofed-kernel/5.0/build/make.log for more information.
dpkg: error processing package mlnx-ofed-kernel-dkms (–install):
installed mlnx-ofed-kernel-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
mlnx-ofed-kernel-dkms
In the referenced log I find:
Error: CONFIG_MLX5_ESWITCH not support kernel version 5.6 or higher (current: 5.8.0-41-generic).
When trying to run add_kernel_support it fails in the same way, the log shows;
/tmp/mlnx_iso.131692/mlnx-ofed-kernel/mlnx-ofed-kernel-5.0/configure --kernel-version=5.8.0-41-generic --kernel-sources=/lib/modules/5.8.0-41-generic/build/ --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans>
Error: CONFIG_MLX5_ESWITCH not support kernel version 5.6 or higher (current: 5.8.0-41-generic).
and further:
checking for cross compilation… no
checking for external module build target… configure: error: kernel module make failed; check config.log for details
Failed executing ./configuremake[1]: *** [debian/rules:62: override_dh_auto_configure] Error 1
make[1]: Leaving directory ‘/tmp/mlnx_iso.131692/mlnx-ofed-kernel/mlnx-ofed-kernel-5.0’
make: *** [debian/rules:50: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I’m not sure what I can try to make the install work, any tips? Note that my Linux skills are green at best.