How Can I Update the NIC Firmware and Driver?
- Download the firmware package and decompress it. The CX5 NIC is used as an example.
- Upgrade the firmware.
1 2
cd NIC-SP382-CX5-FW-16.32.1010-ARM ./install.sh upgrade
- Install driver dependency packages.
1yum 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
- Download the NIC driver.
- Install the driver.
- 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.
- 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.)
- Method 1: Decompress the package to install the driver.
- Decompress the downloaded ISO file.
- 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.
- Reboot the node.
1reboot
The recommended versions are as follows:
- Firmware version: 16.32.1010 (HUA0000000024)
- Driver version:
- openEuler 20.03 (Arm): 24.01-0.3.3
- openEuler 20.03 (x86): 5.8-1.1.2
Parent topic: FAQs