Failed to Build Intel OFED on CentOS 6.5 X86_64

Failed to Build Intel OFED on CentOS 6.5 X86_64

Hi,

while Install IntelIB-Basic.RHEL6-x86_64.7.2.1.1.22 on CentOS 6.5 x86_64, Following error is comming

-I/usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include \
 -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(transport)"  -D"KBUILD_MODNAME=KBUILD_STR(xprtrdma)" -D"DEBUG_HASH=38" -D"DEBUG_HASH2=2" -c -o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/.tmp_transport.o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c
/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c: In function 'xprt_rdma_connect_worker':
/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c:218: error: 'struct rpc_xprt' has no member named 'shutdown'
make[3]: *** [/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.o] Error 1
make[2]: *** [/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma] Error 2
make[1]: *** [_module_/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
make: *** [kernel] Error 2

 

..

 

11 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Let me make sure I am not misunderstanding what you are doing.

You have a system with an Intel True Scale adapter; you downloaded IntelIB-Basic.RHEL6-x86_64.7.2.1.1.22.tgz from the Intel download site but when you tried to build it, you got the error you copied in your message.

You don't explicitly say it, but since you are posting to the Intel(r) Xeon Phi(tm) coprocessor forum, can I assume you have one or more coprocessors installed in your system? If so, the directions for installing OFED with the MPSS say that, for RHEL 6.5, you should use the OFED that comes with that OS release, instead of the True Scale download. Because CentOS is not one of the officially supported operating systems for use with the MPSS, the MPSS directions don't cover it, but I believe that for CentOS 6.5, you should follow the RHEL 6.5 directions and use the OFED that comes with the CentOS release. 

If you do not have coprocessors installed in the system, then we should probably move this thread to a more appropriate forum. It looks like there is some kind of mismatch between the kernel headers on your system and the ones the IntelIB code is expecting, but people who are more experienced in the OFED code itself would be better able to tell you what and where.

I'm getting this exact same error when trying to build the OFED-3.5-MIC stack on my system.  Our kernels are slightly different, but the errors are the same.  We are using ConnectX IB cards so we need to build the OFED stack on our 6.2 systems.  I know we should be using OFED-1.5.4.1, but we were advised by Intel to try and get the newer stack working so that we could fix some performance issues we are having.  Were you able to resolve this issue? Here is the error for us as well:

-I/usr/src/kernels/2.6.32-358.23.2.el6.x86_64/arch/x86/include \
 -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 -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(transport)"  -D"KBUILD_MODNAME=KBUILD_STR(xprtrdma)" -D"DEBUG_HASH=46" -D"DEBUG_HASH2=28" -c -o /var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma/.tmp_transport.o /var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma/transport.c
/var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma/transport.c: In function 'xprt_rdma_connect_worker':
/var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma/transport.c:202: error: 'struct rpc_xprt' has no member named 'shutdown'
make[3]: *** [/var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma/transport.o] Error 1
make[2]: *** [/var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5/net/sunrpc/xprtrdma] Error 2
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/intel-mic-ofed-compat-rdma-3.5] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.23.2.el6.x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.I28dA9 (%build)

 

University of Tennessee National Institute for Computational Sciences

I have one test system with Scientific Linux 6.4 and MPSS-3.1.2. I encounter the same problem as posted by Peltz when I install OFED-3.5-1-MIC-beta1 on MPSS-3.1.2. The installer fails at the intel-mic-ofed-compat-rdma-3.5 module with exactly the same error. I also run other systems with MPSS-2.1 and OFED-3.5-MIC -- the full version as of Dec. 30, not the release candidates -- that work without any problems. I don't know which version of MPSS you are running, but note that OFED-3.5-MIC is not compatible with MPSS-3.* .

What actually works for me on MPSS-3.1.2 is to do the following installation procedure for the OFED-3.5-1-MIC-beta1. (1) Run the installer with option "Basic". (2) Rerun the installer with option "HPC". The option "All" fails at the compat-rdma module. I have only tested the installation in a rather rudimentary way (running some ib*-tools integrity checks), but as far as I can see right now the modules relevant for the IB fabric are working. However, this way the development libraries and some other stuff is missing. I also think running only (2) will also work.

Hope that helps. If you find a solution please post it in the forum.

Hi,

Error coming due to Linux kernel source version (2.6.32-431.el6.x86_64), because In latest kernel version some unused variables are removed ( based on the buglist release for kernel by redhat). By that shutdown variable remove from kernel source, but not updated in the Intel OFED.

