What can I help you with?
NVIDIA ConnectX-4 Lx Ethernet Adapter Cards for OCP 2.0 User Manual

Driver Installation

Please use the relevant driver installation section.

This section describes how to install and test the MLNX_OFED for Linux package on a single server with a ConnectX-5 adapter card installed.

Prerequisites

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.


Downloading NVIDIA OFED

  1. Verify that the system has a network adapter installed. The following example shows a system with an installed adapter card:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    2. Download the ISO image to your host. The image's name has the format MLNX_OFED_LINUX-<ver>-<OS label><CPU arch>.iso. You can download and install the latest OpenFabrics Enterprise Distribution (OFED) software package available via the NVIDIA web site at nvidia.com/en-us/networking Products → Software → InfiniBand Drivers → NVIDIA MLNX_OFED

    1. Scroll down to the Download wizard, and click the Download tab.

    2. Choose your relevant package depending on your host operating system.

    3. Click the desired ISO/tgz package.

    4. To obtain the download link, accept the End User License Agreement (EULA).

3. Use the Hash utility to confirm the file integrity of your ISO image. Run the following command and compare the result to the value provided on the download page.

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

Installing MLNX_OFED

Installation Script

The installation script, mlnxofedinstall, performs the following:

  • Discovers the currently installed kernel

  • Uninstalls any software stacks that are part of the standard operating system distribution or another vendor's commercial stack

  • Installs the MLNX_OFED_LINUX binary RPMs (if they are available for the current kernel)

  • Identifies the currently installed InfiniBand and Ethernet network adapters and automatically upgrades the firmware Note: To perform a firmware upgrade using customized firmware binaries, a path can be provided to the folder that contains the firmware binary files, by running --fw-image-dir. Using this option, the firmware version embedded in the MLNX_OFED package will be ignored. Example:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    Usage

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    The installation script removes all previously installed OFED packages and re-installs from scratch. You will be prompted to acknowledge the deletion of the old packages.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

  • If you need to install OFED on an entire (homogeneous) cluster, a common strategy is to mount the ISO image on one of the cluster nodes and then copy it to a shared file system such as NFS. To install on all the cluster nodes, use cluster-aware tools (suchaspdsh).

  • If your kernel version does not match with any of the offered pre-built RPMs, you can add your kernel version by using the "mlnx_add_kernel_support.sh" script located inside the MLNX_OFED package.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On some OSs, dracut -f might result in the following error message which can be safely ignore.

    libkmod: kmod_module_new_from_path: kmod_module 'mdev' already exists with different path|

    The "mlnx_add_kernel_support.sh" script can be executed directly from the mlnxofedinstall script. For further information, please see '--add-kernel-support' option below.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    Example: The following command will create a MLNX_OFED_LINUX ISO image for RedHat 7.3 under the /tmp directory.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

  • The script adds the following lines to /etc/security/limits.conf for the userspace components such as MPI:

    • * soft memlock unlimited

    • * hard memlock unlimited

      • These settings set the amount of memory that can be pinned by a userspace application to unlimited. If desired, tune the value unlimited to a specific amount of RAM.

For your machine to be part of the InfiniBand/VPI fabric, a Subnet Manager must be running on one of the fabric nodes. At this point, OFED for Linux has already installed the OpenSM Subnet Manager on your machine.

For the list of installation options, run:

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h


Installation Procedure

This section describes the installation procedure of MLNX_OFED on NVIDIA adapter cards.

  1. Log in to the installation machine as root.

  2. Mount the ISO image on your machine.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

  3. Run the installation script.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

  4. Case A: If the installation script has performed a firmware update on your network adapter, you need to either restart the driver or reboot your system before the firmware update can take effect. Refer to the table below to find the appropriate action for your specific card.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Case B: If the installations script has not performed a firmware upgrade on your network adapter, restart the driver by running: "/etc/init.d/openibd restart".

  5. (InfiniBand only) Run the hca_self_test.ofed utility to verify whether or not the InfiniBand link is up. The utility also checks for and displays additional information such as:

  • HCA firmware version

  • Kernel architecture

  • Driver version

  • Number of active HCA ports along with their states

  • Node GUID For more details on hca_self_test.ofed, see the file docs/readme_and_user_manual/hca_self_test.readme.

After installation completion, information about the OFED installation, such as prefix, kernel version, and installation parameters can be retrieved by running the command /etc/infiniband/info. Most of the OFED components can be configured or reconfigured after the installation, by modifying the relevant configuration files. See the relevant chapters in this manual for details. The list of the modules that will be loaded automatically upon boot can be found in the /etc/infiniband/openib.conf file.

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.


Installation Results

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."


Installation Logging

While installing MLNX_OFED, the install log for each selected package will be saved in a separate log file.

The path to the directory containing the log files will be displayed after running the installation script in the following format:

Example:

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

Driver Load Upon System Boot

Upon system boot, the NVIDIA drivers will be loaded automatically.

worddavb38ad0c84c59df0c247d9647adb23a60-version-1-modificationdate-1737452703157-api-v2.png

To prevent the automatic load of the NVIDIA drivers upon system boot:

  1. Add the following lines to the "/etc/modprobe.d/mlnx.conf" file.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    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.

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

blacklist mlx5_core

blacklist mlx5_ib

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

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

blacklist mlx5_core

blacklist mlx5_ib

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

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."


Installation Logging

While installing MLNX_OFED, the install log for each selected package will be saved in a separate log file.

The path to the directory containing the log files will be displayed after running the installation script in the following format:

Example:

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

blacklist mlx5_core

blacklist mlx5_ib

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

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs


Uninstalling MLNX_OFED

Use the script /usr/sbin/ofed_uninstall.sh to uninstall the MLNX_OFED package. The script is part of the ofed-scripts RPM.

Additional Installation Procedures

Installing MLNX_OFED Using YUM

This type of installation is applicable to RedHat/OL and Fedora operating systems.

