[ofa-general] Re: ofa_1_2_c_kernel 20070802-0201 daily build status

Hoang-Nam Nguyen hnguyen at linux.vnet.ibm.com
Mon Aug 6 06:10:33 PDT 2007


Hello Michael and Vladimir!
> ehca backports for kernel.org kernels seem to be broken.
> 1. Does anyone care enough to fix them? If not we'll disable
>    ehca in build for these kernels.
I downloaded daily build package ofa_1_2_c_kernel-20070804-0200.tgz
and followed the build scheme configure, make on 2.6.19, 2.6.18, 2.6.17
and 2.6.16/sles10/sles10_sp1. Except for 2.6.16/sles10/sles10_sp1
a patch for kmem_cache_zalloc() is required for ehca the others were
built without errors, see below. Thus, I'm wondering what I'm doing
differently than your daily build script?
PS: Will run the build on rhel5 (still to set up kernel tree).
Thanks
Nam


* linux-2.6.19
[root at idd60 ofa_1_2_c_kernel-20070804-0200]# uname -r
2.6.19

  gcc -m64 -Wp,-MD,/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/.ib_ipoib.mod.o.d  -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.1.1/include -D__KERNEL__ \
-I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/kernel_addons/backport/2.6.19/include/ \
-I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/include \
-I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include \
-Iinclude \
 \
-include include/linux/autoconf.h \
-include /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/include/linux/autoconf.h \
  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -msoft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc -mtune=power4 -mno-altivec -funit-at-a-time -mstring -Wa,-maltivec -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/include -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include       -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib      -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/debug  -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/cxgb3/core  -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/net/cxgb3         -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/net/rds   -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/net/mlx4  -I/root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/mlx4    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ib_ipoib.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_ipoib)" -DMODULE -c -o /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.c
  ld -m elf64ppc  -r -o /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.o /root/2.6.19/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.19'
[root at idd60 ofa_1_2_c_kernel-20070804-0200]# find . -name '*.ko'
./drivers/infiniband/ulp/ipoib/ib_ipoib.ko
./drivers/infiniband/hw/ehca/ib_ehca.ko
./drivers/infiniband/core/ib_mad.ko
./drivers/infiniband/core/iw_cm.ko
./drivers/infiniband/core/ib_uverbs.ko
./drivers/infiniband/core/ib_ucm.ko
./drivers/infiniband/core/ib_cm.ko
./drivers/infiniband/core/ib_sa.ko
./drivers/infiniband/core/ib_core.ko

* 2.6.18
[root at idd60 2.6.18]# uname -r
2.6.18
  gcc -m64 -Wp,-MD,/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/.ib_ipoib.mod.o.d  -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.1.1/include -D__KERNEL__ \
-I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/kernel_addons/backport/2.6.18/include/ \
-I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/include \
-I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include \
-Iinclude \
 \
-include include/linux/autoconf.h \
-include /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/include/linux/autoconf.h \
  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -msoft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc -mtune=power4 -mno-altivec -funit-at-a-time -mstring -Wa,-maltivec -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/include -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include       -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib      -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/debug  -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/cxgb3/core  -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/net/cxgb3         -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/net/rds   -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/net/mlx4  -I/root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/mlx4    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ib_ipoib.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_ipoib)" -DMODULE -c -o /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.c
  ld -m elf64ppc  -r -o /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.o /root/2.6.18/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.18'

[root at idd60 ofa_1_2_c_kernel-20070804-0200]# find . -name '*.ko'
./drivers/infiniband/ulp/ipoib/ib_ipoib.ko
./drivers/infiniband/hw/ehca/ib_ehca.ko
./drivers/infiniband/core/ib_mad.ko
./drivers/infiniband/core/iw_cm.ko
./drivers/infiniband/core/ib_uverbs.ko
./drivers/infiniband/core/ib_ucm.ko
./drivers/infiniband/core/ib_cm.ko
./drivers/infiniband/core/ib_sa.ko
./drivers/infiniband/core/ib_core.ko

