I’m running Ubuntu 22.04 with 5.15.0-86-lowlatency. I get the following error on install:
Installing new packages
Failed to install mlnx-ofed-kernel-dkms DEB
I’ve tried with --without-dkms and --add-kernel-support, it doesn’t work
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.