Loading... ## 前言 记录下折腾家庭**万兆高速网络**的过程, 驱动缺失/版本老旧带来的问题, 导致个人必须手动(编译/)安装, 这个过程对于很多人是个不小挑战, 这里记录下自己的折腾过程(**在Linux环境中**). ## Marvell --- 早期的买到的万兆网卡/雷电网卡的芯片, 用的比较多的就是他们家的, 比如AQC107的网卡和雷电万兆网卡(Intel雷电芯片+AQC107) 比较新的系统大概率直接集成了对应的驱动, 对于想要升级到最新或者因为缺失驱动需要手动安装的情景, 可以来此下载驱动文件 * 官网: https://www.marvell.com/support/downloads.html# * 经销商处一般也会提供驱动, 但不一定有全部平台的; 驱动版本不一定最新 ![image.png](https://zoe.red/usr/uploads/2024/09/3559245393.png) ## Intel-ixgbe --- Intel家的万兆网卡驱动, 适合如下网卡: ```bash The driver is compatible with devices based on the following: * Intel(R) Ethernet Controller 82598 * Intel(R) Ethernet Controller 82599 * Intel(R) Ethernet Controller X520 * Intel(R) Ethernet Controller X540 * Intel(R) Ethernet Controller x550 * Intel(R) Ethernet Controller X552 * Intel(R) Ethernet Controller X553 ``` 官网驱动下载(源码): * 最新v5.20链接: https://www.intel.com/content/www/us/en/download/14302/intel-network-adapter-driver-for-pcie-intel-10-gigabit-ethernet-network-connections-under-linux.html 最新驱动程序(源码): https://github.com/intel/ethernet-linux-ixgbe 编译安装过程参考解压目录下README操作即可 实施参考: ... --- **扩展: 网卡固件更新** * win10固件更新X550-T2: https://community.intel.com/t5/Ethernet-Products/Unable-to-Upgrade-X550-T2-NVM-Firmware/m-p/1472249 * 关于window下无法自动协商到2.5G的帖子: https://www.chiphell.com/thread-2614843-1-1.html * 方式1, 尝试OK: Intel官方升级的最新的驱动, 手动指定2.5G速率; 2024/02/08. v4.1.254.0 * 尝试2, 尝试OK: 回退到window自带的驱动版本: 2019/11/13, v4.1.196.0 * dell的x550-t2固件更新: 必须要使用dell发布的固件更新工具才可以更新 * 最新链接: https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=wttp6 * v22.0.9的固件更新程序可以升级固件版本到3.8.0, 比intel官网的版本稍落后些 * 备注: 使用winpe的环境(要求可以正常上网, 如edgeless)对部署在linux服务器上的x550-t2进行固件更新 Intel固件更新程序 ![image.png](https://zoe.red/usr/uploads/2024/09/2687601023.png) Dell固件更新 ![image.png](https://zoe.red/usr/uploads/2024/09/3729427504.png) ![image.png](https://zoe.red/usr/uploads/2024/09/1532968072.png) 更新20240912: X550-T2 OEM刷Intel固件 * 结论: 有OEM提供更新的情况尽量不要折腾刷Intel官方固件, 避免各种莫名问题 * 参见: * 讨论: https://www.chiphell.com/forum.php?mod=viewthread&tid=2409802&extra=&ordertype=1&page=1 * 强刷: https://www.mobile01.com/topicdetail.php?f=504&t=6757753 ## Mellanox --- Mellanox ConnectX4-Lx 4121C 双口25G网卡在UBuntu22.04桌面系统上升级过驱动(默认系统直接可以驱动), 并且成功 * 参照教程: https://blog.csdn.net/2301_76372209/article/details/135850461 * 由于Mellanox被NVIDIA收购(2020年), 因此最新官方驱动地址变更为: https://network.nvidia.com/products/infiniband-drivers/linux/mlnx_ofed * 下载最新版本的驱动, 上传到服务器上, 解压后手动执行`./mlnxofedinstall` ![驱动下载](https://zoe.red/usr/uploads/2024/09/625871585.png) <span style='color:red'>备注: Mellanox 网卡支持温度查询, 安装了上述Linux版本官方驱动后, 会有[mget_temp](https://docs.nvidia.com/networking/display/mftv4250/mget_temp+utility)工具, 指定设备号参数后即可查询实时温度.</span> ## 补充: 简易雷电硬盘盒万兆网卡制作 --- 对于有全功能USB4或者雷电3/4的主机, 可以使用雷电硬盘盒子(Intel雷电芯片或者ASM2464芯片)+M2转PCIE+PICE万兆网卡(首选低功耗的, 比如AQC107/AQC113, 否则直接用识别不了; 注意服务器拆机的10w+功耗网卡一定要外接供电后使用) 测试过的方案: * 方案1: WERO的雷电硬盘盒(JHL7540) + 淘宝15元的M2转PCIE板子+ comfast的AQC107单电口万兆 * 方案2: 海贝思的雷电硬盘盒(ASM2464)+淘宝15元的M2转PCIE板子+ comfast的AQC107单电口万兆 * 其它失败: 未接外部供电 * 网卡换成了x540-t2, x550-t2, mcx4-lx 测试环境1(Wero JHL7540): NUC13-PVE8.2/NUC11-Ubuntu22.04桌面版 雷电扩展万兆均成功识别 ![image.png](https://zoe.red/usr/uploads/2024/09/1506140576.png) ![image.png](https://zoe.red/usr/uploads/2024/09/198264669.png) 测试环境2(海贝思ASM2464): NUC13-PVE8.2 雷电扩展万兆成功识别 * NUC11-Ubuntu22.04桌面版未成功 ![image.png](https://zoe.red/usr/uploads/2024/09/4249037845.png) <span style='color:red'>后续待尝试: 如果外接供电, 高功耗拆机服务器网卡是否可以在此方案下正常工作 2024/09/07 ???</span> * 240909尝试结果: 确实可行, 尝试方案详情如下 * 供电部分选择台达12V, 6A DC电源(来自QNAP NAS), DC转SATA供电转接线购买自淘宝22块 * 尝试网卡1: Intel X550-T2万兆网卡, 万兆速率功耗~17w; * 尝试网卡2: Mellanox ConnectX4-Lx4121C 25G网卡, + 10G速率光电转换头, 功耗? * 部分截图如下 * 特别对比: * comfast AQC107单电口万兆网卡, 无需外部供电可识别工作, 但是在有外部供电的情况下, 稳定性更好: iperf3 双向打流测试, retr指标有供电为0, 无供电会存在很大波动 * 备注: 使用外部供电方案时, 需要注意搭配的高功耗网卡的散热问题!!! ![image.png](https://zoe.red/usr/uploads/2024/09/3238416561.png) ![image.png](https://zoe.red/usr/uploads/2024/09/163842751.png) ![image.png](https://zoe.red/usr/uploads/2024/09/587505857.png) ## 补充: 成品雷电万兆网卡 --- 对于笔记本或者其它有有高速网络使用需求的场景, 雷电扩展的高速网卡是一种不错的方案. 这里列举部分了解的雷电扩展万兆网卡 雷电三转万兆电: caldigit的雷电万兆扩展, Intel雷电芯片+AQC107网卡 * 链接: https://www.caldigit.com/zh/connect-10-g-zh/ ![image.png](https://zoe.red/usr/uploads/2024/09/4087093204.png) 雷电三转万兆电: 乐扩USB4万兆网卡, ASM2464雷电芯片+AQC113网卡 * 链接: http://www.mmui.com.cn/index.php?id=1766 ![image.png](https://zoe.red/usr/uploads/2024/09/786540508.png) 雷电3/4转万兆光/电:ATTO家有多种雷电转万兆网络方案 * 产品1: NQ 3402, 雷电转40G 双光口, 受限于雷电接口, 实际用于数据传输的带宽上限~22G * 产品2: 3252, 雷电转25G 双光口, 受限于雷电接口, 实际用于数据传输的带宽上限~22G * 官网介绍: https://www.atto.com/products/thunderlink-adapters ![image.png](https://zoe.red/usr/uploads/2024/09/2278297347.png) 雷电转万兆光: SONNETTECK也有多种雷电转万兆方案, 其中雷电转25G 双光口 * 网卡芯片Mellanox ConnectX4-lx 25G, PCIEx8 * 链接: https://www.sonnetstore.com/collections/networking-adapters/products/twin25g-thunderbolt-adapter ![image.png](https://zoe.red/usr/uploads/2024/09/2603818353.png) THE END 本文作者:将夜 本文链接:https://zoe.red/2024/640.html 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。 最后修改:2024 年 09 月 14 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