Setting up MLNX_OFED YUM Repository

  1. Log into the installation machine as root.

  2. Mount the ISO image on your machine and copy its content to a shared location in your network.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

  3. Download and install NVIDIA's GPG-KEY: The key can be downloaded via the following link: http://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

  4. Install the key.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

  5. Check that the key was successfully imported.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

  6. Create a yum repository configuration file called "/etc/yum.repos.d/mlnx_ofed.repo" with the following content:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

  7. Check that the repository was successfully added.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    Setting up MLNX_OFED YUM Repository Using --add-kernel-support
  8. Log into the installation machine as root.

  9. Mount the ISO image on your machine and copy its content to a shared location in your network.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

  10. Build the packages with kernel support and create the tarball.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

  11. Open the tarball.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

  12. tar 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz|

  13. Create a YUM repository configuration file called "/etc/yum.repos.d/mlnx_ofed.repo" with the following content:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

  14. Check that the repository was successfully added.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    Installing MLNX_OFED Using the YUM Tool

    After setting up the YUM repository for MLNX_OFED package, perform the following:

  15. View the available package groups by invoking:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    where:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    Note: MLNX_OFED provides kernel module RPM packages with KMP support for RHEL and SLES. For other operating systems, kernel module RPM packages are provided only for the operating system's default kernel. In this case, the group RPM packages have the supported kernel version in their package's name. Example:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    When using 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_kernel_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.

  16. Install the desired group.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    Installing MLNX_OFED Using apt-get

    This type of installation is applicable to Debian and Ubuntu operating systems.

    Setting up MLNX_OFED apt-get Repository

  17. Log into the installation machine as root.

  18. Extract the MLNX_OFED package on a shared location in your network. It can be downloaded from https://www.nvidia.com/en-us/networking/ → Products → Software→ InfiniBand Drivers.

  19. Create an apt-get repository configuration file called "/etc/apt/sources.list.d/mlnx_ofed.list" with the following content:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

  20. Download and install NVIDIA's Technologies GPG-KEY.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

  21. Verify that the key was successfully imported.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

  22. Update the apt-get cache.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    Setting up MLNX_OFED apt-get Repository Using --add-kernel-support
  23. Log into the installation machine as root.

  24. Mount the ISO image on your machine and copy its content to a shared location in your network.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

  25. Build the packages with kernel support and create the tarball.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

  26. Open the tarball.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

  27. tar 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz|

  28. Create an apt-get repository configuration file called "/etc/apt/sources.list.d/mlnx_ofed.list" with the following content:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

  29. Update the apt-get cache.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    Installing MLNX_OFED Using the apt-get Tool

    After setting up the apt-get repository for MLNX_OFED package, perform the following:

  30. View the available package groups by invoking:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    where:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

  31. Install the desired group.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    Example:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Performance Tuning

    Depending on the application of the user's system, it may be necessary to modify the default configuration of network adapters based on the ConnectX® adapters. In case that tuning is required, please refer to the Performance Tuning Guide for NVIDIA Network Adapters.

    Windows Driver Installation

    For Windows, download and install the latest WinOF-2 for Windows software package available via the NVIDIA website at: WinOF-2 webpage. Follow the installation instructions included in the download package (also available from the download page).

    The snapshots in the following sections are presented for illustration purposes only. The installation interface may slightly vary, depending on the operating system in use.

    Software Requirements

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    Note: The Operating System listed above must run with administrator privileges.

    Downloading WinOF-2 Driver

    worddavb38ad0c84c59df0c247d9647adb23a60-version-1-modificationdate-1737452703157-api-v2.png

    To download the .exe file according to your Operating System, please follow the steps below:

  32. Obtain the machine architecture.

    1. To go to the Start menu, position your mouse in the bottom-right corner of the Remote Desktop of your screen.

    2. Open a CMD console (Click Task Manager-->File --> Run new task and enter CMD).

    3. Enter the following command.

      Requirements

      Description

      Platforms

      A server platform with aN installed ConnectX-4 Lx adapter card:

      • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

      Required Disk Space for Installation

      1GB

      Operating System

      Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

      Installer Privileges

      The installation requires administrator (root) privileges on the target machine.

      1. lspci -v

      grep Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

      ]]></ac:plain-text-body></ac:structured-macro>

      Subsystem: Mellanox Technologies Device 0014

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

      ]]></ac:plain-text-body></ac:structured-macro>

      Subsystem: Mellanox Technologies Device 0014

      SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

      ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

      If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

      ./mnt/mlnxofedinstall [OPTIONS]

      ]]></ac:plain-text-body></ac:structured-macro>

      Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

      On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

      If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

      In such cases, the installer will recommend running the following command to update the initramfs:

      dracut -f

      On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

      1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

        All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_ofed_iso. 21642 .log

        Building OFED RPMs. Please wait...

        Removing OFED RPMs...

        Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

      ./mlnxofedinstall --h

      host1# mount <ver><CPU arch>.iso /mnt

      /mnt/mlnxofedinstall

      Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

      This program will install the MLNX_OFED_LINUX package on your machine.

      Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

      Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

      Starting MLNX_OFED_LINUX-x.x.x installation ...

      ........

      ........

      Installation finished successfully.

      Attempting to perform Firmware update...

      Querying Mellanox devices firmware ...

      For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

      MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

      In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

      In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

      Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

      Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

      Action \ Adapter

      Driver Restart

      Standard Reboot (Soft Reset)

      Cold Reboot (Hard Reset)

      Standard ConnectX-4/ConnectX-4 Lx or higher

      -

      +

      -

      Adapters with Multi-Host Support

      -

      -

      +

      Socket Direct Cards

      -

      -

      +

      Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

      Software

      • 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

      Firmware

      • 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 '- 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.

      • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

      Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

      blacklist mlx5_core

      blacklist mlx5_ib

      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

      Software

      • 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

      Firmware

      • 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 '- 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.

      • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

      Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

      1. mount <ver><CPU arch>.iso /mnt

      1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

        - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

        Resolving www.mellanox.com... 72.3 . 194.0

        Connecting to www.mellanox.com

      72.3 . 194.0

      : 80 ... connected.

      HTTP request sent, awaiting response... 200 OK

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

      ]]></ac:plain-text-body></ac:structured-macro>

      Saving to: ?RPM-GPG-KEY-Mellanox?

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

      ]]></ac:plain-text-body></ac:structured-macro>

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

      ]]></ac:plain-text-body></ac:structured-macro>

      1. sudo rpm -- import RPM-GPG-KEY-Mellanox

        warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

        Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

        Importing GPG key 0x6224C050 :

        Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

        From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

        <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

      ]]></ac:plain-text-body></ac:structured-macro>

      1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

      grep Mellanox

      gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

      [mlnx_ofed]

      ]]></ac:plain-text-body></ac:structured-macro>

      name=MLNX_OFED Repository

      baseurl=

      file: ///<path to extracted MLNX_OFED package>/RPMS

      enabled= 1

      gpgkey=

      file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

      gpgcheck= 1

      1. yum repolist

        Loaded plugins: product-id, security, subscription-manager

        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

        repo id repo name status

        mlnx_ofed MLNX_OFED Repository 108

        rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

        repolist: 8 , 351

      1. mount <ver><CPU arch>.iso /mnt

      1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

        Checking if all needed packages are installed...

        Building MLNX_OFED_LINUX RPMS . Please wait...

        Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

        WARNING: If you are going to configure this package as a repository, then please note

        WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

        WARNING: by setting 'gpgcheck=0' in the repository conf file.

        Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

      1. cd /tmp/

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

      [mlnx_ofed]

      ]]></ac:plain-text-body></ac:structured-macro>

      name=MLNX_OFED Repository

      baseurl=

      file: ///<path to extracted MLNX_OFED package>/RPMS

      enabled= 1

      gpgcheck= 0

      1. yum repolist

        Loaded plugins: product-id, security, subscription-manager

        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

        repo id repo name status

        mlnx_ofed MLNX_OFED Repository 108

        rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

        repolist: 8 , 351

      1. yum search mlnx-ofed-

        mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

        mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

        mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

        mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

        mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

        mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

        mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

        mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

        mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

        mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

        mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

        mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

        mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

        mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

        mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

        mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

        mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

        mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

        mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

        mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

        mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

        mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

      mlnx-ofed-all

      Installs all available packages in MLNX_OFED

      mlnx-ofed-basic

      Installs basic packages required for running NVIDIA cards

      mlnx-ofed-guest

      Installs packages required by guest OS

      mlnx-ofed-hpc

      Installs packages required for HPC

      mlnx-ofed-hypervisor

      Installs packages required by hypervisor OS

      mlnx-ofed-vma

      Installs packages required by VMA

      mlnx-ofed-vma-eth

      Installs packages required by VMA to work over Ethernet

      mlnx-ofed-vma-vpi

      Installs packages required by VMA to support VPI

      bluefield

      Installs packages required for BlueField

      dpdk

      Installs packages required for DPDK

      dpdk-upstream-libs

      Installs packages required for DPDK using RDMA-Core

      kernel-only

      Installs packages required for a non-default kernel

      mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      1. yum install mlnx-ofed-all

        Loaded plugins: langpacks, product-id, subscription-manager

        Resolving Dependencies

        --> Running transaction check

        -- 0.1 . 2 will be installed

        - 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!

      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, run: # yum install mlnx-fw-updater

      deb

      file:/

      <path to extracted MLNX_OFED package >/DEBS ./

      1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

      1. apt-key list

        pub 1024D/A9E4B643 2013 11

        uid Mellanox Technologies <support @mellanox .com>

        sub 1024g/09FCC269 2013 11

      1. sudo apt-get update

      1. mount <ver><CPU arch>.iso /mnt

      1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

        Checking if all needed packages are installed...

        Building MLNX_OFED_LINUX RPMS . Please wait...

        Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

        WARNING: If you are going to configure this package as a repository, then please note

        WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

        WARNING: by setting 'gpgcheck=0' in the repository conf file.

        Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

      1. cd /tmp/

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

      deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

      ]]></ac:plain-text-body></ac:structured-macro>

      1. sudo apt-get update

      1. apt-cache search mlnx-ofed-

        apt-cache search mlnx-ofed ........

        knem-dkms - DKMS support for mlnx-ofed kernel modules

        mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

        mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

        mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

        mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

        mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

        mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

        mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

        mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

        mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

        mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

        mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

        mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

        mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

        mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

        mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

        mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

        mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

        mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

        mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

        mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

        mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

        mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

      mlnx-ofed-all

      MLNX_OFED all installer package

      mlnx-ofed-basic

      MLNX_OFED basic installer package

      mlnx-ofed-vma

      MLNX_OFED vma installer package

      mlnx-ofed-hpc

      MLNX_OFED HPC installer package

      mlnx-ofed-vma-eth

      MLNX_OFED vma-eth installer package

      mlnx-ofed-vma-vpi

      MLNX_OFED vma-vpi installer package

      knem-dkms

      MLNX_OFED DKMS support for mlnx-ofed kernel modules

      kernel-dkms

      MLNX_OFED kernel-dkms installer package

      kernel-only

      MLNX_OFED kernel-only installer package

      bluefield

      MLNX_OFED bluefield installer package

      mlnx-ofed-all-exact

      MLNX_OFED mlnx-ofed-all-exact installer package

      dpdk

      MLNX_OFED dpdk installer package

      mlnx-ofed-basic-exact

      MLNX_OFED mlnx-ofed-basic-exact installer package

      dpdk-upstream-libs

      MLNX_OFED dpdk-upstream-libs installer package

      apt-get install '<group name>'

      apt-get install mlnx-ofed-all

      Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

      Description

      Package

      Windows Server 2022

      MLNX_WinOF2-<version>_All_x64.exe

      Windows Server 2019

      Windows Server 2016

      Windows Server 2012 R2

      Windows 11 Client (64 bit only)

      Windows 10 Client (64 bit only)

      Windows 8.1 Client (64 bit only)

      echo %PROCESSOR_ARCHITECTURE%

      Requirements

      Description

      Platforms

      A server platform with aN installed ConnectX-4 Lx adapter card:

      • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

      Required Disk Space for Installation

      1GB

      Operating System

      Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

      Installer Privileges

      The installation requires administrator (root) privileges on the target machine.

      1. lspci -v

      grep Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

      ]]></ac:plain-text-body></ac:structured-macro>

      Subsystem: Mellanox Technologies Device 0014

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

      ]]></ac:plain-text-body></ac:structured-macro>

      Subsystem: Mellanox Technologies Device 0014

      SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

      ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

      If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

      ./mnt/mlnxofedinstall [OPTIONS]

      ]]></ac:plain-text-body></ac:structured-macro>

      Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

      On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

      If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

      In such cases, the installer will recommend running the following command to update the initramfs:

      dracut -f

      On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

      1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

        All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_ofed_iso. 21642 .log

        Building OFED RPMs. Please wait...

        Removing OFED RPMs...

        Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

      ./mlnxofedinstall --h

      host1# mount <ver><CPU arch>.iso /mnt

      /mnt/mlnxofedinstall

      Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

      This program will install the MLNX_OFED_LINUX package on your machine.

      Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

      Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

      Starting MLNX_OFED_LINUX-x.x.x installation ...

      ........

      ........

      Installation finished successfully.

      Attempting to perform Firmware update...

      Querying Mellanox devices firmware ...

      For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

      MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

      In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

      In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

      Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

      Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

      Action \ Adapter

      Driver Restart

      Standard Reboot (Soft Reset)

      Cold Reboot (Hard Reset)

      Standard ConnectX-4/ConnectX-4 Lx or higher

      -

      +

      -

      Adapters with Multi-Host Support

      -

      -

      +

      Socket Direct Cards

      -

      -

      +

      Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

      Software

      • 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

      Firmware

      • 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 '- 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.

      • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

      Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

      blacklist mlx5_core

      blacklist mlx5_ib

      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

      Software

      • 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

      Firmware

      • 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 '- 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.

      • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

      Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

      1. mount <ver><CPU arch>.iso /mnt

      1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

        - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

        Resolving www.mellanox.com... 72.3 . 194.0

        Connecting to www.mellanox.com

      72.3 . 194.0

      : 80 ... connected.

      HTTP request sent, awaiting response... 200 OK

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

      ]]></ac:plain-text-body></ac:structured-macro>

      Saving to: ?RPM-GPG-KEY-Mellanox?

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

      ]]></ac:plain-text-body></ac:structured-macro>

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

      ]]></ac:plain-text-body></ac:structured-macro>

      1. sudo rpm -- import RPM-GPG-KEY-Mellanox

        warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

        Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

        Importing GPG key 0x6224C050 :

        Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

        From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

        <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

      ]]></ac:plain-text-body></ac:structured-macro>

      1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

      grep Mellanox

      gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

      [mlnx_ofed]

      ]]></ac:plain-text-body></ac:structured-macro>

      name=MLNX_OFED Repository

      baseurl=

      file: ///<path to extracted MLNX_OFED package>/RPMS

      enabled= 1

      gpgkey=

      file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

      gpgcheck= 1

      1. yum repolist

        Loaded plugins: product-id, security, subscription-manager

        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

        repo id repo name status

        mlnx_ofed MLNX_OFED Repository 108

        rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

        repolist: 8 , 351

      1. mount <ver><CPU arch>.iso /mnt

      1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

        Checking if all needed packages are installed...

        Building MLNX_OFED_LINUX RPMS . Please wait...

        Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

        WARNING: If you are going to configure this package as a repository, then please note

        WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

        WARNING: by setting 'gpgcheck=0' in the repository conf file.

        Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

      1. cd /tmp/

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

      [mlnx_ofed]

      ]]></ac:plain-text-body></ac:structured-macro>

      name=MLNX_OFED Repository

      baseurl=

      file: ///<path to extracted MLNX_OFED package>/RPMS

      enabled= 1

      gpgcheck= 0

      1. yum repolist

        Loaded plugins: product-id, security, subscription-manager

        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

        repo id repo name status

        mlnx_ofed MLNX_OFED Repository 108

        rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

        repolist: 8 , 351

      1. yum search mlnx-ofed-

        mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

        mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

        mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

        mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

        mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

        mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

        mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

        mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

        mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

        mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

        mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

        mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

        mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

        mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

        mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

        mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

        mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

        mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

        mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

        mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

        mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

        mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

      mlnx-ofed-all

      Installs all available packages in MLNX_OFED

      mlnx-ofed-basic

      Installs basic packages required for running NVIDIA cards

      mlnx-ofed-guest

      Installs packages required by guest OS

      mlnx-ofed-hpc

      Installs packages required for HPC

      mlnx-ofed-hypervisor

      Installs packages required by hypervisor OS

      mlnx-ofed-vma

      Installs packages required by VMA

      mlnx-ofed-vma-eth

      Installs packages required by VMA to work over Ethernet

      mlnx-ofed-vma-vpi

      Installs packages required by VMA to support VPI

      bluefield

      Installs packages required for BlueField

      dpdk

      Installs packages required for DPDK

      dpdk-upstream-libs

      Installs packages required for DPDK using RDMA-Core

      kernel-only

      Installs packages required for a non-default kernel

      mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

      1. yum install mlnx-ofed-all

        Loaded plugins: langpacks, product-id, subscription-manager

        Resolving Dependencies

        --> Running transaction check

        -- 0.1 . 2 will be installed

        - 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!

      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, run: # yum install mlnx-fw-updater

      deb

      file:/

      <path to extracted MLNX_OFED package >/DEBS ./

      1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

      1. apt-key list

        pub 1024D/A9E4B643 2013 11

        uid Mellanox Technologies <support @mellanox .com>

        sub 1024g/09FCC269 2013 11

      1. sudo apt-get update

      1. mount <ver><CPU arch>.iso /mnt

      1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

        Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

        images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

        See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

        Checking if all needed packages are installed...

        Building MLNX_OFED_LINUX RPMS . Please wait...

        Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

        WARNING: If you are going to configure this package as a repository, then please note

        WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

        WARNING: by setting 'gpgcheck=0' in the repository conf file.

        Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

      1. cd /tmp/

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

      deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

      ]]></ac:plain-text-body></ac:structured-macro>

      1. sudo apt-get update

      1. apt-cache search mlnx-ofed-

        apt-cache search mlnx-ofed ........

        knem-dkms - DKMS support for mlnx-ofed kernel modules

        mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

        mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

        mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

        mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

        mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

        mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

        mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

        mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

        mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

        mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

        mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

        mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

        mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

        mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

        mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

        mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

        mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

        mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

        mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

        mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

        mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

        mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

        mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

      mlnx-ofed-all

      MLNX_OFED all installer package

      mlnx-ofed-basic

      MLNX_OFED basic installer package

      mlnx-ofed-vma

      MLNX_OFED vma installer package

      mlnx-ofed-hpc

      MLNX_OFED HPC installer package

      mlnx-ofed-vma-eth

      MLNX_OFED vma-eth installer package

      mlnx-ofed-vma-vpi

      MLNX_OFED vma-vpi installer package

      knem-dkms

      MLNX_OFED DKMS support for mlnx-ofed kernel modules

      kernel-dkms

      MLNX_OFED kernel-dkms installer package

      kernel-only

      MLNX_OFED kernel-only installer package

      bluefield

      MLNX_OFED bluefield installer package

      mlnx-ofed-all-exact

      MLNX_OFED mlnx-ofed-all-exact installer package

      dpdk

      MLNX_OFED dpdk installer package

      mlnx-ofed-basic-exact

      MLNX_OFED mlnx-ofed-basic-exact installer package

      dpdk-upstream-libs

      MLNX_OFED dpdk-upstream-libs installer package

      apt-get install '<group name>'

      apt-get install mlnx-ofed-all

      Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

      Description

      Package

      Windows Server 2022

      MLNX_WinOF2-<version>_All_x64.exe

      Windows Server 2019

      Windows Server 2016

      Windows Server 2012 R2

      Windows 11 Client (64 bit only)

      Windows 10 Client (64 bit only)

      Windows 8.1 Client (64 bit only)

      echo %PROCESSOR_ARCHITECTURE%

      On an x64 (64-bit) machine, the output will be "AMD64".

  33. Go to the WinOF-2 web page at: https://www.nvidia.com/en-us/networking/ > Products > Software > InfiniBand Drivers (Learn More) > Nvidia WinOF-2.

  34. Download the .exe image according to the architecture of your machine (see Step 1). The name of the .exe is in the following format: MLNX_WinOF2-<version>_<arch>.exe.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    Installing WinOF-2 Driver

    The snapshots in the following sections are for illustration purposes only. The installation interface may slightly vary, depending on the used operating system.

    This section provides instructions for two types of installation procedures, and both require administrator privileges:

