system
October 17, 2014, 5:32am
1
Hi everyone,
First let me say I tried to search the forums on this and did not find much.
I keep getting an error when trying to install OFED
/var/tmp/rpm-tmp.XlB2R6: line 32: export: `%flavors_to_build}': not a valid identifier
error: Bad exit status from /var/tmp/rpm-tmp.XlB2R6 (%build)
As an example. I have tried different approaches and so on and essentially end up at the point above.
What am I missing and what other information do you require in order to help?
Thanks
Hi Paul,
Thanks for information.
I could not find certain information to resolve the problem but I just found a web page showing that RHEL 6.6 is not supported for every version of MOFED - MLNX_OFED: Firmware - Driver Compatibility Matrix - Mellanox Technologies MLNX_OFED: Firmware - Driver Compatibility Matrix
I don’t know exactly why but you might need to evaluate the installation with another version of RHEL referring to the instruction.
(Btw, in our case in the past, one of the recent version of MOFED was successfully installed on our server that was running with CentOS 6.7.)
Once you’ve installed MOFED on your host, you will be able to check if it is properly running using this command:
# hca_self_test.ofed
I hope the issue is resolved sooner.
Thanks,
Masa
rdarbha
December 5, 2014, 12:20am
3
I might as well continue this adventure.
So after looking in the RPMS dir of the installer I ran:
[root@ RPMS]# rpm -ivh opensm-libs-4.2.5.MLNX20140828.7f05469-0.1.x86_64.rpm
warning: opensm-libs-4.2.5.MLNX20140828.7f05469-0.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY
Preparing… ########################################### [100%]
1:opensm-libs ########################################### [100%]
Preparing… ########################################### [100%]
1:opensm-devel ########################################### [100%]
But this did not bring the joy I had hoped for:
error: Failed build dependencies:
opensm-devel is needed by ibutils-1.5.7.1-0.10.g385f871.x86_64
libibumad-devel is needed by ibutils-1.5.7.1-0.10.g385f871.x86_64
Installing /root/mellanox/MLNX_OFED_LINUX-2.3-2.0.0-rhel6.6-x86_64/src/MLNX_OFED_SRC-2.3-2.0.0/SRPMS/ibutils-1.5.7.1-0.10.g385f871.src.rpm
Everytime…
erezf
November 18, 2014, 1:37pm
4
Hi Isaac,
I believe that the kernel issue you are describing is fixed in MLNX_OFED 2.3-2.0.0
Please give it a try and report back.
Hello Paul,
We typically use this instruction when installing Mellanox OFED (MOFED), especially from Pg# 34 http://www.mellanox.com/related-docs/prod_software/Mellanox_OFED_Linux_User_Manual_v2.2-1.0.1.pdf http://www.mellanox.com/related-docs/prod_software/Mellanox_OFED_Linux_User_Manual_v2.2-1.0.1.pdf
Or you may want to show everyone in this forum what your host computer is / what you’ve done as following;
# uname -a [To validate your architecture and kernel version]
# cat /etc/issue [To see the distribution]
lspci -v | grep -i “mellanox” [What type of HCA is installed on your host]
File name:
Command you tried:
And then some technical guys may be able to see what needs to be done for the installation.
Thanks,
Masa
Thanks for the reply
Well at the moment I have been chopping things up. But…
# cat /etc/issue
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Kernel \r on an \m
# uname -a
Linux ark-tyo10 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
which I rolled back to from 2.6.32-504.el6.x86_64
# lspci -v |grep -i “mell”
41:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
Subsystem: Mellanox Technologies Device 0049
One command I tired was ./install.pl --vma-eth from MLNX_OFED_LINUX-2.1-1.0.0-rhel6.5-x86_64/src/MLNX_OFED_SRC-2.1-1.0.0
Which has worked in the past…
Hi Masahiro san,
Well I rebuilt this machine after getting it into a knot.
I also found despite no messages in this regard that I needed to install redhat-rpm-config
the self test now passed and openibd status looks to be correct. What an exercise!
Hi Paul-san,
Thank’s good news! Then you can manipulate it using commands for IB.
And yes, this forum, I think is very useful and has a lot of ideas from nice users
Thanks,
Masahiro
I have this issue as well, installing mlnx-en-2.3-1.0.0 on CentOS 6.6.
Build output is as follows:
make[1]: Entering directory `/usr/src/kernels/2.6.32-504.1.3.el6.x86_64’
CC [M] /tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/compat/main.o
In file included from /tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/include/linux/compat-2.6.h:67,
from :2:
/tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/include/linux/compat-2.6.37.h:140: error: redeclaration of enumerator ‘ETH_FLAG_TXVLAN’
include/linux/ethtool.h:405: note: previous definition of ‘ETH_FLAG_TXVLAN’ was here
/tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/include/linux/compat-2.6.37.h:141: error: redeclaration of enumerator ‘ETH_FLAG_RXVLAN’
include/linux/ethtool.h:406: note: previous definition of ‘ETH_FLAG_RXVLAN’ was here
make[3]: *** [/tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/compat/main.o] Error 1
make[2]: *** [/tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default/compat] Error 2
make[1]: *** [module /tmp/MLNX_EN.11225/BUILD/mlnx-en-2.3/obj/default] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-504.1.3.el6.x86_64’
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Nq8AHn (%build)
Are there patches or driver updates for RHEL/CentOS 6.6?
Hi, Erez,
The drivers download website only has 2.3-1. Where can I find 2.3-2?
Thanks
Isaac
erezf
November 18, 2014, 3:56pm
11
Hi Isaac,
You’re right, I only noticed the complete MLNX_OFED version went live on the web. it already contains mlx4_en 2.3-2 and you can try if that works out for you
the mlx4_en standalone version should be uploaded this week.
rdarbha
December 4, 2014, 8:14am
13
I myself just tried the 6.6 package for the first time on a new machine.
Some details:
# uname -a
Linux 2.6.32-504.1.3.el6.x86_64 #1 SMP Fri Oct 31 11:37:10 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
package - MLNX_OFED_LINUX-2.3-2.0.0-rhel6.6-x86_64
What I got in the log:
error: Failed build dependencies:
opensm-devel is needed by ibutils-1.5.7.1-0.10.g385f871.x86_64
Cheers
yairi
December 6, 2018, 12:22pm
14
Original message from @Paul Young