Updating ConnectX-3 Firmware
Aug 10, 2022
ConnectX-3’s are very cheap 10Gb ethernet adapters that can be had on eBay for about $30. They’ve been quite reliable except if they are running an old firmware that causes them to be put into infiniband mode, so on reboot of a TrueNAS server they stop functioning and show as “UNKNOWN” in the network list. Updating the firmware solves this issue.
I booted from an Ubuntu 22.04 live DVD in order to update the firmware. I wasn’t able to get the firmware tools to work correctly under TrueNAS CORE (FreeBSD based).
- Download the firmware tools
- Extract
- Install
sudo apt install gcc make dkms -y
./install.sh
mst start
mlxconfig -d /dev/mst/mt4099_pci_cr0 query
- Locate the
Board ID
which is thePSID
- Locate the
- Download the new firmware and match the PSID
- Extract
- Flash
flint -d /dev/mst/mt4099_pci_cr0 -i XXXXXXXXXXXXX.bin burn
- Shutdown then power back on