[ewg] OFED 3.2 build errors on ppc64 with SLES11SP2 GMC

Daniel A. Vega dvega at linux.vnet.ibm.com
Wed Mar 28 17:17:37 PDT 2012


Here is what happens when I run without "ARCH=powerpc"

Building kernel modules
Kernel version: 3.0.13-0.27-ppc64
Modules directory: //lib/modules/3.0.13-0.27-ppc64/updates
Kernel sources: /lib/modules/3.0.13-0.27-ppc64/build
env CWD=/home/dvega/ofed-3.2/compat-rdma BACKPORT_INCLUDES= \
                 make -C /lib/modules/3.0.13-0.27-ppc64/build 
SUBDIRS="/home/dvega/ofed-3.2/compat-rdma" \
                 V=1  \
                 CONFIG_MEMTRACK= \
                 CONFIG_DEBUG_INFO=y \
                 CONFIG_INFINIBAND=m \
                 CONFIG_INFINIBAND_IPOIB=m \
                 CONFIG_INFINIBAND_IPOIB_CM=y \
                 CONFIG_INFINIBAND_SDP=m \
                 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=m \
                 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=y \
                 CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y \
                 CONFIG_INFINIBAND_SDP_SEND_ZCOPY= \
                 CONFIG_INFINIBAND_SDP_RECV_ZCOPY= \
                 CONFIG_INFINIBAND_SDP_DEBUG=y \
                 CONFIG_INFINIBAND_SDP_DEBUG_DATA=y \
                 CONFIG_INFINIBAND_IPATH=m \
                 CONFIG_INFINIBAND_QIB=m \
                 CONFIG_INFINIBAND_MTHCA_DEBUG=y \
                 CONFIG_INFINIBAND_MADEYE=m \
                 CONFIG_INFINIBAND_QLGC_VNIC=m \
                 CONFIG_INFINIBAND_QLGC_VNIC_DEBUG= \
                 CONFIG_INFINIBAND_QLGC_VNIC_STATS=y \
                 CONFIG_CHELSIO_T3=m \
                 CONFIG_INFINIBAND_CXGB3=m \
                 CONFIG_INFINIBAND_CXGB3_DEBUG=y \
                 CONFIG_CHELSIO_T4= \
                 CONFIG_INFINIBAND_CXGB4= \
                 CONFIG_INFINIBAND_NES=m \
                 CONFIG_INFINIBAND_NES_DEBUG=y \
                 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_TREE="\"linux-3.2.git\"" 
-DCOMPAT_BASE_TREE_VERSION="\"v3.2\"" -DCOMPAT_PROJECT="\"Compat-rdma\"" 
-DCOMPAT_VERSION="\"8afafc8\""  \
                 -include  \
                 -include 
/home/dvega/ofed-3.2/compat-rdma/include/linux/autoconf.h \
                  \
                 -include 
/home/dvega/ofed-3.2/compat-rdma/include/linux/compat-2.6.h \
                  \
                  \
                  \
                  \
                 -I/home/dvega/ofed-3.2/compat-rdma/include \
                 
-I/home/dvega/ofed-3.2/compat-rdma/drivers/infiniband/debug \
                 -I/usr/local/include/scst \
                 
-I/home/dvega/ofed-3.2/compat-rdma/drivers/infiniband/ulp/srpt \
                 
-I/home/dvega/ofed-3.2/compat-rdma/drivers/net/ethernet/chelsio/cxgb3 \
                 
-I/home/dvega/ofed-3.2/compat-rdma/drivers/net/ethernet/chelsio/cxgb4 \
                 $(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: *** /lib/modules/3.0.13-0.27-ppc64/build: No such file or 
directory.  Stop.
make: *** [kernel] Error 2


  # rpm -qa | grep kernel-
kernel-firmware-20110923-0.7.64
linux-kernel-headers-2.6.32-1.4.13
kernel-ppc64-base-3.0.13-0.27.1
kernel-source-3.0.13-0.27.1
kernel-ppc64-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1



On 3/27/2012 11:56 PM, Vladimir Sokolovsky wrote:
> On 03/28/2012 02:19 AM, Daniel A. Vega wrote:
>> Hi Vladimir
>>
>> Is kernel-default-devel a requirement for the daily or just temporary?
>> is there a way to specify the hardware like we can in the make?
>>
>> Ex: make ARCH=powerpc
>
> Hi Daniel,
>
> kernel-default-devel is a requirement for the OFED (that is, kernel 
> headers are required to compile OFED's kernel package).
>
> Did you try to run make without "ARCH=powerpc"?
> This should work as well.
>
> Regards,
> Vladimir
>
>>
>> On 3/27/2012 6:01 AM, Pavaman S wrote:
>>> Hi Vladamir,
>>>
>>> I have installed the kernel-default-devel rpms and also other kernel 
>>> rpms available in SLES11SP2 GMC.
>>>
>>> # rpm -qa | grep kernel
>>> kernel-ppc64-devel-3.0.13-0.27.1
>>> linux-kernel-headers-2.6.32-1.4.13
>>> nfs-kernel-server-1.2.3-18.17.2
>>> kernel-default-base-3.0.13-0.27.1
>>> kernel-ppc64-3.0.13-0.27.1
>>> kernel-default-3.0.13-0.27.1
>>> kernel-firmware-20110923-0.7.64
>>> kernel-trace-base-3.0.13-0.27.1
>>> kernel-syms-3.0.13-0.27.1
>>> kernel-default-debugsource-3.0.13-0.27.1
>>> kernel-default-devel-3.0.13-0.27.1
>>> kernel-ppc64-base-3.0.13-0.27.1
>>> kernel-trace-3.0.13-0.27.1
>>> kernel-default-debuginfo-3.0.13-0.27.1
>>> kernel-trace-devel-3.0.13-0.27.1
>>> kernel-source-3.0.13-0.27.1
>>>
>>> Regards,
>>> Pavaman.S
>>
>>
>


-- 
Daniel A. Vega
Dept. 7UEA/7T IBM LTC RDMA Fabrics Development
Ely, MN 55731
Phone: 218-235-0977
Email: dvega at linux.vnet.ibm.com





More information about the ewg mailing list