Failed to install mlnx-ofed-kernel-dkms DEB with Version 4.9-4.1.7.0

Hello Trent,

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

Based on the information provided, you are running kernel version 5.13 on Ubuntu 20.04.3 LTS, the issue is related due to the linux-header for this kernel not properly installed.

I was able to reproduce this issue in our lab. It is a Ubuntu distro related issue.

For installing the linux-headers, a more recent version is needed on the system. See output below.

# dpkg -i linux-headers-5.13.0-28_5.13.0-28.31_all.deb linux-headers-5.13.0-28-generic_5.13.0-28.31_amd64.deb

(Reading database … 131877 files and directories currently installed.)

Preparing to unpack linux-headers-5.13.0-28_5.13.0-28.31_all.deb …

Unpacking linux-headers-5.13.0-28 (5.13.0-28.31) over (5.13.0-28.31) …

Preparing to unpack linux-headers-5.13.0-28-generic_5.13.0-28.31_amd64.deb …

Unpacking linux-headers-5.13.0-28-generic (5.13.0-28.31) over (5.13.0-28.31~20.04.1) …

Setting up linux-headers-5.13.0-28 (5.13.0-28.31) …

dpkg: dependency problems prevent configuration of linux-headers-5.13.0-28-generic:

linux-headers-5.13.0-28-generic depends on libc6 (>= 2.34); however:

Version of libc6:amd64 on system is 2.31-0ubuntu9.2.

dpkg: error processing package linux-headers-5.13.0-28-generic (–install):

dependency problems - leaving unconfigured

Errors were encountered while processing:

linux-headers-5.13.0-28-generic

This package is needed to rebuild the driver against DKMS.

Currently, there is a bug open for this issue → https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926938

Our only recommendation is to run an older version of the kernel which does not have this dependency or update the Distro to 21.xx or higher.

The OS-es and their kernel versions mentioned in the MLNX_OFED 4.9 RN are validated and tested → https://docs.nvidia.com/networking/display/MLNXOFEDv494170/General+Support+in+MLNX_OFED#GeneralSupportinMLNX_OFED-MLNX_OFEDSupportedOperatingSystems

Unfortunately Kernel 5.13 is not in this list.

Thank you and regards,

~NVIDIA Networking Technical Support