QLogic NetXtreme II BCM57840 4x10GbE网卡固件更新及端口异常问题求助
QLogic NetXtreme II BCM57840 4x10GbE网卡固件更新及端口异常问题求助
Hi there, let's work through your QLogic/BCM57840 network card issue together. The fact that only one port works, plus the incorrect 4x10GbE detection and missing firmware version in iLO, strongly points to a misflashed or outdated firmware. Updating the firmware should fix these problems—here's how to do it on CentOS and FreeBSD:
先做前置确认
Before diving into the update, verify your card's device ID to ensure we're targeting the right hardware:
- On CentOS: Run
lspci -nn | grep -i ethernetand look for the device ID matching BCM57840 (typically14e4:168e). - On FreeBSD: Run
pciconf -lv | grep -B2 -A2 "QLogic"to confirm the hardware details.
CentOS 下固件更新步骤
- 获取固件与工具: Head to Broadcom's official support portal (navigate to Enterprise Networking > Network Adapters > NetXtreme II series) and download the latest firmware package for BCM57840. The package will include a Linux-based update utility (usually named
nx2update). - 解压并准备工具: Extract the downloaded archive, then navigate to the directory containing the utility and firmware file (e.g.,
BCM57840_latest.fw). - 备份当前固件 (至关重要!):
Replace./nx2update -d /dev/net/tun0 -s bcm57840_backup.fw/dev/net/tun0with your actual network device path if needed—you can find it viaip link show. - 执行固件更新:
./nx2update -d /dev/net/tun0 -f BCM57840_latest.fw - 重启服务器: After the update completes successfully, reboot your system.
- 验证结果: Check the firmware version with
ethtool -i ethX(replaceethXwith your network interface name) and test both 10G ports to confirm they work.
FreeBSD 下固件更新步骤
- 确认驱动加载: BCM57840 uses the
bgedriver in FreeBSD. Verify it's loaded withkldstat | grep bge—if not, load it withkldload if_bge. - 获取固件与工具: Grab the FreeBSD-compatible firmware package from the same Broadcom support portal mentioned earlier. It will include a utility like
nx2update-freebsd. - 备份当前固件:
Replace./nx2update-freebsd -d bge0 -s bcm57840_backup.fwbge0with your actual interface name (find it viaifconfig). - 执行固件更新:
./nx2update-freebsd -d bge0 -f BCM57840_latest.fw - 重启服务器: Reboot to apply the new firmware.
- 验证结果: Use
ethtool -i bge0(if you haveethtoolinstalled viapkg install ethtool) or checkdmesg | grep bgeto confirm the firmware version, then test both ports.
重要注意事项
- 不要中断更新: Ensure your server has a stable power supply—interrupting the firmware flash can brick the network card. If you have iLO, consider using its virtual media feature to run the update, which adds an extra layer of safety.
- 匹配固件版本: Make sure the firmware you download is specifically for BCM57840—using the wrong firmware will cause more issues.
- iLO 显示修复: After updating, the firmware version should appear correctly in iLO, and the incorrect 4x10GbE detection should be resolved since the firmware will properly recognize your card's 2-port configuration.
备注:内容来源于stack exchange,提问作者AAB
相关产品推荐
相关产品推荐

