Proxmox VE v5.x + Mellanox ConnectX-3

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

awedio

Active Member
Feb 24, 2012
776
225
43
Does anyone have the above combo installed?
If so, what drivers did you use?
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,513
5,804
113
I was thinking of doing this for my next Proxmox build.
 

awedio

Active Member
Feb 24, 2012
776
225
43
I also posted this question on the Proxmox forums.

The Mellanox site only has drivers for Debian 8.3.
I tried using the 8.3 drivers but I'm getting some errors.

# ./install --distro debian8.3
Log: /tmp/ofed.build.log
Logs dir: /tmp/mlnx-en.31026.logs

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-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...
One or more required packages for installing mlnx-en are missing.
/lib/modules/4.10.1-2-pve/build/scripts is required for the Installation.
Attempting to install the following missing packages:
m4 autoconf swig automake dkms autotools-dev python-libxml2 graphviz debhelper chrpath dpatch quilt libltdl-dev linux-headers-4.10.1-2-pve
Failed command: apt-get install -y m4 autoconf swig automake dkms autotools-dev python-libxml2 graphviz debhelper chrpath dpatch quilt libltdl-dev linux-headers-4.10.1-2-pve
 

awedio

Active Member
Feb 24, 2012
776
225
43
How does one acquire this pve script?
/lib/modules/4.10.1-2-pve/build/scripts
 

_alex

Active Member
Jan 28, 2016
866
97
28
Bavaria / Germany
should be apt-get install pve-headers-4.10.1-2-pve

eventually the ofed installer will still struggle due to weird dependencies.
i gave up on ofed with proxmox due to them and live happy with in-tree drivers on cx2 and cx3
 

awedio

Active Member
Feb 24, 2012
776
225
43
should be apt-get install pve-headers-4.10.1-2-pve

eventually the ofed installer will still struggle due to weird dependencies.
i gave up on ofed with proxmox due to them and live happy with in-tree drivers on cx2 and cx3
What is "in-tree drivers on cx2 & cx3"?
 

_alex

Active Member
Jan 28, 2016
866
97
28
Bavaria / Germany
the drivers/kernel modules/tools that ship with proxmox/it's kernel, these should be ,ok' and there is no need to build/re-compile with each kernel upgrade. they can be installed and upgraded with apt.

how do you plan to use your connectx-3 cards, ib/rdma or ethernet?
what type of cards?
 

awedio

Active Member
Feb 24, 2012
776
225
43
Dual port, MCX354A-FCBT, Ethernet only.
I've installed Proxmox v5.x, the card does not show up under networks?
 

awedio

Active Member
Feb 24, 2012
776
225
43
Are you saying the "in-box" Debian driver should be enough for the card to be recognized?
 

awedio

Active Member
Feb 24, 2012
776
225
43
The card is installed:
lspci -v | grep Mellanox
82:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
Subsystem: Mellanox Technologies MT27500 Family [ConnectX-3]
 

awedio

Active Member
Feb 24, 2012
776
225
43
I decided to re-install Proxmox from scratch.
It seems there is no way to change & save the port config without MLNX-OFED?