Driver Support for Rocky Linux 8.4

Hi all,

I searched for “rocky” “rockylinux” “rocky linux” with zero results, so if there’s something out there already, I apologize for missing it.

Trying to install OFED combo driver (5.4- for a ConnectX-4 EN NIC in Rocky Linux 8.4 (Obsidian) and installer errors out with “current operation system is not supported!”. I tried the rhel/centos 8.4 driver package. Understandable as Rocky’s a clone, but thought I’d ask here anyways.

A: is Mellanox going to officially support Rocky in the future?

B: anyone have suggestion on method to get drivers installed on Rocky in the meantime?



Hello Andrew,

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

At the moment, unfortunately we do not provide a driver version for Rocky Linux and no timeline can be provided when we do.

In the meantime, we recommend to us the provided INBOX drivers and utilities which come with the OS-distro.

Thank you and regards,

~NVIDIA Networking Technical Support

Hi Andrew,

I used the following steps to install OFED drivers for ROCKY-8.5. After Download and untar Mellanox ofed driver file -

yum install gcc-gfortran tcsh kernel-modules-extra tk kernel-rpm-macros python36-devel -y


./mlnxofedinstall -vvv --add-kernel-support --distro RHEL8.5 --skip-repo (RHEL8.5 = ROCKY8.5, make sure kernel version is same)

dracut -f

/etc/init.d/openibd restart

Unloading rdma_cm [FAILED]

rmmod: ERROR: Module rdma_cm is in use by: rpcrdma ib_srpt ib_isert


/etc/init.d/openibd restart

Unloading HCA driver: [ OK ]

Loading HCA driver and Access Layer: [ OK ]

wait for some time and check the status


Best Wishes,

Rahul Akolkar