[ewg] Build issues with OFED-3.5 on ppc64

Tziporet Koren tziporet at mellanox.com
Tue Jul 24 23:54:47 PDT 2012


Pavaman

Can you try to resolve this and send Vlad a patch?

Thanks
Tziporet

From: ewg-bounces at lists.openfabrics.org [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Pavaman Subramaniyam
Sent: Tuesday, July 24, 2012 11:27 PM
To: ewg at lists.openfabrics.org
Cc: Daniel Vega; Brad Benton
Subject: [ewg] Build issues with OFED-3.5 on ppc64

Hi Vladimir,

I have installed OFED-3.5-20120716-0723.tgz on RHEL 6.2 machine and tried ./install.sh script with options 2 and 3.
The compat-rdma RPM build fails as follows:

Building kernel modules
Kernel version: 2.6.32-220.el6.ppc64
Modules directory: //lib/modules/2.6.32-220.el6.ppc64/updates
Kernel sources: /lib/modules/2.6.32-220.el6.ppc64/build
env CWD=/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5 BACKPORT_INCLUDES= \
                make -C /lib/modules/2.6.32-220.el6.ppc64/build SUBDIRS="/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5" \
                V=1  \
                CONFIG_MEMTRACK= \
                CONFIG_DEBUG_INFO=y \
                CONFIG_INFINIBAND=m \
                CONFIG_INFINIBAND_IPOIB=m \
                CONFIG_INFINIBAND_IPOIB_CM=y \
                CONFIG_INFINIBAND_SDP= \
                CONFIG_INFINIBAND_SRP=m \
                CONFIG_INFINIBAND_SRPT=m \
                CONFIG_INFINIBAND_USER_MAD=m \
                CONFIG_INFINIBAND_USER_ACCESS=m \
                CONFIG_INFINIBAND_USER_MEM=y \
                CONFIG_INFINIBAND_ADDR_TRANS=y \
                CONFIG_INFINIBAND_MTHCA=m \
                CONFIG_INFINIBAND_IPOIB_DEBUG=y \
                CONFIG_INFINIBAND_ISER= \
                CONFIG_SCSI_ISCSI_ATTRS= \
                CONFIG_ISCSI_TCP= \
                CONFIG_INFINIBAND_EHCA=m \
                CONFIG_INFINIBAND_EHCA_SCALING=y \
                CONFIG_RDS=m \
                CONFIG_RDS_RDMA=m \
                CONFIG_RDS_TCP=m \
                CONFIG_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_QIB= \
                CONFIG_INFINIBAND_MTHCA_DEBUG=y \
                CONFIG_INFINIBAND_MADEYE= \
                CONFIG_INFINIBAND_QLGC_VNIC= \
                CONFIG_INFINIBAND_QLGC_VNIC_DEBUG= \
                CONFIG_INFINIBAND_QLGC_VNIC_STATS= \
                CONFIG_CHELSIO_T3=m \
                CONFIG_INFINIBAND_CXGB3=m \
                CONFIG_INFINIBAND_CXGB3_DEBUG= \
                CONFIG_CHELSIO_T4=m \
                CONFIG_INFINIBAND_CXGB4=m \
                CONFIG_INFINIBAND_NES=m \
                CONFIG_INFINIBAND_NES_DEBUG= \
                CONFIG_MLX4_CORE=m \
                CONFIG_MLX4_EN=m \
                CONFIG_MLX4_INFINIBAND=m \
                CONFIG_MLX4_ETHERNET= \
                CONFIG_MLX4_DEBUG=y \
                CONFIG_INFINIBAND_AMSO1100= \
                CONFIG_SUNRPC_XPRT_RDMA= \
                CONFIG_NFSD_RDMA= \
                LINUXINCLUDE=' \
                -D__OFED_BUILD__ \
                -DCOMPAT_BASE="\"compat-2012-07-02-6-gaf528a2\"" -DCOMPAT_BASE_TREE="\"unknown\"" -DCOMPAT_BASE_TREE_VERSION="\"rc3\"" -DCOMPAT_PROJECT="\"Compat-rdma\"" -DCOMPAT_VERSION="\"d418e0e-n\""  \
                -include /lib/modules/2.6.32-220.el6.ppc64/build/include/linux/autoconf.h \
                -include /var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include/linux/autoconf.h \
                 \
                -include /var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include/linux/compat-2.6.h \
                 \
                 \
                 \
                 \
                -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/include \
                -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/debug \
                -I/usr/local/include/scst \
                -I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.5/drivers/infiniband/ulp/srpt \
                $(if $(CONFIG_XEN),-D__XEN_INTERFACE_VERSION__=$(CONFIG_XEN_INTERFACE_VERSION)) \
                $(if $(CONFIG_XEN),-I$(srctree)/arch/x86/include/mach-xen) \
                -I$(srctree)/arch/$(SRCARCH)/include \
                -Iarch/$(SRCARCH)/include/generated -Iinclude \
                $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
                -I$(srctree)/arch/$(SRCARCH)/include \
                ' \
                modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-220.el6.ppc64'
Makefile:558: /usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.el6.ppc64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Hi7krm (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Hi7krm (%build)

=====================================================================================

There is /usr/src/kernels/2.6.32-220.el6.ppc64/arch/powerpc directory and not  /usr/src/kernels/2.6.32-220.el6.ppc64/arch/ppc64 as being looked for building compat-rdma.
Similar issue was reported for building OFED-3.2 on SLES11SP2 GMC for ppc64.


Thanks and Regards,

**********************************************************
IBM India, Systems and Technology Labs,
ISL -Linux On Power,
"D2" Block , Ground FLoor,
Embassy Manyata Tech Park,
Outer ring road, Nagawara Villages,
Bengalooru , Karnataka India 560045
Landline No: (080) 40255125
Mobile No: 9901333220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20120725/afb7bb22/attachment.html>


More information about the ewg mailing list