42
1.
2.
3.
OPENIBD_PRE_START
OPENIBD_POST_START
OPENIBD_PRE_STOP
OPENIBD_POST_STOP
Example:
OPENIBD_POST_START=/sbin/openibd_post_start.sh
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:
Add the following lines to the "/etc/modprobe.d/mlnx.conf" file.
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
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.
Summary of Contents for C-ADAB
Page 14: ...14...