惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

冰峰博客

JumpServer 资产代填配置 Windows 管理员获取所有权 ESXI 不识别 ISCSI 挂载盘解决方案 VPS 通过OpenVPN访问家中存储服务 Proxmox Virtual Environment(PVE)使用 LXC 容器安装 AdGuard Home 博科 SAN 交换机 Zone 配置 VMware vSphere 小版本更新简要步骤 CentOS7 安装 MongoDB CentOS7 安装 Docker Hello Halo
Mellanox ConnectX-4 Lx (MCX4421A-ACQ_Ax) 固件升级
标签 · 2024-05-21 · via 冰峰博客

本文最后更新于 2025-09-10,文章内容可能已经过时。

目的

确保 Mellanox ConnectX-4 Lx 网卡在 Proxmox / Linux 环境中升级到兼容 ESXi 8 的固件版本,并验证硬件和驱动兼容性。


适用范围

适用于:

  • MCX4421A-ACQ_Ax (PSID: MT_2470112034) 的 ConnectX-4 Lx 网卡

  • Proxmox VE 9.x / Debian 系列 Linux 主机


前提条件

  1. 固件下载地址:https://network.nvidia.com/support/firmware/connectx4lxen/

  2. MFT下载地址:https://network.nvidia.com/products/adapter-software/firmware-tools/

  3. 已安装 Mellanox Firmware Tools (MFT) 版本 ≥ 4.33.0

  4. 已下载目标固件:

    fw-ConnectX4Lx-rel-14_32_1900-MCX4421A-ACQ_Ax-UEFI-14.25.17-FlexBoot-3.6.502.bin
    
  5. 有控制台访问权限(避免 SSH 断开造成操作中断)

  6. 有足够权限执行 root 命令


操作步骤

1. 确认 MST 驱动加载

mst status

确保输出显示:

MST PCI module loaded
MST PCI configuration module loaded
/dev/mst/mt4117_pciconf0

2. 查询当前固件版本

mlxfwmanager

记录当前固件版本:

  • FW

  • PXE

  • UEFI

  • PSID

示例输出:

FW: 14.20.1010
PXE: 3.5.0210
UEFI: N/A
PSID: MT_2470112034

3. 备份现有固件

flint -d /dev/mst/mt4117_pciconf0 ri backup_fw.bin

注意:备份文件请存放在安全目录,如 /root/firmware_backup/


4. 升级固件

方式 A:手动指定固件文件

flint -d /dev/mst/mt4117_pciconf0 \
-i fw-ConnectX4Lx-rel-14_32_1900-MCX4421A-ACQ_Ax-UEFI-14.25.17-FlexBoot-3.6.502.bin burn

方式 B:使用 mlxfwmanager 自动升级

mlxfwmanager -u

如遇提示 Multiple image sources found,请确保 backup_fw.bin 不在当前目录,或使用方式 A。


5. 重启或热复位

  • 如果支持热复位:

mlxfwreset -d /dev/mst/mt4117_pciconf0 reset
  • 如果不支持或出现报错 → 重启整机

reboot

6. 验证固件升级

mlxfwmanager

确认输出:

FW: 14.32.1900
PXE: 3.6.0502
UEFI: 14.25.0017
Status: Up to date

7. Proxmox 网络验证

  1. 查看网卡接口:

ip link
ethtool <iface>
  1. 检查驱动加载:

dmesg | grep mlx

8. ESXi 8 兼容性确认

  • 硬件支持:MCX4421A-ACQ_Ax 25GbE 双端口 SFP28,PCIe 3.0 x8

  • 驱动支持:ESXi 8 默认支持 nmlx5_core 驱动

  • 固件要求:14.25.xxxx 以上,当前已升级至 14.32.1900

  • 验证 ESXi 安装后网卡:

esxcli system module list | grep nmlx5
esxcli network nic list

9. 注意事项

  1. 升级过程中不要断电,保持控制台访问。

  2. 备份固件文件 backup_fw.bin 保留备用。

  3. OEM 设备如 Dell/HPE 出货的 MCX4421A-ACQ_Ax,需要确认厂商提供固件版本。

  4. 升级后 Proxmox 主机可能会短暂断网,确保在维护窗口操作。


10. 回滚固件(如有需要)

flint -d /dev/mst/mt4117_pciconf0 -i backup_fw.bin burn
mlxfwreset -d /dev/mst/mt4117_pciconf0 reset

本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明