b.
c.
•
•
•
•
•
•
•
blacklist mlx5_core
blacklist mlx5_ib
Set “ONBOOT=no” in the "/etc/infiniband/openib.conf" file.
If the modules exist in the initramfs file, they can automatically be loaded by the
kernel. To prevent this behavior, update the initramfs using the operating systems’
standard tools.
Note: The process of updating the initramfs will add the blacklists from step 1, and
will prevent the kernel from loading the modules automatically.
mlnxofedinstall Return Codes
The table below lists the mlnxofedinstall script return codes and their meanings.
Return
Code
Meaning
0 The Installation ended successfully
1 The installation failed
2 No firmware was found for the adapter device
22 Invalid parameter
28 Not enough free space
171 Not applicable to this system configuration. This can occur when the required hardware
is not present on the system
172 Prerequisites are not met. For example, missing the required software installed or the
hardware is not configured correctly
173 Failed to start the mst driver
Software
Most of MLNX_OFED packages are installed under the “/
usr” directory except for the following packages which
are installed under the “/opt” directory:
fca and ibutils
iproute2 (rdma tool) - installed under /opt/
Mellanox/iproute2/sbin/rdma
The kernel modules are installed under
/lib/modules/`uname -r`/updates on SLES and
Fedora Distributions
/lib/modules/`uname -r`/extra/mlnx-ofa_kernel
on RHEL and other RedHat like Distributions
/lib/modules/`uname -r`/updates/dkms/ on
Ubuntu