Mellanox⽹卡驱动升级固件管理⼯具使⽤介绍
⽂章⽬录
1. Mellanox固件升级及管理⼯具使⽤介绍
介绍
Mellanox提供了两种固件⼯具来更新和查询适配器固件:
mlxup -Mellanox固件更新和查询实⽤程序。该实⽤程序可以在服务器计算机上扫描可⽤的Mellanox适配器,并指⽰是否需要为每个适配器更新固件。为了使我们的客户更轻松,mlxup还可以从Web或使⽤本地提供的⼆进制⽂件⾃动更新最新固件。
对于其他功能,例如卡配置和⼆进制创建,请使⽤****。
-MFT软件包是⼀组固件管理⼯具,⽤于⽣成标准或⾃定义的Mellanox固件映像,查询固件信息以及刻录固件映像。
1. MFT⼯具安装
进⼊ 下载界⾯:选择对应的平台下载.
这⾥下载的是linux版本:
下载后解压进⼊对应的⽬录:执⾏./install.sh即可安装。
[root@localhost work]# cd mft-4.16.3-12-x86_64-rpm/
[root@localhost mft-4.16.3-12-x86_64-rpm]# ls
苹果港版和国行的区别install.sh old-mft-uninstall.sh RPMS SRPMS uninstall.sh
[root@localhost mft-4.16.3-12-x86_64-rpm]# ll
total 52
-rwxr-xr-x. 1 70705 30 22838 Mar 22 06:32 install.sh
-rwxr-xr-x. 1 70705 30 13841 Mar 22 06:
-rwxr-xr-x. 1 70705 30 7622 Mar 22 06:32 old-mft-uninstall.sh
drwxr-xr-x. 2 70705 30 111 Mar 22 06:32 RPMS
drwxr-xr-x. 2 70705 30 42 Mar 22 06:32 SRPMS
爱贝克思-rwxr-xr-x. 1 70705 30 1577 Mar 22 06:32 uninstall.sh
[root@localhost mft-4.16.3-12-x86_64-rpm]# ./install.sh
-I- Removing any old MFT file
-
I- Building the MFT kernel
-I- Installing the
< >>>>>>### [100%]
Updating /
1:kernel-mft-4.16.3-3.10.0_957.el7.>>>>>>### [100%]
< >>>>>>### [100%]
Updating /
1:mft-4.16.3-12 >>>>>>### [100%]
-I- In order to start mst, please run "mst start".
[root@localhost mft-4.16.3-12-x86_64-rpm]# mst start
Starting MST (Mellanox Software Tools) driver set
Loading MST PCI module - Success
Loading MST PCI configuration module - Success
Create devices
Unloading MST PCI module (unused) - Success
详细指导可以查看:。
2. 固件下载
记得先安装MFT⼯具,然后查询才知道下载哪个固件;
根据以下步骤查询需要哪个⽹卡的固件:
[root@localhost mft-4.16.3-12-x86_64-rpm]# lspci|grep Mell
56:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
56:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
[root@localhost mft-4.16.3-12-x86_64-rpm]# flint -d 56:00.0 q
Image type: FS3
FW Version: 14.22.1002
FW Release Date: 23.2.2018
Product Version: rel-14_22_1002
Rom Info: type=UEFI version=14.15.19 cpu=AMD64,AARCH64
type=PXE version=3.5.403 cpu=AMD64
Description: UID GuidsNumber
Base GUID: 0c42a103008c51a8 4
Base MAC: 0c42a18c51a8 4
Image VSD: N/A
Device VSD: N/A
PSID: MT_2420110034
Orig PSID: HUA0000000001
Security Attributes: N/A
那么这⾥的 PSID字段对应的值MT_2420110034就是我们要下载的固件版本:进⼊,选择对应的⽹卡,点击下载即可。⼀个⼀个选择OPN,然后到对应的PSID字段值。
3. 固件烧录
# Genaral
flint -d <device> -i <fw-file>[-guid <GUID>| -guids <4 GUIDS>| -mac <MAC>| -macs <2 MACs>] burn腊八节的短句子
# Example
flint -d /dev/mst/mt4117_pciconf0 -i fw-xxxxxxxx.bin burn
详细指导可以查看:。
2. Mellanox驱动升级介绍
针对华为服务器,进⼊⽬录,下载对应OS驱动;
解压后可以看到⽂件,根据对应步骤⼿动升级即可;
IB_NIC-CX4_CX4Lx_CX5_CX6-CentOS7.6-mlx5_core-5.1-0.6.
--- CX5 driver/ CX4 driver/ CX6 driver/ CX4Lx driver
#Note:Please replace with the archived package name for the actual driver installation,
and need to install tcl and tk tools before installing the driver.
#Note1:As of MLNX_OFED v5.1, the following are no longer supported and can be utilized through MLNX_OFED LTS version:ConnectX-3 Pro、ConnectX-3
1. Use the command"tar -" to extract the driver package.
2. Go to the unzipped directory, use the command"./mlnxofedinstall" and select"Y" to upgrade the driver.
Note2: If the driver cannot be installed normally using the command"./mlnxofedinstall", follow the prompts to upgrade with "./mlnxofedinstall --force"
Note3: If a message indicating that the dependency package is missing is displayed during the installation, install the dependency package before performi ng the installation.
3. Run the reboot command.
...
实操
1. 解压⽂件
解压进⽬录onboard_driver_CentOS7.6;
可以看到压缩包IB_NIC-CX4_CX4Lx_CX5_CX6-CentOS7.6-mlx5_core-5.1-0.6.
继续解压进⼊对应⽬录: MLNX_OFED_LINUX-5.1-0.6.6.0-rhel7.6-x86_64
[root@localhost MLNX_OFED_LINUX-5.1-0.6.6.0-rhel7.6-x86_64]# ll total 400
-rwxr-xr-x. 1 root root 2848 Jul 28 2020 common_installers.pl
-rwxr-xr-x. 1 root root 8244 Jul 28 2020 common.pl
-rwxr-xr-x. 1 root root 24888 Jul 28 2020 create_mlnx_ofed_installers.pl -rw-r--r--. 1 root root 8 Jul 28 2020 distro
drwxr-xr-x. 8 root root 210 Jul 28 2020 docs
-rwxr-xr-x. 1 root root 4838 Jul 28 2020 is_kmp_compat.sh
-rw-r--r--. 1 root root 956 Jul 28 2020 LICENSE
-rwxr-xr-x. 1 root root 25792 Jul 28 2020 mlnx_add_kernel_support.sh -rwxr-xr-x. 1 root root 285831 Jul 28 2020 mlnxofedinstall
教育观察法的基本步骤-rw-r--r--. 1 root root 2764 Jul 28 2020 RPM-GPG-KEY-Mellanox drwxr-xr-x. 3 root root 8192 Jul 28 2020 RPMS
drwxr-xr-x. 2 root root 43 Jul 28 2020 src
-rwxr-xr-x. 1 root root 15150 Jul 28 2020 uninstall.sh
2. 安装依赖
yum install tcl tk
3. 升级驱动
cd MLNX_OFED_LINUX-5.1-0.6.6.0-rhel7.6-x86_64
[root@localhost MLNX_OFED_LINUX-5.1-0.6.6.0-rhel7.6-x86_64]# ./mlnxofedinstall
Logs dir: /tmp/MLNX_OFED_LINUX.52962.logs
General log file: /tmp/MLNX_OFED_LINUX.52962.logs/general.log
Verifying KMP rpms compatibility with
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.
Do you want to continue?[y/N]:y
Uninstalling MLNX_EN driver
rpm --nosignature -e --allmatches --nodeps libibverbs libibverbs libibverbs libibverbs librdmacm mft libibverbs librdmacm Starting MLNX_OFED_LINUX-5.1-0.6.6.0 installation ...
...
...
mpitests_openmpi-3.2.20-5d20b49.51066 >>>>>>>>
Device (56:00.0):
56:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Link Width: x8
PCI Link Speed: 8GT/s
Device (56:00.1):
56:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Link Width: x8
PCI Link Speed: 8GT/s
Installation finished successfully.
< >>>>>>### [100%]
Updating /
1:mlnx-fw-updater-5.1-0.6.6.0 >>>>>>### [100%]
Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/f
<
Attempting to perform
Querying Mellanox devices firmware ...
Device #1:
...
...史记中的故事
---------
Found 1 device(s) requiring
适合除夕夜发的朋友圈文案
Device #1: Updating FW ... Done
Restart needed for updates to take effect.
Log File: /tmp/MLNX_OFED_LINUX.52962.logs/fw_update.log
To load the new driver, run:
/etc/init.d/openibd restart
[root@localhost MLNX_OFED_LINUX-5.1-0.6.6.0-rhel7.6-x86_64]# /etc/init.d/openibd restart
Unloading rdma_cm[FAILED]
rmmod: ERROR: Module rdma_cm is in use by: rpcrdma ib_isert
这⾥有个特殊点,如果出现以上报错 : rmmod: ERROR: Module rdma_cm is in use by: rpcrdma ib_isert
把对应的模块停掉就好了。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
热门文章
-
党员志愿服务活动心得
2025-01-26 -
大学生志愿者社会实践总结1200字范文(5篇)
2025-01-26 -
2021年志愿者服务心得体会精选15篇
2025-01-26 -
志愿者服务队伍建设年度总结(精选7篇)
2025-01-26 -
社区志愿者个人年终工作总结样本(6篇)
2025-01-26 -
公益性岗位工作个人总结(4篇)
2025-01-26 -
学生志愿者个人总结
2025-01-26 -
志愿者工作总结范文15篇
2025-01-26 -
关于2024年志愿者协会个人工作总结(2篇)
2025-01-26 -
志愿者服务工作总结(精选5篇)
2025-01-26 -
志愿者个人工作总结精选10篇
2025-01-26 -
文化志愿者个人工作总结范文
2025-01-26 -
志愿者联合会工作总结8篇
2025-01-26 -
开展志愿者活动总结15篇
2025-01-26 -
文明实践志愿服务的活动总结(通用5篇)
2025-01-26 -
志愿者服务工作总结_
2025-01-26 -
志愿服务活动的心得与感悟10篇
2025-01-26 -
志愿服务关爱行动活动总结(通用10篇)
2025-01-26 -
学生会志愿者活动总结5篇
2025-01-26 -
社区志愿服务活动心得(精选6篇)
2025-01-26
最新文章
-
青年志愿者活动总结
2025-01-26 -
志愿者活动总结与反思范文(4篇)
2025-01-26 -
2024年志愿服务总结(3篇)
2025-01-26 -
志愿服务心得感受(通用10篇)
2025-01-26 -
志愿者服务队工作总结整理四篇
2025-01-26 -
志愿心得感悟200字(优秀9篇)
2025-01-26
发表评论