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
Soft
ware
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
Firm
ware
The firmware of existing network adapter devices will be updated if the
following two conditions are fulfilled:
The installation script is run in default mode; that is, without the
option ‘--without- fw-update’
The firmware version of the adapter device is older than the firmware
version included with the OFED ISO image
Note: If an adapter’s Flash was originally programmed with an
Expansion ROM image, the automatic firmware update will also burn
an Expansion ROM image.