[openib-general] OFED 1.1-RC7 build problem on SLES10

Scott Weitzenkamp (sweitzen) sweitzen at cisco.com
Tue Oct 17 15:45:42 PDT 2006


You need the kernel-source RPM, I guess the OFED install.sh should check
for that RPM.

svbu-qa-opteron-1:~ # uname -a
Linux svbu-qa-opteron-1 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC
2006 i68
6 athlon i386 GNU/Linux
svbu-qa-opteron-1:~ # rpm -qa | fgrep kernel
kernel-source-2.6.16.21-0.8
kernel-smp-2.6.16.21-0.8
kernel-ib-1.1-2.6.16.21_0.8_smp
kernel-ib-devel-1.1-2.6.16.21_0.8_smp
svbu-qa-opteron-1:~ # ls /usr/src/linux-2.6.16.21-0.8-obj/i386/smp
.config         Makefile        arch     include2
.kernelrelease  Module.symvers  include  scripts

Scott Weitzenkamp
SQA and Release Manager
Server Virtualization Business Unit
Cisco Systems
 

> -----Original Message-----
> From: openib-general-bounces at openib.org 
> [mailto:openib-general-bounces at openib.org] On Behalf Of Chris Dennett
> Sent: Tuesday, October 17, 2006 12:46 PM
> To: openfabrics-ewg at openib.org; openib-general at openib.org
> Subject: [openib-general] OFED 1.1-RC7 build problem on SLES10
> 
> I've been trying to install OFED 1.1 RC7 on an x86 server 
> with a fresh install 
> of SLES10 (32-bit).  It errors out when trying to build the 
> kernel modules.  
> I've included what I think are the relevant log messages 
> below.  I've tried 
> installing everything (minus iser and tvflash) or just the 
> modules needed for 
> SRP.  I've installed 1.1 RC7 successfully on other RedHat 
> servers without any 
> problems.  I am installing as root.  Any help would be appreciated.
> 
> Thanks.
> 
> -Chris
> 
> ==============================================
> + make kernel
> Building kernel modules
> Kernel version: 2.6.16.21-0.8-smp
> Modules directory: //lib/modules/2.6.16.21-0.8-smp
> Kernel sources: /lib/modules/2.6.16.21-0.8-smp/build
> env EXTRA_CFLAGS=" -I/var/tmp/OFEDRPM/BUILD/openib-1.1/include 
> -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
>         
> -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/ipoib \
>         
> -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/debug" \
>         make -C /lib/modules/2.6.16.21-0.8-smp/build 
> SUBDIRS="/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband" 
> KERNELRELEASE=2.6.16.21-0.8-smp \
>         EXTRAVERSION=.21-0.8-smp V=1  \
>         CONFIG_INFINIBAND=m \
>         CONFIG_INFINIBAND_IPOIB=m \
>         CONFIG_INFINIBAND_SDP= \
>         CONFIG_INFINIBAND_SRP=m \
>         CONFIG_INFINIBAND_USER_MAD=m \
>         CONFIG_INFINIBAND_USER_ACCESS=m \
>         CONFIG_INFINIBAND_ADDR_TRANS=y \
>         CONFIG_INFINIBAND_MTHCA=m \
>         CONFIG_INFINIBAND_IPOIB_DEBUG=y \
>         CONFIG_INFINIBAND_ISER= \
>         CONFIG_INFINIBAND_EHCA= \
>         CONFIG_INFINIBAND_RDS= \
>         CONFIG_INFINIBAND_RDS_DEBUG= \
>         CONFIG_INFINIBAND_IPOIB_DEBUG_DATA= \
>         CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \
>         CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \
>         CONFIG_INFINIBAND_SDP_DEBUG= \
>         CONFIG_INFINIBAND_SDP_DEBUG_DATA= \
>         CONFIG_INFINIBAND_IPATH= \
>         CONFIG_INFINIBAND_MTHCA_DEBUG=y \
>                 CONFIG_INFINIBAND_MADEYE= \
>         LINUXINCLUDE='-I/var/tmp/OFEDRPM/BUILD/openib-1.1/include \
>         
> -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include \
>         -Iinclude \
>         $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
>         -include include/linux/autoconf.h \
>         -include 
> /var/tmp/OFEDRPM/BUILD/openib-1.1/include/linux/autoconf.h \
>         ' \
>         modules
> make[1]: Entering directory 
> `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> make[1]: *** No rule to make target `modules'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/smp'
> make: *** [kernel] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> 
> 
> RPM build errors:
>     user vlad does not exist - using root
>     group mtl does not exist - using root
>     user vlad does not exist - using root
>     group mtl does not exist - using root
>     Bad exit status from /var/tmp/rpm-tmp.92052 (%install)
> ERROR: Failed executing "rpmbuild --rebuild --define '_topdir 
> /var/tmp/OFEDRPM' --define '_prefix /usr/local/ofed' --define 
> 'build_root 
> /var/tmp/OFED' --define 'configure_options --with-libibcommon 
> --with-libibmad 
> --with-libibumad --with-libibverbs --with-libmthca --with-opensm 
> --with-librdmacm --with-openib-diags --with-srptools --with-mstflint 
> --with-perftest --with-ipoib-mod --with-mthca-mod --with-srp-mod 
> --with-core-mod --with-user_mad-mod --with-user_access-mod 
> --with-addr_trans-mod' --define 'configure_options32 %{nil}' --define 
> 'KVERSION 2.6.16.21-0.8-smp' --define 'KSRC 
> /lib/modules/2.6.16.21-0.8-smp/build' --define 
> 'build_kernel_ib 1' --define 
> 'build_kernel_ib_devel 0' --define 'NETWORK_CONF_DIR 
> /etc/sysconfig/network' 
> --define 'modprobe_update 1' --define 'include_ipoib_conf 0' --define 
> 'build_32bit 0' /root/OFED-1.1-rc7/SRPMS/openib-1.1-0.src.rpm"
> 
> ===================================================
> 
> smx32:~ # uname -a
> Linux linux-yeez 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 
> UTC 2006 i686 
> i686 i386 GNU/Linux
> smx32:~ # ls /usr/src/linux-2.6.16.21-0.8-obj/i386/smp
> Module.symvers
> 
> 
> 
> -- 
> Chris Dennett
> Design Engineer
> Texas Memory Systems, Inc.
> 713-266-3200 x430
> Chris.Dennett at texmemsys.com
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit 
> http://openib.org/mailman/listinfo/openib-general
> 




More information about the general mailing list