On Sun, 2010-01-31 at 21:12 -0500, neutron wrote: 
> Hi all,

Hi,

> (5) Install the
> "kernel-ib-devel-1.4.2-2.6.18_128.7.1.el5_lustre.1.8.1.1.x86_64.rpm".
> The files are installed to "/usr/src/ofa_kernel-1.4.2".
>  At that place, I run
>       $ /configure --with-core-mod --with-ipoib-mod --with-mthca-mod
> --with-mlx4_core-mod --with-mlx4_inf-mod
>       $ make
> 
> Then I see lots of errors like:
>       
> /usr/src/ofa_kernel-1.4.2/kernel_addons/backport/2.6.18/include/linux/fs.h:9:
> error: redefinition of ‘inc_nlink’
> include/linux/fs.h:1255: error: previous definition of ‘inc_nlink’ was here
> In file included from /usr/src/ofa_kernel-1.4.2/include/rdma/ib_verbs.h:44,
>                  from /usr/src/ofa_kernel-1.4.2/include/rdma/ib_cache.h:38,
>                  from 
> /usr/src/ofa_kernel-1.4.2/drivers/infiniband/core/cm.c:49:
> /usr/src/ofa_kernel-1.4.2/kernel_addons/backport/2.6.18/include/linux/mm.h:17:
> error: redefinition of ‘is_vmalloc_addr’
> include/linux/mm.h:332: error: previous definition of ‘is_vmalloc_addr’ was 
> here
> In file included from /usr/src/ofa_kernel-1.4.2/include/rdma/ib_cache.h:38,
>                  from 
> /usr/src/ofa_kernel-1.4.2/drivers/infiniband/core/cm.c:49:
> /usr/src/ofa_kernel-1.4.2/include/rdma/ib_verbs.h: In function
> ‘ib_dma_mapping_error’:
> /usr/src/ofa_kernel-1.4.2/include/rdma/ib_verbs.h:1593: warning:
> passing argument 1 of ‘dma_mapping_error’ makes integer from pointer
> without a cast

These are all OFED building errors, and have nothing to do with Lustre.
You *might* get help here in resolving those, but you would probably
have much more luck if you go to the OFED community and ask them
directly.

Having said that, I do notice from the OFED 1.4.2 announcement and
release notes
(http://lists.openfabrics.org/pipermail/ewg/2009-August/013731.html)
that the newest RHEL5 kernel supported is:

- RedHat EL5 up3: 2.6.18-128.el5

Which is older than the kernel you are trying to build with:
2.6.18_128.7.1.el5

> I googled the error, and someone said to use OFED-1.5.

Probably because of the kernel being newer than OFED 1.4.2 supports and
therefore not supported until OFED 1.5.

> But I tried with OFED-1.4.2, OFED-1.5, and OFED-1.5.1 daily tar ball
> OFED-1.5.1-20100131-0600,
> and always see the same error "redefinition of ........"   when I'm
> compiling the kernel-ib.

Again, this appears to be strictly an OFED issue and the OFED list might
get you more help.

> Am I wrong with the way to install kernel-ib or kernel-lustre?  How
> can I make lustre work with IB support?

You are not even that far (making lustre work with IB support) yet.  You
are still trying to build OFED which has to be done before building
Lustre.

Cheers,
b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to