Attended Installation

The following is an example of an installation session.

  1. Double click the .exe and follow the GUI instructions to install MLNX_WinOF2.

  2. [Optional] Manually configure your setup to contain the logs option (replace "LogFile" with the relevant directory).

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

  3. [Optional] If you do not want to upgrade your firmware version (i.e., MT_SKIPFWUPGRD default value is False).

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

  4. [Optional] If you do not want to install the Rshim driver, run.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

  5. [Optional] If you want to skip the check for unsupported devices, run.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

  6. Click Next in the Welcome screen.

worddav75de01b3d58c7b156d60c38cce624ddf-version-1-modificationdate-1737452702861-api-v2.png

  1. Read and accept the license agreement and click Next.

worddav3c052b1b06980351e3926995924ca31d-version-1-modificationdate-1737452702544-api-v2.png

  1. Select the target folder for the installation.

worddave4181edd1f571748ca8012d1a25e5419-version-1-modificationdate-1737452702275-api-v2.png

  1. The firmware upgrade screen will be displayed in the following cases:

    • If the user has an OEM card. In this case, the firmware will not be displayed.

    • If the user has a standard NVIDIA® card with an older firmware version, the firmware will be updated accordingly. However, if the user has both an OEM card and a NVIDIA® card, only the NVIDIA® card will be updated.