*linux 2.6.17
[root at idd60 ofa_1_2_c_kernel-20070804-0200]# uname -r
2.6.17

  gcc -m64 -Wp,-MD,/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/.ib_ipoib.mod.o.d  -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.1.1/include -D__KERNEL__ \
-I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/kernel_addons/backport/2.6.17/include/ \
-I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/include \
-I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include \
-Iinclude \
 \
-include include/linux/autoconf.h \
-include /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/include/linux/autoconf.h \
  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -msoft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc -mtune=power4 -mno-altivec -funit-at-a-time -mstring -Wa,-maltivec -Wdeclaration-after-statement -Wno-pointer-sign    -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/include -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include     -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib      -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/debug  -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/cxgb3/core  -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/net/cxgb3 -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/net/rds   -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/net/mlx4  -I/root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/mlx4    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ib_ipoib)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_ipoib)" -DMODULE -c -o /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.c
  ld -m elf64ppc  -r -o /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.o /root/2.6.17/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.17'
[root at idd60 ofa_1_2_c_kernel-20070804-0200]# find . -name '*.ko'
./drivers/infiniband/ulp/ipoib/ib_ipoib.ko
./drivers/infiniband/hw/ehca/ib_ehca.ko
./drivers/infiniband/core/ib_mad.ko
./drivers/infiniband/core/iw_cm.ko
./drivers/infiniband/core/ib_uverbs.ko
./drivers/infiniband/core/ib_ucm.ko
./drivers/infiniband/core/ib_cm.ko
./drivers/infiniband/core/ib_sa.ko
./drivers/infiniband/core/ib_core.ko

* 2.6.16, sles10, sles10sp1 
requires ehca_kmem_cache_zalloc_to_2_6_16.patch

linux1:~ # uname -r
2.6.16.21-0.8-ppc64

  gcc -m64 -Wp,-MD,/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/.ib_ipoib.mod.o.d  -nostdinc -isystem /usr/lib/gcc/powerpc64-suse-linux/4.1.0/include -D__KERNEL__ -I/root/ofa_1_2_c_kernel-20070804-0200/kernel_addons/backport/2.6.16_sles10/include/  -I/root/ofa_1_2_c_kernel-20070804-0200/include  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include  -Iinclude  -Iinclude2 -I/usr/src/linux-2.6.16.21-0.8/include  -include include/linux/autoconf.h  -include /root/ofa_1_2_c_kernel-20070804-0200/include/linux/autoconf.h    -I -I/usr/src/linux-2.6.16.21-0.8/ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -msoft-float -pipe -mminimal-toc -mtraceback=none -mcall-aixdesc -mtune=power4 -mno-altivec -funit-at-a-time -mstring -Wa,-maltivec -fno-ivopts -Wdeclaration-after-statement -Wno-pointer-sign -I/root/ofa_1_2_c_kernel-20070804-0200/include  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/include  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/debug  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/cxgb3/core  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/net/cxgb3  -I/root/ofa_1_2_c_kernel-20070804-0200/net/rds  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/net/mlx4  -I/root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/hw/mlx4   -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ib_ipoib)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_ipoib)" -DMODULE -c -o /root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o /root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.c
  ld -m elf64ppc  -r -o /root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.ko /root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.o /root/ofa_1_2_c_kernel-20070804-0200/drivers/infiniband/ulp/ipoib/ib_ipoib.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/powerpc/ppc64'

linux1:~/ofa_1_2_c_kernel-20070804-0200 # find . -name '*.ko'
./drivers/infiniband/hw/ehca/ib_ehca.ko
./drivers/infiniband/ulp/ipoib/ib_ipoib.ko
./drivers/infiniband/core/iw_cm.ko
./drivers/infiniband/core/ib_core.ko
./drivers/infiniband/core/ib_uverbs.ko
./drivers/infiniband/core/ib_mad.ko
./drivers/infiniband/core/ib_ucm.ko
./drivers/infiniband/core/ib_cm.ko
./drivers/infiniband/core/ib_sa.ko





More information about the general mailing list