I did a clean install of Ubuntu 16.04 on a machine that had 2x ConnectX-3 Pro EN cards (the dual 40GbE versions). The Mellanox instructions were written for pre-Ubuntu 16.04 I believe since you need Python 2.7.
Here are the steps you need:
That stopped all of the installation errors (first dependency and second the install failed on a setup python script.)
Success:
Somewhat exciting since I just purchased another six of the MCX314A cards so I will be doing this, a lot.
Also links to the Mellanox EN Download Center: http://www.mellanox.com/page/products_dyn?product_family=27
and the Installation guide: http://www.mellanox.com/related-docs/prod_software/Mellanox_EN_for_Linux_User_Manual_v3_30.pdf
Here are the steps you need:
Code:
sudo apt-get -y install debhelper autotools-dev dkms zlib1g-dev python
wget http://www.mellanox.com/downloads/Drivers/mlnx-en-3.3-1.0.0.0.tgz
tar xzvf mlnx-en-3.3-1.0.0.0.tgz
cd mlnx-en-3.3-1.0.0.0/
sudo ./install.sh
Success:
Code:
Device #1:
----------
Device Type: ConnectX3
Part Number: MCX314A-BCB_A1-A3
Description: ConnectX-3 EN network interface card; 40GigE; dual-port QSFP; PCIe3.0 x8 8GT/s; RoHS R6
PSID: MT_1090110023
PCI Device Name: 47:00.0
Port1 MAC: 0002c9f67ec0
Port2 MAC: 0002c9f67ec1
Versions: Current Available
FW 2.10.0800 2.36.5000
PXE 3.3.0420 3.4.0718
Status: Update required
---------
Found 1 device(s) requiring firmware update...
Device #1: Updating FW ... Done
Also links to the Mellanox EN Download Center: http://www.mellanox.com/page/products_dyn?product_family=27
and the Installation guide: http://www.mellanox.com/related-docs/prod_software/Mellanox_EN_for_Linux_User_Manual_v3_30.pdf