worddav1db79fc306cc833de3a59deba90fdd5b-version-1-modificationdate-1737452701974-api-v2.png

  1. Select a Complete or Custom installation, follow Step a onward.

worddav52794e869cfef45e6f953880d8bf695b-version-1-modificationdate-1737452701762-api-v2.png

    1. Select the desired feature to install:

      • Performances tools - install the performance tools that are used to measure performance in user environment

      • Documentation - contains the User Manual and Release Notes

      • Management tools - installation tools used for management, such as mlxstat

      • Diagnostic Tools - installation tools used for diagnostics, such as mlx5cmd

    2. Click Next to install the desired tools.

worddav042dc2aaa5991cfe35654ab668b4fc1a-version-1-modificationdate-1737452701550-api-v2.png

  1. Click Install to start the installation.

worddav8da9c122ed962a7ff41705aef8124c19-version-1-modificationdate-1737452701214-api-v2.png

  1. In case firmware upgrade option was checked in Step 7, you will be notified if a firmware upgrade is required (see

    worddav34d9c1637edbf5a8bd1c36a51bc0ac0c-version-1-modificationdate-1737452700979-api-v2.png

    ).

worddav0ed540be218b9993e9c34e97851f1b77-version-1-modificationdate-1737452700733-api-v2.png

  1. Click Finish to complete the installation.

worddav9b55d94b5ac3fd6b1b58ed894d1a9c2d-version-1-modificationdate-1737452700460-api-v2.png

Unattended Installation

Requirements

Description

Platforms

A server platform with aN installed ConnectX-4 Lx adapter card:

• MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

Required Disk Space for Installation

1GB

Operating System

Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

Installer Privileges

The installation requires administrator (root) privileges on the target machine.

  1. lspci -v

grep Mellanox

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

]]></ac:plain-text-body></ac:structured-macro>

Subsystem: Mellanox Technologies Device 0014

SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

./mnt/mlnxofedinstall [OPTIONS]

]]></ac:plain-text-body></ac:structured-macro>

Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

In such cases, the installer will recommend running the following command to update the initramfs:

dracut -f

On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

  1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

    All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_ofed_iso. 21642 .log

    Building OFED RPMs. Please wait...

    Removing OFED RPMs...

    Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

./mlnxofedinstall --h

host1# mount <ver><CPU arch>.iso /mnt

/mnt/mlnxofedinstall

Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

Starting MLNX_OFED_LINUX-x.x.x installation ...

........

........

Installation finished successfully.

Attempting to perform Firmware update...

Querying Mellanox devices firmware ...

For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

Action \ Adapter

Driver Restart

Standard Reboot (Soft Reset)

Cold Reboot (Hard Reset)

