1 Reply Latest reply on Jun 1, 2016 12:09 PM by sophie

    Centos 6.7 + MT25208 InfiniHost III Ex

    alc

      Hi Guys,

       

      I would really appreciate some help installing MT25208 InfiniHost III Ex driver on Centos 6.7.

       

      My configuration:

      # lspci | grep fini

      06:00.0 InfiniBand: Mellanox Technologies MT25208 InfiniHost III Ex (Tavor compatibility mode) (rev 20)

       

      #cat /etc/issue

      CentOS release 6.7 (Final)

       

      #uname -r

      2.6.32-573.el6.x86_64

       

      What i did already:

       

       

      1. Tried to install via Yum, as mentioned in the following link:  https://access.redhat.com/solutions/301643

      But with no luck.

       

      2. Tried to install MLNX_OFED_LINUX-3.2-2.0.0.0-rhel6.7-x86_64.iso

      when it didn't work, i found in the user manual that the driver has no support for my hardware.

       

      3. I found the latest driver that support MT25208 InfiniHost III - MLNX_OFED_LINUX-1.5.2-2.1.0-rhel6.1.iso

       

       

          which wasn't easy, because you cant even find it the archive section

              a.   tried to install it via: ./mlnxofedinstall

              b. got " The 2.6.32-573.el6.x86_64 kernel is installed, but do not have drivers available. Cannot continue."

              c. Tried to build it via  ./mlnx_add_kernel_support.sh

              d. got "ERROR: Linux Distribution (centos-release-6-7.el6.centos.12.3.x86_64) is not supported"

       

      4. Tried to build from source using OFED-1.5.2-rc7.tgz

           a. I extracted the files using: tar xzvf OFED-1.5.2-rc7.tgz

           b. run ./install.pl

           c. i chose "Basic (OFED modules and basic user level libraries)"

           d. but it failed to build, with following errors from: /tmp/OFED.21700.logs/ofa_kernel.rpmbuild.log:

       

      -------------------------------

       

      -I/usr/src/kernels/2.6.32-573.26.1.el6.x86_64/arch/x86/include \

      -include /lib/modules/2.6.32-573.el6.x86_64/build/include/linux/autoconf.h \

      -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -D"DEBUG_HASH=44" -D"DEBUG_HASH2=11" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband/core/addr.c

      In file included from include/net/addrconf.h:51,

                       from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband/core/addr.c:43:

      include/net/ipv6.h:271:5: warning: "IS_ENABLED" is not defined

      include/net/ipv6.h:271:15: error: missing binary operator before token "("

      make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband/core/addr.o] Error 1

      make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband/core] Error 2

      make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2/drivers/infiniband] Error 2

      make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.2] Error 2

      make[1]: Leaving directory `/usr/src/kernels/2.6.32-573.26.1.el6.x86_64'

      make: *** [kernel] Error 2

      error: Bad exit status from /var/tmp/rpm-tmp.XEtXu6 (%build)

       

       

       

       

      RPM build errors:

          user vlad does not exist - using root

          group vlad does not exist - using root

          user vlad does not exist - using root

          group vlad does not exist - using root

          line 115: prereq is deprecated: PreReq: coreutils

          line 116: prereq is deprecated: PreReq: kernel

          line 117: prereq is deprecated: Prereq: pciutils

          line 118: prereq is deprecated: Prereq: grep

          line 119: prereq is deprecated: Prereq: perl

          line 120: prereq is deprecated: Prereq: procps

          line 121: prereq is deprecated: Prereq: module-init-tools

          line 130: prereq is deprecated: PreReq: coreutils

          line 131: prereq is deprecated: PreReq: kernel

          line 132: prereq is deprecated: Prereq: pciutils

          Bad exit status from /var/tmp/rpm-tmp.XEtXu6 (%build)

      -------------------------------

       

      Any ideas?

      I am starting to get a little desperate, because i am starting to think that it is not possible to install this old hardware with Centos 6.7.

      tnx...