ESXi驱动
- 1: aqn-108网卡
- 1.1: aqn-108网卡在esxi中遇到的问题
- 1.2: 更新aqn-108网卡的固件
- 2: HP 544+网卡
- 2.1: 使用HP 544+网卡
- 2.2: 升级HP 544+网卡的固件
- 2.3: 安装HP 544+网卡驱动
- 3: Realtek 8111网卡
1 - aqn-108网卡
1.1 - aqn-108网卡在esxi中遇到的问题
给 esxi 主机上加了一个新的 AQuantia aqn-108 5g(5千兆)有线网卡,这个机器的主板原来自带有两个 intel i210 千兆网卡。新加的准备 aqn-108 网卡是准备和另外一台机器做双机直连用。
准备工作
找了一下 AQuantia 网卡的支持,看到最新的消息是从 esxi 7.0.2 (update 2)版本之后就原生自带驱动了。
https://williamlam.com/2021/03/a … i-7-0-update-2.html
在兼容性列表中我找到了对这个网卡的支持,按照设备ID不同列出了5个,其中第一个设备ID为 d108 就是我目前正在用的设备:

设备ID “d108” 的详细信息:

问题描述
Aqn-108 网卡在esxi 7.0 u2 中无法工作。
esxi 已经升级到 7.0 U2:
vmware -l
VMware ESXi 7.0 Update 2
软件列表中存在要求的 atlantic ,版本 1.0.3.0-8vmw 也和支持列表中要求的版本一致:
esxcli software vib list
Name Version Vendor Acceptance Level Install Date
----------------------------- ----------------------------------- ------ ---------------- ------------
atlantic 1.0.3.0-8vmw.702.0.0.17867351 VMW VMwareCertified 2021-08-23
lspci 命令能列出来三张网卡,其中 vmnic2 供应商和设备ID 1d6a:d108 和这块网卡的信息是一致的,说明网卡识别到了:
lspci -v | grep vmnic
0000:04:00.0 Network controller Ethernet controller: Intel Corporation I210 Gigabit Network Connection [vmnic0]
0000:05:00.0 Network controller Ethernet controller: Intel Corporation I210 Gigabit Network Connection [vmnic1]
0000:06:00.0 Network controller Ethernet controller: Marvell AQtion 5Gbit Network Adapter [vmnic2]
下面的命令也能找到 aqn-108 网卡:
vmkvsitools lspci -p | grep vmnic
Segm:Bu:De.F Vend:Dvid Subv:Subd ISA/irq/Vect P M Module Name
0000:04:00.0 8086:1533 1043:8557 255/ / A V igbn vmnic0
0000:05:00.0 8086:1533 1043:8557 255/ / A V igbn vmnic1
0000:06:00.0 1d6a:d108 1d6a:0001 255/ / A V vmnic2
pci 设备中是可以看到这个 aqn-108 网卡的,供应商ID和设备ID都吻合:

但在物理网卡列表中却没有这个网卡:

用命令查出来 network nic也是如此:
esxcli network nic list
Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description
------ ------------ ------ ------------ ----------- ----- ------ ----------------- ---- -----------
vmnic0 0000:04:00.0 igbn Up Up 1000 Full 04:d4:c4:5a:e2:78 1500 Intel Corporation I210 Gigabit Network Connection
vmnic1 0000:05:00.0 igbn Up Up 1000 Full 04:d4:c4:5a:e2:77 1500 Intel Corporation I210 Gigabit Network Connection
尝试解决问题
升级到7.0.2
原来的版本是7.0.0,升级到7.0.2。结果遇到上面的问题无法识别。
手工安装驱动
参考这里的描述
手工安装 atlantic 驱动,期待原生的驱动(原生驱动反而版本更新):
esxcli software vib install -d /vmfs/volumes/61090e61-7519507d-1c82-04d4c45ae278/MRVL-Atlantic-Driver-Bundle_1.0.2.0-1OEM.670.0.0.8169922-offline-bundle-16081713.zip
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: MRVL_bootbank_atlantic_1.0.2.0-1OEM.670.0.0.8169922
VIBs Removed: VMW_bootbank_atlantic_1.0.3.0-8vmw.702.0.0.17867351
VIBs Skipped:
问题依旧,能看到硬件,但就是无法出现在物理网卡列表中。
重新安装esxi
重新安装esxi,选择最新的 7.0.2,安装完成之后发现问题还是存在,排除升级出问题的可能。
1.2 - 更新aqn-108网卡的固件
发现原因
在日志文件 /var/log/vmkernel.log 中发现一行记录:
2021-08-23T17:27:36.834Z cpu24:2097768)atlantic: Claiming PCI device [0x1d6a:0xd108 0x0001:0x1d6a]
2021-08-23T17:27:36.834Z cpu24:2097768)VMK_PCI: 773: device 0000:06:00.0 pciBar 0 bus_addr 0x92840000 size 0x10000
2021-08-23T17:27:37.149Z cpu24:2097768)ALERT: atlantic: 0000:06:00.0 Fw version 105003a is not supported
这应该是表示网卡的固件版本(太低)而不被 atlantic 驱动支持。
刷新固件
打开 Marvell 的官方网站,进入驱动下载页面:
Support | Driver Downloads | - Marvell
“Part Number” 选择 “AQN-108”,在显示出来的驱动内容中找到 “firmware updater utility”,下载下来 MarvellFlashUpdate_v1.8.0_3.1.121.zip :