Standard ConnectX-4/ConnectX-4 Lx or higher

-

+

-

Adapters with Multi-Host Support

-

-

+

Socket Direct Cards

-

-

+

Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

blacklist mlx5_core

blacklist mlx5_ib

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

Software

  • 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

Firmware

  • 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 '- 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.

  • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

  1. mount <ver><CPU arch>.iso /mnt

  1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

    - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

    Resolving www.mellanox.com... 72.3 . 194.0

    Connecting to www.mellanox.com

72.3 . 194.0

: 80 ... connected.

HTTP request sent, awaiting response... 200 OK

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

]]></ac:plain-text-body></ac:structured-macro>

Saving to: ?RPM-GPG-KEY-Mellanox?

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

]]></ac:plain-text-body></ac:structured-macro>

  1. sudo rpm -- import RPM-GPG-KEY-Mellanox

    warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

    Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

    Importing GPG key 0x6224C050 :

    Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

    From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

]]></ac:plain-text-body></ac:structured-macro>

  1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

grep Mellanox

gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

[mlnx_ofed]

]]></ac:plain-text-body></ac:structured-macro>

name=MLNX_OFED Repository

baseurl=

file: ///<path to extracted MLNX_OFED package>/RPMS

enabled= 1

gpgkey=

file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

gpgcheck= 1

  1. yum repolist

    Loaded plugins: product-id, security, subscription-manager

    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

    repo id repo name status

    mlnx_ofed MLNX_OFED Repository 108

    rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

    repolist: 8 , 351

  1. mount <ver><CPU arch>.iso /mnt

  1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

    Checking if all needed packages are installed...

    Building MLNX_OFED_LINUX RPMS . Please wait...

    Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

    WARNING: If you are going to configure this package as a repository, then please note

    WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

    WARNING: by setting 'gpgcheck=0' in the repository conf file.

    Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

  1. cd /tmp/

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

[mlnx_ofed]

]]></ac:plain-text-body></ac:structured-macro>

name=MLNX_OFED Repository

baseurl=

file: ///<path to extracted MLNX_OFED package>/RPMS

enabled= 1

gpgcheck= 0

  1. yum repolist

    Loaded plugins: product-id, security, subscription-manager

    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

    repo id repo name status

    mlnx_ofed MLNX_OFED Repository 108

    rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

    repolist: 8 , 351

  1. yum search mlnx-ofed-

    mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

    mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

    mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

    mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

    mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

    mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

    mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

    mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

    mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

    mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

    mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

    mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

    mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

    mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

    mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

    mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

    mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

    mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

    mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

    mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

    mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

    mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

    mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

    mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

mlnx-ofed-all

Installs all available packages in MLNX_OFED

mlnx-ofed-basic

Installs basic packages required for running NVIDIA cards

mlnx-ofed-guest

Installs packages required by guest OS

mlnx-ofed-hpc

Installs packages required for HPC

mlnx-ofed-hypervisor

Installs packages required by hypervisor OS

mlnx-ofed-vma

Installs packages required by VMA

mlnx-ofed-vma-eth

Installs packages required by VMA to work over Ethernet

mlnx-ofed-vma-vpi

Installs packages required by VMA to support VPI

bluefield

Installs packages required for BlueField

dpdk

Installs packages required for DPDK

dpdk-upstream-libs

Installs packages required for DPDK using RDMA-Core

kernel-only

Installs packages required for a non-default kernel

mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

  1. yum install mlnx-ofed-all

    Loaded plugins: langpacks, product-id, subscription-manager

    Resolving Dependencies

    --> Running transaction check

    -- 0.1 . 2 will be installed

    - 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!

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, run: # yum install mlnx-fw-updater

deb

file:/

<path to extracted MLNX_OFED package >/DEBS ./

  1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

  1. apt-key list

    pub 1024D/A9E4B643 2013 11

    uid Mellanox Technologies <support @mellanox .com>

    sub 1024g/09FCC269 2013 11

  1. sudo apt-get update

  1. mount <ver><CPU arch>.iso /mnt

  1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

    Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

    images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

    See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

    Checking if all needed packages are installed...

    Building MLNX_OFED_LINUX RPMS . Please wait...

    Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

    WARNING: If you are going to configure this package as a repository, then please note

    WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

    WARNING: by setting 'gpgcheck=0' in the repository conf file.

    Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

  1. cd /tmp/

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

]]></ac:plain-text-body></ac:structured-macro>

  1. sudo apt-get update

  1. apt-cache search mlnx-ofed-

    apt-cache search mlnx-ofed ........

    knem-dkms - DKMS support for mlnx-ofed kernel modules

    mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

    mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

    mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

    mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

    mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

    mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

    mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

    mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

    mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

    mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

    mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

    mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

    mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

    mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

    mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

    mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

    mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

    mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

    mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

    mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

    mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

    mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

    mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

    mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

mlnx-ofed-all

MLNX_OFED all installer package

mlnx-ofed-basic

MLNX_OFED basic installer package

mlnx-ofed-vma

MLNX_OFED vma installer package

mlnx-ofed-hpc

MLNX_OFED HPC installer package

mlnx-ofed-vma-eth

MLNX_OFED vma-eth installer package

mlnx-ofed-vma-vpi

MLNX_OFED vma-vpi installer package

knem-dkms

MLNX_OFED DKMS support for mlnx-ofed kernel modules

kernel-dkms

MLNX_OFED kernel-dkms installer package

kernel-only

MLNX_OFED kernel-only installer package

bluefield

MLNX_OFED bluefield installer package

mlnx-ofed-all-exact

MLNX_OFED mlnx-ofed-all-exact installer package

dpdk

MLNX_OFED dpdk installer package

mlnx-ofed-basic-exact

MLNX_OFED mlnx-ofed-basic-exact installer package

dpdk-upstream-libs

MLNX_OFED dpdk-upstream-libs installer package

apt-get install '<group name>'

apt-get install mlnx-ofed-all

Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

Description

Package

Windows Server 2022

MLNX_WinOF2-<version>_All_x64.exe

Windows Server 2019

Windows Server 2016

Windows Server 2012 R2

Windows 11 Client (64 bit only)

Windows 10 Client (64 bit only)

Windows 8.1 Client (64 bit only)

echo %PROCESSOR_ARCHITECTURE%

On an x64 (64-bit) machine, the output will be "AMD64".

Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

]]></ac:plain-text-body></ac:structured-macro>

MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

"ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

