Driver Installation
Rev 2.5
35
Mellanox Technologies
If you have an Operating System different than RHEL or SLES, or you have installed a
kernel that is not supported by default in MLNX_OFED, you can use the
mlnx_add_ker
-
nel_support.sh
script to build MLNX_OFED for your kernel.
The script will automatically build the matching group RPM packages for your kernel so
that you can still install MLNX_OFED via yum.
Please note that the resulting MLNX_OFED repository will contain unsigned RPMs,
therefore, you should set
'gpgcheck=0'
in the repository configuration file.
Step 2.
Install the desired group.
Installing MLNX_OFED using the YUM tool does not automatically update the firmware.
To update the firmware to the version included in MLNX_OFED package, you can either:
• Run
# yum install mlnx-fw-updater
or
• Update the firmware to the latest version available on Mellanox Technologies’ Web site
as described in
Section 4.1.7, “Updating Firmware After Installation,” on page 37
.
4.1.5.3 Uninstalling Mellanox OFED using the YUM Tool
Use the script
/usr/sbin/ofed_uninstall.sh
to uninstall the Mellanox OFED package. The
script is part of the ofed-scripts RPM.
4.1.6 Installing MLNX_OFED using apt-get
This type of installation is applicable to Debian and Ubuntu Operating Systems.
4.1.6.1 Setting up MLNX_OFED apt-get Repository
Step 1.
Log into the installation machine as root.
Step 2.
Extract the MLNX_OFED pacakge on a shared location in your network.
# yum install mlnx-ofed-all
Loaded plugins: langpacks, product-id, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package mlnx-ofed-all.noarch 0:3.1-0.1.2 will be installed
--> Processing Dependency: kmod-isert = 1.0-OFED.3.1.0.1.2.1.g832a737.rhel7u1 for pack
-
age: mlnx-ofed-all-3.1-0.1.2.noarch
..................
..................
qperf.x86_64 0:0.4.9-9
rds-devel.x86_64 0:2.0.7-1.12
rds-tools.x86_64 0:2.0.7-1.12
sdpnetstat.x86_64 0:1.60-26
srptools.x86_64 0:1.0.2-12
Complete!