[openfabrics-ewg] OFED 1.2 is broken on SLES 10 sp1 beta 2

Erez Zilber erezz at voltaire.com
Wed Jan 31 07:41:52 PST 2007


OFED 1.2 seems to be broken on SLES 10 sp1 beta 2. Something goes wrong
in core/addr.c:

sage:/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520 # cat /etc/issue

Welcome to SUSE Linux Enterprise Server 10 SP1 Beta2 (x86_64) - Kernel
\r (\l).


sage:/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520 # uname -a
Linux sage 2.6.16.37-0.9-smp #1 SMP Tue Jan 23 08:17:27 UTC 2007 x86_64
x86_64 x86_64 GNU/Linux

sage:/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520 # make
Building kernel modules
Kernel version: 2.6.16.37-0.9-smp
Modules directory: //lib/modules/2.6.16.37-0.9-smp
Kernel sources: /lib/modules/2.6.16.37-0.9-smp/build
env EXTRA_CFLAGS="
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/include
\
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/ulp/ipoib
\
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/debug
\
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/hw/cxgb3/core
\
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/net/cxgb3 \
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/net/rds " \
make -C /lib/modules/2.6.16.37-0.9-smp/build
SUBDIRS="/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520"
KERNELRELEASE=2.6.16.37-0.9-smp \
EXTRAVERSION=.37-0.9-smp V=1 \
CONFIG_INFINIBAND=m \
CONFIG_INFINIBAND_IPOIB=m \
CONFIG_INFINIBAND_IPOIB_CM=y \
CONFIG_INFINIBAND_SDP= \
CONFIG_INFINIBAND_SRP= \
CONFIG_INFINIBAND_USER_MAD=m \
CONFIG_INFINIBAND_USER_ACCESS= \
CONFIG_INFINIBAND_ADDR_TRANS=y \
CONFIG_INFINIBAND_MTHCA=m \
CONFIG_INFINIBAND_IPOIB_DEBUG=y \
CONFIG_INFINIBAND_ISER=m \
CONFIG_SCSI_ISCSI_ATTRS=m \
CONFIG_ISCSI_TCP=m \
CONFIG_INFINIBAND_EHCA= \
CONFIG_INFINIBAND_EHCA_SCALING= \
CONFIG_RDS= \
CONFIG_RDS_IB= \
CONFIG_RDS_TCP= \
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_MTHCA_DEBUG=y \
CONFIG_INFINIBAND_MADEYE= \
CONFIG_INFINIBAND_VNIC= \
CONFIG_INFINIBAND_VNIC_DEBUG= \
CONFIG_INFINIBAND_VNIC_STATS= \
CONFIG_CHELSIO_T3= \
CONFIG_INFINIBAND_CXGB3= \
CONFIG_INFINIBAND_CXGB3_DEBUG= \
LINUXINCLUDE=' \
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/
\
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include \
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/include
\
-Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-include include/linux/autoconf.h \
-include
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include/linux/autoconf.h
\
' \
modules
make[1]: Entering directory `/usr/src/linux-2.6.16.37-0.9-obj/x86_64/smp'
make -C ../../../linux-2.6.16.37-0.9
O=../linux-2.6.16.37-0.9-obj/x86_64/smp modules
make -C /usr/src/linux-2.6.16.37-0.9-obj/x86_64/smp \
KBUILD_SRC=/usr/src/linux-2.6.16.37-0.9 \
KBUILD_EXTMOD="/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520" -f
/usr/src/linux-2.6.16.37-0.9/Makefile modules
rm -rf /home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/.tmp_versions
mkdir -p /home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/.tmp_versions
make -f /usr/src/linux-2.6.16.37-0.9/scripts/Makefile.build
obj=/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520
make -f /usr/src/linux-2.6.16.37-0.9/scripts/Makefile.build
obj=/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband
make -f /usr/src/linux-2.6.16.37-0.9/scripts/Makefile.build
obj=/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core
gcc
-Wp,-MD,/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/.addr.o.d
-nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.2/include
-D__KERNEL__
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/include
-Iinclude -Iinclude2 -I/usr/src/linux-2.6.16.37-0.9/include -include
include/linux/autoconf.h -include
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include/linux/autoconf.h
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-Werror-implicit-function-declaration -fno-strict-aliasing -fno-common
-ffreestanding -Os -fomit-frame-pointer -mtune=generic -m64
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks
-Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement
-Wno-pointer-sign
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/include
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/include
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/ulp/ipoib
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/debug
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/hw/cxgb3/core
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/net/cxgb3
-I/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/net/rds
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(addr)"
-D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/.tmp_addr.o
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/addr.c
In file included from
/usr/src/linux-2.6.16.37-0.9/include/linux/inetdevice.h:7,
from
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/addr.c:32:
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:7:
error: redefinition of ?netif_tx_lock
/usr/src/linux-2.6.16.37-0.9/include/linux/netdevice.h:927: error:
previous definition of ?netif_tx_lock? was here
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:
In function ?netif_tx_lock?:
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:8:
error: ?struct net_device? has no member named ?xmit_lock
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:
At top level:
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:13:
error: redefinition of ?netif_tx_unlock
/usr/src/linux-2.6.16.37-0.9/include/linux/netdevice.h:947: error:
previous definition of ?netif_tx_unlock? was here
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:
In function ?netif_tx_unlock?:
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/kernel_addons/backport/2.6.16_sles10/include/linux/netdevice.h:15:
error: ?struct net_device? has no member named ?xmit_lock
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/addr.c:
At top level:
/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/addr.c:62:
warning: initialization from incompatible pointer type
make[6]: ***
[/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core/addr.o]
Error 1
make[5]: ***
[/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband/core]
Error 2
make[4]: ***
[/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520/drivers/infiniband]
Error 2
make[3]: ***
[_module_/home/erezz/work/ofed/ofa_1_2_kernel-20070131-0520] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.37-0.9-obj/x86_64/smp'
make: *** [kernel] Error 2
-- 

____________________________________________________________

Erez Zilber | 972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

__

www.voltaire.com <http://www.voltaire.com/>







More information about the ewg mailing list