The following is an example of an unattended installation session.

  1. Open a CMD consoleClick Start> Task Manager FileRun new task> and enter CMD.

  2. Install the driver. Run:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

  3. [Optional] Manually configure your setup to contain the logs option:

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

  4. [Optional] if you wish to control whether to install ND provider or not (i.e., MT_NDPROPERTY default value is True).

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

  5. [Optional] If you do not wish to upgrade your firmware version (i.e.,MT_SKIPFWUPGRD default value is False).

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98158e50-7261-4494-8dbe-18c20b602aa1"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_SKIPFWUPGRD= 1

    ]]></ac:plain-text-body></ac:structured-macro>

  6. [Optional] If you do not want to install the Rshim driver, run.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98158e50-7261-4494-8dbe-18c20b602aa1"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_SKIPFWUPGRD= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98158e50-7261-4494-8dbe-18c20b602aa1"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_SKIPFWUPGRD= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

  7. [Optional] If you want to enable the default configuration for Rivermax, run.

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98158e50-7261-4494-8dbe-18c20b602aa1"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_SKIPFWUPGRD= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v "MT_RIVERMAX=1 /l*vx C:\Users\<user>\log.txt "

  8. [Optional] If you want to skip the check for unsupported devices, run/

    Requirements

    Description

    Platforms

    A server platform with aN installed ConnectX-4 Lx adapter card:

    • MT27710 ConnectX®-4 Lx (firmware: fw-ConnectX4-Lx)

    Required Disk Space for Installation

    1GB

    Operating System

    Linux operating system. For the list of supported operating system distributions and kernels, please refer to the MLNX_OFED Release Notes

    Installer Privileges

    The installation requires administrator (root) privileges on the target machine.

    1. lspci -v

    grep Mellanox

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4059418-7371-43a4-817e-617a71c7e16f"><ac:plain-text-body><![CDATA[86:00.0 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="57de897a-acc4-453f-94a8-4f50c49de5fc"><ac:plain-text-body><![CDATA[86:00.1 Network controller [0207]: Mellanox Technologies MT27710 Family

    ]]></ac:plain-text-body></ac:structured-macro>

    Subsystem: Mellanox Technologies Device 0014

    SHA256 MLNX_OFED_LINUX-<ver>-<OS label>.iso

    ./mlnxofedinstall --fw-image-dir /tmp/my_fw_bin_files

    If the driver detects unsupported cards on the system, it will abort the installation procedure. To avoid this, make sure to add --skip-unsupported-devices-check flag during installation.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a5e4010-a07b-4500-badf-b6dac300c95b"><ac:plain-text-body><![CDATA[

    ./mnt/mlnxofedinstall [OPTIONS]

    ]]></ac:plain-text-body></ac:structured-macro>

    Pre-existing configuration files will be saved with the extension ".conf.rpmsave".

    On Redhat and SLES distributions with errata kernel installed there is no need to use the mlnx_add_kernel_support.sh script. The regular installation can be performed and weak-updates mechanism will create symbolic links to the MLNX_OFED kernel modules.

    If you regenerate kernel modules for a custom kernel (using --add-kernel-support), the packages installation will not involve automatic regeneration of the initramfs. In some cases, such as a system with a root filesystem mounted over a ConnectX card, not regenerating the initramfs may even cause the system to fail to reboot.

    In such cases, the installer will recommend running the following command to update the initramfs:

    dracut -f

    On Ubuntu and Debian distributions drivers installation use Dynamic Kernel Module Support (DKMS) framework. Thus, the drivers' compilation will take place on the host during MLNX_OFED installation. Therefore, using "mlnx_add_kernel_support.sh" is irrelevant on Ubuntu and Debian distributions.

    1. ./MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/mlnx_add_kernel_support.sh -m /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64/ --make-tgz

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 3 under /tmp directory.

      All Mellanox, OEM, OFED, or Distribution IB packages will be removed.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_ofed_iso. 21642 .log

      Building OFED RPMs. Please wait...

      Removing OFED RPMs...

      Created /tmp/MLNX_OFED_LINUX-x.x-x-rhel7. 3 -x86_64-ext.tgz

    ./mlnxofedinstall --h

    host1# mount <ver><CPU arch>.iso /mnt

    /mnt/mlnxofedinstall

    Logs dir: /tmp/MLNX_OFED_LINUX-x.x-x.logs

    This program will install the MLNX_OFED_LINUX package on your machine.

    Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

    Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.

    Starting MLNX_OFED_LINUX-x.x.x installation ...

    ........

    ........

    Installation finished successfully.

    Attempting to perform Firmware update...

    Querying Mellanox devices firmware ...

    For unattended installation, use the --force installation option while running the MLNX_OFED installation script: /mnt/mlnxofedinstall --force

    MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment: ./mlnxofedinstall --kernel-sources) should be added if the sources are not in their default location.

    In case your machine has the latest firmware, no firmware update will occur and the installation script will print at the end of installation a message similar to the following: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: Up to date

    In case your machine has an unsupported network adapter device, no firmware update will occur and one of the error messages below will be printed. Please contact your hardware vendor for help with firmware updates.

    Error message #1: Device #1: ---------- Device Type: ConnectX-X Part Number: MCXXXX-XXX PSID: MT_<version> PCI Device Name: 0b:00.0 Base MAC: 0000e41d2d5cf810 Versions: Current Available FW XX.XX.XXXX Status: No matching image found

    Error message #2: The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor.

    Action \ Adapter

    Driver Restart

    Standard Reboot (Soft Reset)

    Cold Reboot (Hard Reset)

    Standard ConnectX-4/ConnectX-4 Lx or higher

    -

    +

    -

    Adapters with Multi-Host Support

    -

    -

    +

    Socket Direct Cards

    -

    -

    +

    Installing OFED will replace the RDMA stack and remove existing 3rd party RDMA connectors.

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    blacklist mlx5_core

    blacklist mlx5_ib

    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

    Software

    • 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

    Firmware

    • 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 '- 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.

    • In case your machine has an unsupported network adapter device, no firmware update will occur and the error message below will be printed. "The firmware for this device is not distributed inside NVIDIA driver: 0000:01:00.0 (PSID: IBM2150110033) To obtain firmware for this device, please contact your HW vendor."

    Logs dir: /tmp/MLNX_OFED_LINUX- 4.4 - 1.0 . 0.0 .IBMM2150110033.logs

    1. mount <ver><CPU arch>.iso /mnt

    1. wget http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      - 01 - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox

      Resolving www.mellanox.com... 72.3 . 194.0

      Connecting to www.mellanox.com

    72.3 . 194.0

    : 80 ... connected.

    HTTP request sent, awaiting response... 200 OK

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d83969a9-a66d-4a51-bab5-4d8799e10a1e"><ac:plain-text-body><![CDATA[Length: 1354 ( 1 .3K) [text/plain]

    ]]></ac:plain-text-body></ac:structured-macro>

    Saving to: ?RPM-GPG-KEY-Mellanox?

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4a89f633-b1c6-4629-ae2a-fd8d97d1b059"><ac:plain-text-body><![CDATA[ 100 %[=================================================>] 1 , 354 --.-K/s in 0s

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="175dc8e5-b6fa-4f6a-b01d-0be8a383439a"><ac:plain-text-body><![CDATA[ 2018 25 13 : 52 : 30 ( 247 MB/s) - ?RPM-GPG-KEY-Mellanox? saved [ 1354 / 1354 ]

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo rpm -- import RPM-GPG-KEY-Mellanox

      warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY

      Retrieving key from file: ///repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      Importing GPG key 0x6224C050 :

      Userid: "Mellanox Technologies (Mellanox Technologies - Signing Key v2) <support@mellanox.com>"

      From : /repos/MLNX_OFED/<MLNX_OFED file>/RPM-GPG-KEY-Mellanox

      <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2bef7e17-c01f-463a-8259-331f8480cd12"><ac:plain-text-body><![CDATA[Is this ok [y/N]:

    ]]></ac:plain-text-body></ac:structured-macro>

    1. rpm -q gpg-pubkey --qf '%{NAME}%{RELEASE}\t%{SUMMARY}\n'

    grep Mellanox

    gpg-pubkey-a9e4b643-520791ba gpg(Mellanox Technologies <support @mellanox .com>)

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d7fb1d2b-be77-448f-9199-942f2493e75b"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgkey=

    file: ///<path to the downloaded key RPM-GPG-KEY-Mellanox>

    gpgcheck= 1

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="353c3d03-576a-46c4-b9de-41262359663f"><ac:plain-text-body><![CDATA[

    [mlnx_ofed]

    ]]></ac:plain-text-body></ac:structured-macro>

    name=MLNX_OFED Repository

    baseurl=

    file: ///<path to extracted MLNX_OFED package>/RPMS

    enabled= 1

    gpgcheck= 0

    1. yum repolist

      Loaded plugins: product-id, security, subscription-manager

      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

      repo id repo name status

      mlnx_ofed MLNX_OFED Repository 108

      rpmforge RHEL 6Server - RPMforge.net - dag 4 , 597

      repolist: 8 , 351

    1. yum search mlnx-ofed-

      mlnx-ofed-all.noarch : MLNX_OFED all installer package (with KMP support)

      mlnx-ofed-all-user-only.noarch : MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-basic.noarch : MLNX_OFED basic installer package (with KMP support)

      mlnx-ofed-basic-user-only.noarch : MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-bluefield.noarch : MLNX_OFED bluefield installer package (with KMP support)

      mlnx-ofed-bluefield-user-only.noarch : MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk.noarch : MLNX_OFED dpdk installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs.noarch : MLNX_OFED dpdk-upstream-libs installer package (with KMP support)

      mlnx-ofed-dpdk-upstream-libs-user-only.noarch : MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only.noarch : MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only.noarch : MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-guest.noarch : MLNX_OFED guest installer package (with KMP support)

      mlnx-ofed-guest-user-only.noarch : MLNX_OFED guest-user-only installer package (User Space packages only)

      mlnx-ofed-hpc.noarch : MLNX_OFED hpc installer package (with KMP support)

      mlnx-ofed-hpc-user-only.noarch : MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-hypervisor.noarch : MLNX_OFED hypervisor installer package (with KMP support)

      mlnx-ofed-hypervisor-user-only.noarch : MLNX_OFED hypervisor-user-only installer package (User Space packages only)

      mlnx-ofed-kernel-only.noarch : MLNX_OFED kernel-only installer package (with KMP support)

      mlnx-ofed-vma.noarch : MLNX_OFED vma installer package (with KMP support)

      mlnx-ofed-vma-eth.noarch : MLNX_OFED vma-eth installer package (with KMP support)

      mlnx-ofed-vma-eth-user-only.noarch : MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only.noarch : MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-vma-vpi.noarch : MLNX_OFED vma-vpi installer package (with KMP support)

      mlnx-ofed-vma-vpi-user-only.noarch : MLNX_OFED vma-vpi-user-only installer package (User Space packages only

    mlnx-ofed-all

    Installs all available packages in MLNX_OFED

    mlnx-ofed-basic

    Installs basic packages required for running NVIDIA cards

    mlnx-ofed-guest

    Installs packages required by guest OS

    mlnx-ofed-hpc

    Installs packages required for HPC

    mlnx-ofed-hypervisor

    Installs packages required by hypervisor OS

    mlnx-ofed-vma

    Installs packages required by VMA

    mlnx-ofed-vma-eth

    Installs packages required by VMA to work over Ethernet

    mlnx-ofed-vma-vpi

    Installs packages required by VMA to support VPI

    bluefield

    Installs packages required for BlueField

    dpdk

    Installs packages required for DPDK

    dpdk-upstream-libs

    Installs packages required for DPDK using RDMA-Core

    kernel-only

    Installs packages required for a non-default kernel

    mlnx-ofed-all- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-basic- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-guest- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hpc- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-hypervisor- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-eth- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    mlnx-ofed-vma-vpi- 3.17 . 4 301 .fc21.x86_64 (without KMP support)

    1. yum install mlnx-ofed-all

      Loaded plugins: langpacks, product-id, subscription-manager

      Resolving Dependencies

      --> Running transaction check

      -- 0.1 . 2 will be installed

      - 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!

    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, run: # yum install mlnx-fw-updater

    deb

    file:/

    <path to extracted MLNX_OFED package >/DEBS ./

    1. wget -qO - http: //www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | sudo apt-key add -

    1. apt-key list

      pub 1024D/A9E4B643 2013 11

      uid Mellanox Technologies <support @mellanox .com>

      sub 1024g/09FCC269 2013 11

    1. sudo apt-get update

    1. mount <ver><CPU arch>.iso /mnt

    1. /mnt/mlnx_add_kernel_support.sh --make-tgz <optional --kmp> -k $(uname -r) -m /mnt/

      Note: This program will create MLNX_OFED_LINUX TGZ for rhel7. 6 under /tmp directory.

      images/plugins/servlet/confluence/placeholder/error-i18nkey-editor-placeholder-broken-link-locale-en_us-version-2.png >

      See log file /tmp/mlnx_iso.4120_logs/mlnx_ofed_iso. 4120 .log

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      Creating metadata-rpms for 3.10 . 0 - 957.21 . 3 .el7.x86_64 ...

      WARNING: If you are going to configure this package as a repository, then please note

      WARNING: that it contains unsigned rpms, therefore, you need to disable the gpgcheck

      WARNING: by setting 'gpgcheck=0' in the repository conf file.

      Created /tmp/MLNX_OFED_LINUX- 5.2 - 0.5 . 5.0 -rhel7. 6 -x86_64-ext.tgz

    1. cd /tmp/

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b6090e62-9727-41a9-a5c7-c2a3bbd38246"><ac:plain-text-body><![CDATA[

    deb [trusted=yes] file:/<path to extracted MLNX_OFED package >/DEBS ./

    ]]></ac:plain-text-body></ac:structured-macro>

    1. sudo apt-get update

    1. apt-cache search mlnx-ofed-

      apt-cache search mlnx-ofed ........

      knem-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-dkms - DKMS support for mlnx-ofed kernel modules

      mlnx-ofed-kernel-utils - Userspace tools to restart and tune mlnx-ofed kernel modules

      mlnx-ofed-vma-vpi - MLNX_OFED vma-vpi installer package (with DKMS support)

      mlnx-ofed-kernel-only - MLNX_OFED kernel-only installer package (with DKMS support)

      mlnx-ofed-bluefield - MLNX_OFED bluefield installer package (with DKMS support)

      mlnx-ofed-hpc-user-only - MLNX_OFED hpc-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk-user-only - MLNX_OFED dpdk-user-only installer package (User Space packages only)

      mlnx-ofed-all-exact - MLNX_OFED all installer package (with DKMS support) (exact)

      mlnx-ofed-all - MLNX_OFED all installer package (with DKMS support)

      mlnx-ofed-vma-vpi-user-only - MLNX_OFED vma-vpi-user-only installer package (User Space packages only)

      mlnx-ofed-eth-only-user-only - MLNX_OFED eth-only-user-only installer package (User Space packages only)

      mlnx-ofed-vma-user-only - MLNX_OFED vma-user-only installer package (User Space packages only)

      mlnx-ofed-hpc - MLNX_OFED hpc installer package (with DKMS support)

      mlnx-ofed-bluefield-user-only - MLNX_OFED bluefield-user-only installer package (User Space packages only)

      mlnx-ofed-dpdk - MLNX_OFED dpdk installer package (with DKMS support)

      mlnx-ofed-vma-eth-user-only - MLNX_OFED vma-eth-user-only installer package (User Space packages only)

      mlnx-ofed-all-user-only - MLNX_OFED all-user-only installer package (User Space packages only)

      mlnx-ofed-vma-eth - MLNX_OFED vma-eth installer package (with DKMS support)

      mlnx-ofed-vma - MLNX_OFED vma installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs-user-only - MLNX_OFED dpdk-upstream-libs-user-only installer package (User Space packages only)

      mlnx-ofed-basic-user-only - MLNX_OFED basic-user-only installer package (User Space packages only)

      mlnx-ofed-basic-exact - MLNX_OFED basic installer package (with DKMS support) (exact)

      mlnx-ofed-basic - MLNX_OFED basic installer package (with DKMS support)

      mlnx-ofed-dpdk-upstream-libs - MLNX_OFED dpdk-upstream-libs installer package (with DKMS support)

    mlnx-ofed-all

    MLNX_OFED all installer package

    mlnx-ofed-basic

    MLNX_OFED basic installer package

    mlnx-ofed-vma

    MLNX_OFED vma installer package

    mlnx-ofed-hpc

    MLNX_OFED HPC installer package

    mlnx-ofed-vma-eth

    MLNX_OFED vma-eth installer package

    mlnx-ofed-vma-vpi

    MLNX_OFED vma-vpi installer package

    knem-dkms

    MLNX_OFED DKMS support for mlnx-ofed kernel modules

    kernel-dkms

    MLNX_OFED kernel-dkms installer package

    kernel-only

    MLNX_OFED kernel-only installer package

    bluefield

    MLNX_OFED bluefield installer package

    mlnx-ofed-all-exact

    MLNX_OFED mlnx-ofed-all-exact installer package

    dpdk

    MLNX_OFED dpdk installer package

    mlnx-ofed-basic-exact

    MLNX_OFED mlnx-ofed-basic-exact installer package

    dpdk-upstream-libs

    MLNX_OFED dpdk-upstream-libs installer package

    apt-get install '<group name>'

    apt-get install mlnx-ofed-all

    Installing MLNX_OFED using the "apt-get" tool does not automatically update the firmware. To update the firmware to the version included in MLNX_OFED package, run: # apt-get install mlnx-fw-updater

    Description

    Package

    Windows Server 2022

    MLNX_WinOF2-<version>_All_x64.exe

    Windows Server 2019

    Windows Server 2016

    Windows Server 2012 R2

    Windows 11 Client (64 bit only)

    Windows 10 Client (64 bit only)

    Windows 8.1 Client (64 bit only)

    echo %PROCESSOR_ARCHITECTURE%

    On an x64 (64-bit) machine, the output will be "AMD64".

    Installing the incorrect .exe file is prohibited. If you do so, an error message will be displayed. For example, if you install a 64-bit .exe on a 32-bit machine, the wizard will display the following (or a similar) error message: "The installation package is not supported by this processor type. Contact your vendor"

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1622104-e8fc-4a8b-8f82-183f462ff0cd"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_SKIPFWUPGRD=1"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user. To control the reboots, use the /norestart or /forcerestart standard command-line options.

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98882b30-4656-46be-8adb-f1babfd7741e"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20f0b810-49d8-4a11-9b12-857b400af781"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]<revision_version>_All-Arch.exe /S /v/qn /v"/l*vx [LogFile]"

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c4e8d7e5-42b8-4b4b-832b-7ed885563f72"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_NDPROPERTY= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98158e50-7261-4494-8dbe-18c20b602aa1"><ac:plain-text-body><![CDATA[

    MLNX_WinOF2-[Driver/Version]_<revision_version>_All_Arch.exe /vMT_SKIPFWUPGRD= 1

    ]]></ac:plain-text-body></ac:structured-macro>

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " MT_DISABLE_RSHIM_INSTALL=1"

    The Rshim driver installanion will fail if a prior Rshim driver is already installed. The following fail message will be displayed in the log:

    "ERROR!!! Installation failed due to following errors: MlxRshim drivers installation disabled and MlxRshim drivers Installed, Please remove the following oem inf files from driver store: <oem inf list>"

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v "MT_RIVERMAX=1 /l*vx C:\Users\<user>\log.txt "

    MLNX_WinOF2_<revision_version>_All_Arch.exe /v " SKIPUNSUPPORTEDDEVCHECK=1"

    Firmware Upgrade

    If the machine has a standard NVIDIA® card with an older firmware version, the firmware will be automatically updated as part of the NVIDIA® WinOF-2 package installation. For information on how to upgrade firmware manually, please refer to MFT User Manual.

    If the machine has a DDA (pass through) facility, firmware update is supported only in the Host. Therefore, to update the firmware, the following must be performed:

  9. Return the network adapters to the Host.

  10. Update the firmware according to the steps in the MFT User Manual.

  11. Attach the adapters back to VM with the DDA tools.

