安裝 Mellanox Technologies MT27800 Family [ConnectX-5] 網卡遇到的問題
# ./install
Logs dir: /tmp/mlnx-en.5939.logs
General log file: /tmp/mlnx-en.5939.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-5.6...
Installing mlnx-tools-5.2.0...
Installing mlnx-en-utils-5.6...
Installing mlnx-en-dkms-5.6...
Installing mstflint-4.16.1...
Selecting previously unselected package mlnx-fw-updater.
(Reading database ... 210670 files and directories currently installed.)
Preparing to unpack .../mlnx-fw-updater_5.6-2.0.9.0_amd64.deb ...
Unpacking mlnx-fw-updater (5.6-2.0.9.0) ...
Setting up mlnx-fw-updater (5.6-2.0.9.0) ...
Initializing...
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
write counter to semaphore: Operation not permitted
write counter to semaphore: Operation not permitted
write counter to semaphore: Operation not permitted
write counter to semaphore: Operation not permitted
Device #1:
----------
Device Type: N/A
Part Number: --
Description:
PSID:
PCI Device Name: 01:00.0
Port1 MAC: N/A
Port1 GUID: N/A
Port2 MAC: N/A
Port2 GUID: N/A
Versions: Current Available
FW --
Status: Failed to open device
---------
-E- Failed to query 01:00.0 device, error : No such file or directory.
MFE_CR_ERROR
Log File: /tmp/sjNcu8e07V
Real log file: /tmp/mlnx-en.5939.logs/fw_update.log
Device (01:00.0):
01:00.0 Ethernet controller: Mellanox Technologies MT27800 Family
[ConnectX-5]
Link Width: x16
PCI Link Speed: 8GT/s
Device (01:00.1):
01:00.1 Ethernet controller: Mellanox Technologies MT27800 Family
[ConnectX-5]
Link Width: x16
PCI Link Speed: 8GT/s
Installation passed successfully
To load the new driver, run:
/etc/init.d/mlnx-en.d restart
root@frblab1:/media/dvd# /etc/init.d/mlnx-en.d restart
Unloading NIC driver: [ OK ]
Loading Mellanox MLX5 NIC driver: [FAILED]
Loading NIC driver: [FAILED]
Please run /usr/sbin/sysinfo-snapshot.py to collect the debug information
and open an issue in the
http://support.mellanox.com/SupportWeb/service_center/SelfService
主要遇到”write counter to semaphore: Operation not permitted”這個問題,後來找到必須要停止使用 secure boot :
# mokutil --disable-validation