mellanox driver install fails

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
4evernoob
Level 1
Level 1
Posts: 2
Joined: Fri Jan 19, 2018 11:02 am

mellanox driver install fails

Post by 4evernoob » Fri Jan 19, 2018 11:25 am

Mellanox driver (mlnx-en-4.2-1.0.1.0-ubuntu16.04-x86_64) fails with "Current operation system in not supported!"
uname -a = Linux store 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
How can I get this working. Only thing I know to do is install ubuntu 16.04 and do the install there which worked for me before but then I wanted to try out Mint. Always found some other way on so many flavors of linux but now lets try to do it the right way.

User avatar
ClixTrix
Level 4
Level 4
Posts: 477
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: mellanox driver install fails

Post by ClixTrix » Fri Jan 19, 2018 12:09 pm

Interesting......

I searched on the error and found this file.

http://bgate.mellanox.com/openstack/mel ... fedinstall

If you search for the error, it shows a section of code that checks "distro" and if not correct produces the error. It specifically checks for ubuntu or debian. I'm betting that's why the error, i.e. linux mint is a different distro.
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.21 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

4evernoob
Level 1
Level 1
Posts: 2
Joined: Fri Jan 19, 2018 11:02 am

Re: mellanox driver install fails

Post by 4evernoob » Sat Jan 20, 2018 1:41 am

Thanks for you reply.
There is a file in the root of the driver pack called distro and inside that txt file is ubuntu16.04.
I thought Mint was ubuntu just,,, Mint flavored. My current version is 16.04.2 so I thought that was the hangup. ???
Turns out that my connection issue was I had jumbo frames enabled on all the nics but I think when I setup the switch I didn't write the jumbo frames setting to memory and the switch got rebooted and thus setting MTU back to 1500.
This driver issue is still an open question for me. Lets say I installed ubuntu 16.04 and then installed this driver what happens when the kernel gets updated does the driver stop functioning? Or would it be a ubuntu version change like 16.10 that would cause it to stop working?

User avatar
ClixTrix
Level 4
Level 4
Posts: 477
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: mellanox driver install fails

Post by ClixTrix » Sat Jan 20, 2018 8:31 am

In looking at the Perl code that produced the error, it simply is checking distro name, and not the version or release level. I believe the distro name for Mint is linuxmint.

There is a section of code in the file I linked that checks for distro. It appears to use the lsb-release file.

If you run the following command from Terminal, I believe you'll see the answer on why it's not finding ubuntu or debian.

Code: Select all

cat /etc/lsb-release
One comment in the code does catch my attention.

# don't auto-detect distro if it's provided by the user.

That does suggest there is the potential to set or pass the name, i.e. pass it ubuntu. I would need to see documentation on the package to better understand exactly what's possible.
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.21 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

Post Reply

Return to “Hardware Support”