This section describes VMware Driver Installation.

Hardware and Software Requirements

Requirement

Description

Platforms

A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

Operating System

ESXi 6.5

Installer Privileges

The installation requires administrator privileges on the target machine.

Installing NATIVE ESXi Driver for VMware vSphere

Requirement

Description

Platforms

A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

Operating System

ESXi 6.5

Installer Privileges

The installation requires administrator privileges on the target machine.

Please uninstall all previous driver packages prior to installing the new version.

To install the driver:

  1. Log into the ESXi server with root permissions.

  2. Install the driver.

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    Example:

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

  3. Reboot the machine.

  4. Verify the driver was installed successfully.

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

    esxcli software vib list

    grep nmlx

    nmlx5-core 4.16 . 8.8 01 - 31

    nmlx5-rdma 4.16 . 8.8 01 - 31

    After the installation process, all kernel modules are loaded automatically upon boot.

    Removing Earlier NVIDIA Drivers

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

    esxcli software vib list

    grep nmlx

    nmlx5-core 4.16 . 8.8 01 - 31

    nmlx5-rdma 4.16 . 8.8 01 - 31

    After the installation process, all kernel modules are loaded automatically upon boot.

    Please unload the previously installed drivers before removing them.

    To remove all the drivers:

  5. Log into the ESXi server with root permissions.

  6. List all the existing NATIVE ESXi driver modules. (See Step 4 in Installing NATIVE ESXi Driver for VMware vSphere.)

  7. Remove each module:

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

    esxcli software vib list

    grep nmlx

    nmlx5-core 4.16 . 8.8 01 - 31

    nmlx5-rdma 4.16 . 8.8 01 - 31

    After the installation process, all kernel modules are loaded automatically upon boot.

    Please unload the previously installed drivers before removing them.

    #> esxcli software vib remove -n nmlx5-rdma

    #> esxcli software vib remove -n nmlx5-core

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

    esxcli software vib list

    grep nmlx

    nmlx5-core 4.16 . 8.8 01 - 31

    nmlx5-rdma 4.16 . 8.8 01 - 31

    After the installation process, all kernel modules are loaded automatically upon boot.

    Please unload the previously installed drivers before removing them.

    #> esxcli software vib remove -n nmlx5-rdma

    #> esxcli software vib remove -n nmlx5-core

    To remove the modules, you must run the command in the same order as shown in the example above.

  8. Reboot the server.

