Mellanox ConnectX-4

Matus

Active Member
Mar 31, 2017
28
0
41
66
We have problem to install Mellanox card on Proxmox 6
kernel: 4.15.18-24-pve
Output of lspci -k:
04:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Subsystem: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
04:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Subsystem: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]

But there is no kernel driver.

On Mellanox pages is only driver for Debian 9.9. - mlnx-en-4.7-3.2.9.0-debian9.9-x86_64

install --skip-distro-check
ends with error:
One or more required packages for installing mlnx-en are missing.
/lib/modules/4.15.18-24-pve/build/scripts is required for the Installation.
Attempting to install the following missing packages:
linux-headers-4.15.18-24-pve
Failed command: apt-get install -y linux-headers-4.15.18-24-pve


We did this:
wget http://download.proxmox.com/debian/...ve-headers-4.15.18-5-pve_4.15.18-24_amd64.deb
dpkg -i pve-headers-4.15.18-5-pve_4.15.18-24_amd64.deb


But it doesnot help.
 
Your main problem is going to be that Proxmox VE 6 is not just Debian 10, it is a newer kernel than normal Debian 10.

In fact, I do not know how you got 4.15 on Proxmox VE 6 as 4.15 is used on Proxmox VE 5.4.
If you have 5.4, that is indeed Debian 9 so it might work, possible. Still a way newer kernel than vanilla Debian 9, however.

If you were running the VE 6.1 kernel (which is 5.3 and up), chances are that is new enough to support a ConnectX-4 out of the box.
 
ConnectX-3 works out of the box with Proxmox. I install on top of Debian 10. I'm pretty sure ConnectX-4 is also supported.

Why are you on kernel 4.15?
 
Thank you for comments. Sorry for my mistake, it is testing environment, therefore old kernel.
After couple of restarts it is working well.
There is only problem with installing Mellanox utilities. But they are not necessary.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!