Mlnx_ofed 23.07-0.5.1.2 install fails on ubuntu 22.04 low latency

I’m running Ubuntu 22.04 with 5.15.0-86-lowlatency. I get the following error on install:

Installing new packages
Installing ofed-scripts-23.07…
Installing mlnx-tools-23.07…
Installing mlnx-ofed-kernel-utils-23.07…
Installing mlnx-ofed-kernel-dkms-23.07…
Failed to install mlnx-ofed-kernel-dkms DEB

I’ve tried with --without-dkms and --add-kernel-support, it doesn’t work

1 Like

Hello @ktz14,

Thank you for posting your query on our community. From the output provided, it is unclear as to why the installation failed. To further debug the issue, we would need to review the OFED installation log which is located under /tmp/MLNX_OFED_LINUX-XXX/mlnx_iso.xxx_logs/OFED.xxx.logs/mlnx-ofed-kernel.debbuild.log. This log will contain further information as to why the installation failed.

Please keep in mind that it may not be feasible to recompile the driver with a non-default kernel, if the kernel is significantly newer than the version of MLNX_OFED you intend to install.

You can also run the ‘mlnx_add_kernel_support.sh’ script manually, by pointing towards the correct kernel source. Hope this helps.

Thanks,
Bhargavi