PowerEdge:从 RHEL 中的源软件包安装 Mellanox ConnectX 网络驱动程序

Summary: 在 Red Hat Enterprise Linux (RHEL) 上从源代码编译和安装 Mellanox ConnectX-6 Dx 网卡驱动程序的分步指南。按照以下步骤作,确保在 Linux作系统中成功安装驱动程序。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

以下步骤将指导您在 Red Hat Enterprise Linux (RHEL)作系统
 
上编译 Mellanox ConnectX-6 Dx 网卡的驱动程序在本演示中,我们将使用运行 Red Hat Enterprise Linux (RHEL) 7.9 的 PowerEdge R650 服务器。

内核版本:3.10.0-1160.el7.x86_64
  
内核版本
 
我们安装了 Mellanox ConnectX-6 DX 以太网适配器固件版本 22.35.10.12。

 
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=90f25&oscode=rhel8&productcode=poweredge-r650有关此固件的外部发行说明 - https://dl.dell.com/FOLDER09232770M/1/CX6DXFW.txt?uid=3ebf49bc-294a-40ca-e8ea-e93d080dc5cb&fn=CX6DXFW.txt

使用此固件版本验证支持的作系统和驱动程序。 
 
使用此固件版本验证支持的作系统和驱动程序 
 
让我们检查一下此服务器上安装的 Mellanox 固件和驱动程序版本。
我们有默认的收件箱 Mellanox 驱动程序,mlx5_core版本 5.0-0安装。
安装的固件版本 22.35.10.12
 
固件版本检查 

我们已下载 Mellanox Linux 驱动程序和安装脚本版本 5.7-1.0.2.0 它已通过此固件版本认证,并在 /tmp 目录。
安装
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=679tp&oscode=rhel8&productcode=poweredge-r7525
 
下载 Mellanox 
 

创建本地 YUM 存储库或使用联机 Red Hat 存储库进行连接,以安装驱动程序编译所需的以下软件包。 
 
# yum groupinstall "Development Tools"
# yum install kernel-devel-$(uname -r)
 
Run the below command to extract the tar package
# tar -xvf MLNX_OFED_SRC-5.7-1.0.2.0.tar
 
Yum 存储库 
 

 导航到解压的文件夹并执行安装脚本。
 
 
 导航到解压的文件夹并执行安装脚本。 
 
根据您的要求选择所需的安装选项。以防万一缺少任何依赖文件。
可能已经安装了这些许可证并再次启动安装过程。

根据您的要求选择所需的安装选项。以防万一缺少任何依赖文件。 
 
选择延续 
 
选择的输出 
 
 
输出(续) 

此内核的所有 RPM 软件包都已创建,并可在下面列出的目录中找到。

此内核的 RPM 软件包已创建,可在列出的目录中找到 
 
重新启动服务器并检查已安装的驱动程序包。
 
重新启动服务器并检查已安装的驱动程序包。 
 

Affected Products

Mellanox Family of Adapters

Products

DD6900 Appliance, OEMR R440, OEMR R640, OEMR R650, OEMR R650xs, OEMR R6515, OEMR R6525, OEMR R660, OEMR R660xs, OEMR R6615, OEMR R6625, OEMR R740, OEMR R740xd, OEMR R740xd2, OEMR R750, OEMR R750xa, OEMR R750xs, OEMR R7515, OEMR R7525, OEMR R760 , OEMR R760XD2, OEMR R760xs, OEMR R7625, OEMR R860, OEMR R960, OEMR XL R7625, Poweredge C4140, PowerEdge C6420, PowerEdge C6520, PowerEdge C6615, PowerEdge HS5620, PowerEdge R440, PowerEdge R640, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7625, PowerEdge R860, PowerEdge R960, PowerEdge XE8545, PowerEdge XE9640, PowerFlex appliance R650, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760, PowerFlex appliance R7625, PowerFlex custom node R650, PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525 ...
Article Properties
Article Number: 000230734
Article Type: How To
Last Modified: 04 Dec 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.