2.
3.
1.
2.
3.
blacklist mlx4_core
blacklist mlx4_en
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
Uninstalling MLNX_OFED
Use the script /usr/sbin/ofed_uninstall.sh to uninstall the Mellanox OFED package. The script is part of 
the ofed-scripts RPM.
Installing MLNX_OFED Using YUM
This type of installation is applicable to RedHat/OL, Fedora, XenServer Operating Systems.
Setting up MLNX_OFED YUM Repository
Log into the installation machine as root.
Mount the ISO image on your machine and copy its content to a shared location in your network.
# mount -o ro,loop MLNX_OFED_LINUX-<ver>-<OS label>-<CPU arch>.iso /mnt
Download and install Mellanox Technologies GPG-KEY:
The key can be downloaded via the following link:http://www.mellanox.com/downloads/ofed/
RPM-GPG-KEY-Mellanox