Driver Load Upon System Boot; Mlnxofedinstall Return Codes; Uninstalling Mlnx_Ofed; Installing Mlnx_Ofed Using Yum - Nvidia MCX545B-CCUN User Manual

Mellanox connectx-5 ethernet adapter cards for ocp spec 2.0
Table of Contents

Advertisement

An example of OPENIBD_POST_START script for activating all interfaces is provided in the
MLNX_OFED package under the docs/scripts/openibd-post-start-configure-interfaces/ folder.

Driver Load Upon System Boot

Upon system boot, the Mellanox drivers will be loaded automatically.
To prevent the automatic load of the Mellanox drivers upon system boot:
1.
Add the following lines to the "/etc/modprobe.d/mlnx.conf" file. 
blacklist mlx4_core
blacklist mlx4_en
blacklist mlx5_core
blacklist mlx5_ib
2.
Set "ONBOOT=no" in the "/etc/infiniband/openib.conf" file.
3.
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
0
1
2
22
28
171
172
173

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.
The installation ended successfully
The installation failed
No firmware was found for the adapter device
Invalid parameter
Not enough free space
Not applicable to this system configuration. This can occur when the
required hardware is not present on the system.
Prerequisites are not met. For example, missing the required software
installed or the hardware is not configured correctly.
Failed to start the mst driver
Meaning
40

Advertisement

Table of Contents
loading

Table of Contents