我要评分
获取效率
正确性
完整性
易理解

How Can I Update the NIC Firmware and Driver?

  1. Download the firmware package and decompress it. The CX5 NIC is used as an example.
  2. Upgrade the firmware.
    1
    2
    cd NIC-SP382-CX5-FW-16.32.1010-ARM
    ./install.sh upgrade
    
  3. Install driver dependency packages.
    1
    yum install createrepo perl pciutils gcc-gfortran tcsh expat glib2 tcl libstdc++ bc tk gtk2 atk cairo numactl pkgconfig ethtool lsof rpm-build libxml2-python python autoconf automake libtool
    
  4. Download the NIC driver.
  5. Install the driver.
    1. Decompress the downloaded ISO file.
      1
      2
      3
      mkdir /mnt/iso
      mount -o loop ***.iso /mnt/iso
      cd /mnt/iso
      
      • ***.iso indicates the ISO file corresponding to the NIC driver, for example, onboard_driver_openEuler20.03.iso.
      • ***.tgz in the following commands indicates the driver package in the ISO file. Replace it with the actual name.
    2. Install the driver in either of the following ways:
      • Method 1: Decompress the package to install the driver.
        1
        2
        3
        4
        5
        cp ***.tgz /home
        cd /home
        tar xf ***.tgz
        cd ***
        ./mlnxofedinstall --force --without-depcheck --without-fw-update --add-kernel-support  --skip-distro-check
        
      • Method 2: Use the automatic installation script.
        1
        ./install.sh (Refer to the readme_en.txt file in the same directory.)
        
  6. Reload the driver.
    1
    2
    dracut -f
    /etc/init.d/openibd restart
    

    If the driver is in use, stop related services so that the driver can be reloaded.

  7. Reboot the node.
    1
    reboot
    

The recommended versions are as follows:

  1. Firmware version: 16.32.1010 (HUA0000000024)
  2. Driver version:
    • openEuler 20.03 (Arm): 24.01-0.3.3
    • openEuler 20.03 (x86): 5.8-1.1.2