we want to install MLNX_OFED_LINUX-4.7-3.2.9.0-ubuntu18.04-x86_64.tgz on ubuntu 18.04.5, but cannot install ok (MLX5) , is there anyone know this issue and how to fix it? we want to use verbs_exp functions

Installing mlnx-ofed-kernel-utils-4.7…

Installing mlnx-ofed-kernel-dkms-4.7…

Error: mlnx-ofed-kernel-dkms installation failed!

Collecting debug info…

See:

/tmp/MLNX_OFED_LINUX.37031.logs/mlnx-ofed-kernel-dkms.debinstall.log

/tmp/MLNX_OFED_LINUX.37031.logs/mlnx-ofed-kernel-dkms.make.log

Removing newly installed packages…

in make.log

checking for Linux sources… /usr/src/linux-headers-5.4.0-42-generic

checking for /usr/src/linux-headers-5.4.0-42-generic… yes

checking for Linux objects dir… /usr/src/linux-headers-5.4.0-42-generic

checking for /boot/kernel.h… no

checking for /var/adm/running-kernel.h… no

checking for /usr/src/linux-headers-5.4.0-42-generic/.config… yes

checking for /usr/src/linux-headers-5.4.0-42-generic/include/generated/autoconf.h… yes

checking for /usr/src/linux-headers-5.4.0-42-generic/include/linux/kconfig.h… yes

checking for build ARCH… ARCH=, SRCARCH=x86

checking for cross compilation… no

checking for external module build support… configure: error: unknown; check config.log for details

Failed executing ./configureBuilding kernel modules

Kernel version: 5.4.0-42-generic

Hello Hongbin,

Thank you for posting your inquiry on the NVIDIA Networking Community.

Based on the information provided, you are trying to install MLNX_OFED 4.7-3.2.9.0 on kernel version 5.4. The highest supported kernel version for this driver version is kernel version 5.3.

We recommend to use MLNX_OFED version 4.9-3.1.5.0, which will support your kernel version and the verbs_exp functions as this is the LTS version for Experimental Verbs.

Thank you and regards,

~NVIDIA Networking Technical Support