Firmware Programming

  1. Download the VMware bootable binary images v4.6.0 from the Firmware Tools (MFT) site.

    1. ESXi 6.5 File: mft-4.6.0.48-10EM-650.0.0.4598673.x86_64.vib

    2. MD5SUM: 0804cffe30913a7b4017445a0f0adbe1

  2. Install the image according to the steps described in the MFT User Manual.

    Requirement

    Description

    Platforms

    A server platform with an adapter card based on ConnectX®-4 Lx (EN) (firmware: fw-ConnectX4Lx)

    Operating System

    ESXi 6.5

    Installer Privileges

    The installation requires administrator privileges on the target machine.

    Please uninstall all previous driver packages prior to installing the new version.

    #> esxcli software vib install –d <path>/<bundle_file>

    #> esxcli software vib install 4 650.0 . 0.4240417 .zipesxcli

    esxcli software vib list

    grep nmlx

    nmlx5-core 4.16 . 8.8 01 - 31

    nmlx5-rdma 4.16 . 8.8 01 - 31

    After the installation process, all kernel modules are loaded automatically upon boot.

    Please unload the previously installed drivers before removing them.

    #> esxcli software vib remove -n nmlx5-rdma

    #> esxcli software vib remove -n nmlx5-core

    To remove the modules, you must run the command in the same order as shown in the example above.

    The following procedure requires custom boot image downloading, mounting and booting from a USB device.

© Copyright 2024, NVIDIA. Last updated on Jan 21, 2025.