Dear all,<br> <br> I try to install OFED stacks on the host. Since my kernel version is 2.6.36-UL4-x86_64, which is not supported by OFED-1.5.2. So, I tried OFED-1.5.3-rc4. In the process of installation I got the error message of <br>
<br>Build ofa_kernel RPM<br>Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir' --define 'configure_options --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod --with-nes-mod --with-ipoib-mod --with-sdp-mod --with-srp-mod --with-rds-mod' --define 'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define 'KVERSION 2.6.36-UL4' --define 'K_SRC /lib/modules/2.6.36-UL4/build' --define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr' --define '__arch_install_post %{nil}' /atlas/data18a/litan/OFED-1.5.3-rc4/SRPMS/ofa_kernel-1.5.3-OFED.1.5.3.rc4.src.rpm<br>
Failed to build ofa_kernel RPM<br>See /tmp/OFED.21798.logs/ofa_kernel.rpmbuild.log<br> <br>Then, I checked the log file and search for the error info. These are the info at the end:<br> -I/usr/src/kernels/2.6.36-UL4-x86_64/arch/x86/include \<br>
-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 -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)" -D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/addr.c<br>
gcc: cannot specify -o with -c or -S with multiple files<br>make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/addr.o] Error 1<br>make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core] Error 2<br>
make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband] Error 2<br>make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3] Error 2<br>make[1]: Leaving directory `/usr/src/kernels/2.6.36-UL4-x86_64'<br>
make: *** [kernel] Error 2<br> <br>Finally, I tried to git download all the source code and make install all the packages. But after install, everything also didn't work.<br> <br>Failed to get IB devices list: Function not implemented<br>
<br>I guess there is some configuration that I haven't done after make install all the package. Following are the packs I have installed:<br> <br>[litan@tera04 userspace]$ ls<br>dapl ipoibtools libamso libibcm libibverbs libmthca librdmacm management<br>
ps. : My RNIC is NetEffect NE020 10Gb Accelerated Ethernet Adapter (iWARP RNIC).<br> <br> <br>Any information is really appreciated.<br clear="all"><br>-- <br>
<div>Best regards,</div>
<div> </div>
<div>-----------------------------------------------------------------------------------------------<br>Li, Tan<br>PhD Candidate & Research Assistant, <br>Electrical Engineering, <br>Stony Brook University, NY<br><br>
Personal Web Site: <a href="https://sites.google.com/site/homepagelitan/Home" target="_blank">https://sites.google.com/site/homepagelitan/Home</a><br><br>Email: <a href="mailto:fanqielee@gmail.com" target="_blank">fanqielee@gmail.com</a></div>
<br>