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

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

冰峰博客

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 协议,完整转载请注明