Nvidia ConnectX-6 User Manual page 53

Infiniband/vpi adapter card
Hide thumbs Also See for ConnectX-6:
Table of Contents

Advertisement

Example:
Logs dir: /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0.63414.logs
openibd Script
As of MLNX_OFED v2.2-1.0.0 the openibd script supports pre/post start/stop scripts:
This can be controlled by setting the variables below in the /etc/infiniband/openibd.conf file.
OPENIBD_PRE_START
OPENIBD_POST_START
OPENIBD_PRE_STOP
OPENIBD_POST_STOP
Example:
OPENIBD_POST_START=/sbin/openibd_post_start.sh
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 NVIDIA drivers will be loaded automatically.
To prevent automatic load of the NVIDIA 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
The installation ended successfully
The installation failed
Meaning
53

Advertisement

Table of Contents
loading

Table of Contents