[openfabrics-ewg] [openib-general] OFED 1.1 status

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Fri Sep 8 07:28:41 PDT 2006


Hello Tziporet!
First sorry for this late response regarding ehca build test in OFED 1.1
rc3.

1) The userspace lib dir for libehca contains only a few c-files, but no
header files.
On svn dir branches/1.1/src/userspace/libehca/src/ I saw all files needed.
Please correct
this for rc4!
Will you pick new version of libehca from that dir?

2) When I used the install.sh script to install the software packages or
compile
them on ppc64, kernel 2.6.18-rc5/6 I got the following error messages:

  gcc -m64 -Wp,-MD,/var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/core/.ib_addr.mod.o.d  -nos
M/BUILD/openib-1.1/include  -I/var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/include  -Iinclu
oft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc
-mtune=power4 -mno-altivec -funit-at
lude -I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include
-I/var/tmp/OFEDRPM/BUILD/openi
g   -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ib_addr.mod)"
-D"KBUILD_MODNAME=KBUILD_STR(
o /var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/core/ib_addr.mod.c
In file included from include/asm/system.h:9,
                 from include/linux/spinlock.h:56,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:44,
                 from include/linux/module.h:9,
                 from /var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/core/ib_addr.mod.c:1:
include/asm/hw_irq.h: In function `local_irq_disable':
include/asm/hw_irq.h:51: warning: implicit declaration of function
`__mtmsrd'
In file included from include/asm/current.h:15,
                 from include/linux/capability.h:46,
                 from include/linux/sched.h:44,
                 from include/linux/module.h:9,
                 from /var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/core/ib_addr.mod.c:1:
include/asm/paca.h: At top level:
include/asm/paca.h:84: error: `SLB_CACHE_ENTRIES' undeclared here (not in a
function)
In file included from include/linux/sched.h:49,
                 from include/linux/module.h:9,
                 from /var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/core/ib_addr.mod.c:1:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined

If I use the kernel Makefile in /usr/src/linux-2.6.18-rc5 to compile e.g.
make -C /usr/src/linux-2.6.18-rc5 SUBDIRS=/var/tmp/OFEDRPM/BUILD/openib-1.1
/drivers/infiniband/core
then it works fine. We found out that the top-level kernel Makefile does
the following settings

LINUXINCLUDE    := -Iinclude \
                   $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
                   -include include/linux/autoconf.h
CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)

that include autoconf.h with all configured kernel configs like
CONFIG_PPC64 etc. And obviously those
config defines are lost if one uses
/usr/src/linux-2.6.18-rc5/scripts/Makefile.build as OFED install.sh
does. I'm wondering if anyone else also sees this problem on other
architectures?
Is there any reasons not to use the top-level kernel Makefile?

Thanks!
Nam Nguyen

openib-general-bounces at openib.org wrote on 07.09.2006 22:01:30:

> Hi,
> OFED 1.1 RC4 will be published on Monday 11-Sep.
> We currently work on several showstoppers:
> 1. 223: mthca.so not properly linked to libibverbs – Vlad & Jack
> 2. 221: SRP on V40Z and Sun T4 gets Kernel BUG at spinlock:118  - Roland
> 3. 219: OFED 1.1rc3 contains prerelease unstable libibverbs code – Vlad &
Jack
>
> Thus final release date will be delayed to end of next week
>
>
> Tziporet Koren
> Software Director
> Mellanox Technologies
> mailto: tziporet at mellanox.co.il
> Tel +972-4-9097200, ext 380
>  _______________________________________________
> 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 ewg mailing list