@大法师 编译内核使用命令make Image -j4
,然后编译模块make modules -j4
,并没有报错,内核 make modules_install
也是成功的
当前日志显示
coolpi@coolpi:~/Downloads/mlnx-en-23.04-0.5.3.3-ubuntu22.04-aarch64$ sudo ./install --force-dkms
Logs dir: /tmp/mlnx-en.6425.logs
General log file: /tmp/mlnx-en.6425.logs/general.log
Below is the list of mlnx-en packages that you have chosen
(some may have been added by the installer due to package dependencies):
ofed-scripts
mlnx-tools
mlnx-en-utils
mlnx-en-dkms
mstflint
This program will install the mlnx-en package on your machine.
Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.
Those packages are removed due to conflicts with mlnx-en, do not reinstall them.
Do you want to continue?[y/N]:y
Checking SW Requirements...
Removing old packages...
Uninstalling the previous version of mlnx-en
Installing new packages
Installing ofed-scripts-23.04...
Installing mlnx-tools-23.04...
Installing mlnx-en-utils-23.04...
Installing mlnx-en-dkms-23.04...
Installing mstflint-4.16.1...
Selecting previously unselected package mlnx-fw-updater.
(Reading database ... 196397 files and directories currently installed.)
Preparing to unpack .../mlnx-fw-updater_23.04-0.5.3.3_arm64.deb ...
Unpacking mlnx-fw-updater (23.04-0.5.3.3) ...
Setting up mlnx-fw-updater (23.04-0.5.3.3) ...
Initializing...
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
Device #1:
----------
Device Type: ConnectX4LX
Part Number: MCX4121A-ACA_Ax
Description: ConnectX-4 Lx EN network interface card; 25GbE dual-port SFP28; PCIe3.0 x8; ROHS R6
PSID: MT_2420110034
PCI Device Name: 0001:11:00.0
Base MAC: 98039b2ba640
Versions: Current Available
FW 14.22.1002 14.32.1010
PXE 3.5.0403 3.6.0502
UEFI 14.15.0019 14.25.0017
Status: Update required
---------
Found 1 device(s) requiring firmware update...
Device #1: Updating FW ...
Done
Restart needed for updates to take effect.
Log File: /tmp/C3m3Iz3_P3
Real log file: /tmp/mlnx-en.6425.logs/fw_update.log
Device (0001:11:00.0):
0001:11:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Link Width: x2 ( WARNING - device supports x8 )
PCI Link Speed: 2.5GT/s
Device (0001:11:00.1):
0001:11:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Link Width: x2 ( WARNING - device supports x8 )
PCI Link Speed: 2.5GT/s
Installation passed successfully
To load the new driver, run:
/etc/init.d/mlnx-en.d restart