参照 readme.txt 中的详细说明,在 windows 下刷新 aqn-108 的固件为最新版本。
备注:在这里也可以下载到这个网卡最新的windows和linux驱动。
重新启动
重启 esxi,就能正确的识别并驱动 aqn-108 网卡了。
2021-08-23T23:15:51.798Z cpu14:2097707)atlantic: 0000:06:00.0 DefQRss: 0x1, NetQueue: 0x1
2021-08-23T23:15:51.798Z cpu14:2097707)atlantic: 0000:06:00.0 rss queues: 8
2021-08-23T23:15:51.798Z cpu14:2097707)atlantic: 0000:06:00.0 net queues: 2
2021-08-23T23:15:51.798Z cpu14:2097707)VMK_PCI: 622: device 0000:06:00.0 allocated 11 MSIX interrupts
2021-08-23T23:15:51.798Z cpu14:2097707)DMA: 687: DMA Engine 'atlantic' created using mapper 'DMANull'.
2021-08-23T23:15:51.798Z cpu14:2097707)Device: 400: Found driver atlantic for device 0x62cf43070480587c
2021-08-23T23:15:51.259Z cpu14:2097707)Elf: 2060: module atlantic has license ThirdParty
2021-08-23T23:15:51.259Z cpu9:2097703)CpuSched: 817: user latency of 2097710 tq:vmknvmeTimerQueue 0 changed by 2097703 vmk
2021-08-23T23:15:51.259Z cpu9:2097703)NVMEMOD:1044 Module vmknvme initialized successfully.
2021-08-23T23:15:51.259Z cpu9:2097703)NVMEMOD:1052 NVMF initialized successfully.
2021-08-23T23:15:51.259Z cpu9:2097703)Device: 211: Registered driver 'nvmeBusDriver' from 44
2021-08-23T23:15:51.259Z cpu9:2097703)NVMEMOD:1060 Driver vmknvme registered successfully.
2021-08-23T23:15:51.259Z cpu9:2097703)Mod: 4789: Initialization of vmknvme succeeded with module ID 44.
2021-08-23T23:15:51.259Z cpu9:2097703)vmknvme loaded successfully.
2021-08-23T23:15:51.260Z cpu9:2097703)Loading module nvme_pcie ...
2021-08-23T23:15:51.265Z cpu1:2097704)Elf: 2060: module vmkbsd has license VMware
2021-08-23T23:15:51.271Z cpu14:2097707)Device: 211: Registered driver 'atlantic' from 45
2021-08-23T23:15:51.271Z cpu14:2097707)Mod: 4789: Initialization of atlantic succeeded with module ID 45.
2021-08-23T23:15:51.271Z cpu14:2097707)atlantic loaded successfully.
控制台上也可以在 “物理网卡” 中看到这张 aqn-108 网卡:

后记
反省一下,二十年diy生涯,今天第一次刷网卡固件,汗,见识太少一下子没反应过来网卡也有固件。。。
思维定势,我从来没有玩过高级网卡,甚至都不知道还有网卡固件这回事,导致我没有往这里去想。
后面HP 544+ 网卡到货,第一时间开始刷最新固件。
2 - HP 544+网卡
2.1 - 使用HP 544+网卡
HP 544+网卡是一块性价比非常高的网卡,适合用来体验一下40g/56g超高速网络。
参考资料
2.2 - 升级HP 544+网卡的固件
准备工作
下载固件刷新工具MFT
打开页面
选择 4.17.0 版本,windows操作系统,下载 WinMFT_x64_4_17_0_106.exe 文件。
下载固件
在 hpe.com 网站搜索 764285-b21:
Software Details | HPE Support Center
| 类型: | 固件(Firmware)更新 - 网卡 |
|---|---|
| 版本: | 2.42.5700-Flex-3.4.754 (13 五月 2020) |
刷新固件
参考视频
参考资料
参考网站:
HPE的官方支持网站:
2.3 - 安装HP 544+网卡驱动
进入 Mellanox 官网,打开
NVIDIA Mellanox InfiniBand and VPI Software | NVIDIA##
安装windows驱动
打开windows驱动下载页面:
Mellanox OFED for Windows - WinOF / WinOF-2
选择winOF,windows 10 1909,下载 Mellanox OFED for Windows - WinOF / WinOF-2。
安装linux驱动
TODO:
安装esxi驱动
黑苹果驱动
Mellanox ConnectX-3 40 GbE using ATTO FastFrame macOS driver | MacRumors Forums
参考资料
HPE的官方支持网站:
3 - Realtek 8111网卡
安装驱动
下载下来 net55-r8168-8.045a-napi-offline_bundle.zip 文件,解压缩,将 vib 文件通过 esxi 的数据存储浏览器上传到 datastore1 中。
然后在 manage -》 package 页面中点 Install update ,给出路径如:
/datastore1/upload/net55-r8168-8.045a-napi.x86_64.vib
奈何安装失败!