If you are installing MLNX-OFED-5.5-1 on Rocky Linux 8.5, you may want to download the drivers from Nvidia Linux Drivers
Step 1: Installing Prerequistics
# dnf install tk tcsh tcl gcc-gfortran kernel-modules-extra
Step 2a: Installing MLNX on Rocky 8.5
If you just do a ./mlnxofedinstall
# ./mlnxofedinstall
Current operation system is not supported!
Step 2b: Force Install with the right distro.
# ./mlnxofedinstall --distro rhel8.5 --force
.....
.....
.....
Device #1:
----------
Device Type: ConnectX5
Part Number: MCX512F-ACH_Ax_Bx
Description: ConnectX-5 EN network interface card; with host management 25GbE Dual-port SFP28; PCIe3.0 x16; ROHS
PSID: MT_0000000416
PCI Device Name: 10:00.0
Base GUID: xxxxxxxxxxxx
Base MAC: yyyyyyyyyyyy
Versions: Current Available
FW 16.31.1014 16.32.1010
PXE 3.6.0403 3.6.0502
UEFI 14.24.0013 14.25.0017
Status: Update required
After installing…….
Restart needed for updates to take effect.
Log File: /tmp/PAl8Z5mkHc
Real log file: /tmp/MLNX_OFED_LINUX.150443.logs/fw_update.log
To load the new driver, run:
/etc/init.d/openibd restart
Step 3: You have to remove and reload the drivers before you can do the /etc/init.d/openibd restart
[root@h00 media]# modprobe -rv ib_isert rpcrdma ib_srpt
rmmod ib_isert
rmmod iscsi_target_mod
rmmod rpcrdma
rmmod ib_srpt
[root@h00 media]# /etc/init.d/openibd restart
Unloading HCA driver: [ OK ]
Loading HCA driver and Access Layer: [ OK ]
References: