Installing MFT on Debian or Proxmox VE
Installing MFT
Installing the Mellanox MFT tools on Debian and Proxmox VE is mostly the same, except for the headers package dependency requirement.
Debian Dependencies
In Debian we can install the required dependencies with the following command:
sudo apt install build-essential linux-headers-$(uname -r) dkms
Proxmox VE Dependencies
In Proxmox VE we need to slightly change the dependencies to use the correct
headers package proxmox-default-headers
.
sudo apt install build-essential proxmox-default-headers dkms
Downloading the MFT Package
Go to the following link for downloading Mellanox Drivers and download the desired version:
https://network.nvidia.com/products/adapter-software/firmware-tools/
In this case we will use the latest linux package.
#!/bin/bash
MLX_DIR="/opt/mlx_drivers"
MLX_DEB_URL="https://www.mellanox.com/downloads/MFT/mft-4.33.0-169-x86_64-deb.tgz"
# Create a directory to be a bit more organized
mkdir "$MLX_DIR" || {
echo "Could not create directory, quitting." && exit 1;
}
# Change dir to that path
cd "$MLX_DIR"
# Download the package
wget "$MLX_DEB_URL"
# De-compress the tar file
tar xvf mft-*.tgz
# Change directory to the decompressed path
cd $(find -name "*-deb")
# Install the package
./install.sh
You should now have mst
and i2c
available.
root@pve:~# mst start
root@pve:~# mst status
# Output
MST modules:
------------
MST PCI module is not loaded
MST PCI configuration module loaded
MST devices:
------------
/dev/mst/mt4123_pciconf0 - PCI configuration cycles access.
domain:bus:dev.fn=0000:01:00.0 addr.reg=88 data.reg=92 cr_bar.gw_offset=-1
Chip revision is: 00