Do you have an SDP from Intel? If so, please submit a bug report.

If you don't, please give me all the information you can about it so that I can submit one for you.

Regards
--
Taylor

So I have a similar error on centos 6.4 , 2.6.32-358.18.1.el6.x86_64

so what I did was:

cd IntelIB-Basic.RHEL6-x86_64.7.2.2.0.8

./INSTALL -U --32bit --rebuild --kernel_configure_options '--with-nfsrdma-mod'

-I/usr/src/kernels/2.6.32-358.18.1.el6.x86_64/arch/x86/include \
 -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 -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(svc_rdma_recvfrom)"  -D"KBUILD_MODNAME=KBUILD_STR(svcrdma)" -D"DEBUG_HASH=36" -D"DEBUG_HASH2=18" -c -o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/.tmp_svc_rdma_recvfrom.o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
  set -e ; perl /usr/src/kernels/2.6.32-358.18.1.el6.x86_64/scripts/recordmcount.pl "x86_64" "64" "objdump" "objcopy" "gcc" "ld" "nm" "" "" "1" "/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/svc_rdma_recvfrom.o";
  gcc -Wp,-MD,/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/.transport.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include \
-D__OFED_BUILD__ \
-include /lib/modules/2.6.32-358.18.1.el6.x86_64/build/include/linux/autoconf.h \
-include /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/include/linux/autoconf.h \
-I/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/kernel_addons/backport/2.6.32-EL6.4/include/ \
 \
 \
 \
-I/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/include \
-I/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/drivers/infiniband/debug \
-I/usr/local/include/scst \
-I/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/drivers/infiniband/ulp/srpt \
-D__XEN_INTERFACE_VERSION__= \
-I/usr/src/kernels/2.6.32-358.18.1.el6.x86_64/arch/x86/include/mach-xen \
-I/usr/src/kernels/2.6.32-358.18.1.el6.x86_64/arch//include \
-Iinclude \
 \
-I/usr/src/kernels/2.6.32-358.18.1.el6.x86_64/arch/x86/include \
 -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 -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(transport)"  -D"KBUILD_MODNAME=KBUILD_STR(xprtrdma)" -D"DEBUG_HASH=38" -D"DEBUG_HASH2=2" -c -o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/.tmp_transport.o /var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c
/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c: In function 'xprt_rdma_connect_worker':
/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.c:218: error: 'struct rpc_xprt' has no member named 'shutdown'
make[3]: *** [/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma/transport.o] Error 1
make[2]: *** [/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1/net/sunrpc/xprtrdma] Error 2
make[1]: *** [_module_/var/tmp/IntelIB-OFED/OFEDRPMS/BUILD/ofa_kernel-1.5.4.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.18.1.el6.x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.2WvzwS (%build)

RPM build errors:
    user phcvs does not exist - using root
    group intelall does not exist - using root
    user phcvs does not exist - using root
    group intelall does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.2WvzwS (%build)

 

Nikos,

Are you telling us that you have an error you need help with? Or are you providing advice concerning the earlier issue?

Regards
---
Taylor

My conclusion is that which kernel we suppose to use?

The error that I got is from the kernel of Centos 6.4 though I tried the kernel from Centos 6.3 that "suppose" intel has

support for but also produce the same error.. which kernel intel ofed drivers are fully supported?

What happens if you omit the --32bit from your install command? Although it doesn't say anything in section 2.2 (Steps to Install Intel® MPSS with IFS OFED+) of the MPSS User's Guide, in section 2.3 (Steps to Install Intel® MPSS with OFED 1.5.4.1), it says:

<blockquote>

It is recommended not to install the 32-bit packages when installing OFED on RHEL 6.5. 

Installing 32-bit support on RHEL 6.5 requires an older version of glibc-devel.i686. 

</blockquote>

I'm afraid I don't know enough about individual releases of the different flavors of Linux to map the glibc-devel rpms from RHEL to CentOS. I know CentOS tracks RHEL closely. So, if you tell me this 32 bit support issue with RHEL 6.5 can't be the problem with CentOS 6.4 or 6.3, I will be inclined to believe you. But still, it seems worth a try.

 

I read a document related to OFED installation, it said during the OFED installation, you need to answer "No" for not installing libraries dapl*, compat-dapl* and 32-bit library support.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi