[ofa-general] build & install error

Viatcheslav E. Kouznetsov slava at auto.ru
Thu Jan 10 07:38:26 PST 2008


Hi All!
I have a some trouble with building & installing OFED software
If I try to build OFED-1.2.5.4, i get next error
----
make -f scripts/Makefile.build 
obj=/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds
  gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/.af_rds.o.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ 
\
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/kernel_addons/backport/2.6.18_RH_5.1
/include/ \
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/include \
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/include \
-Iinclude \
 \
-include include/linux/autoconf.h \
-include /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/include/linux/autoconf.h \
  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os  
-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 -fomit-frame-pointer -g  
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign    
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/include 
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/include
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/ulp/ipoib

-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/debug
    -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/hw/cxgb3/core    
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/net/cxgb3   
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds     
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/net/mlx4    
-I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/hw/mlx4   
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(af_rds)"  
-D"KBUILD_MODNAME=KBUILD_STR(rds)" -c 
-o /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/.tmp_af_rds.o 
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/af_rds.c
In file included 
from /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/af_rds.c:39:
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h:167: error: expected 
specifier-qualifier-list before '__sum16'
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h: In 
function 'rds_message_make_checksum':
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h:480: error: 'struct 
rds_header' has no member named 'h_csum'
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h:481: error: 'struct 
rds_header' has no member named 'h_csum'
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h: In 
function 'rds_message_verify_checksum':
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/rds.h:486: error: 'const 
struct rds_header' has no member named 'h_c
sum'
make[3]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds/af_rds.o] 
Error 1
make[2]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds] Error 2
make[1]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4] Error 2
make[1]: Leaving directory 
`/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64'
make: *** [kernel] Error 2

When I build OFED-1.2.5.4-20080107-0713, building OK, but when I run modprobe 
command, I get next error
----
[root at blade02 ~]# modprobe ib_ipoib
WARNING: Error inserting ib_core 
(/lib/modules/2.6.18-53.el5/updates/kernel/drivers/infiniband/core/ib_core.ko): 
Invalid module format
WARNING: Error inserting ib_mad 
(/lib/modules/2.6.18-53.el5/updates/kernel/drivers/infiniband/core/ib_mad.ko): 
Invalid module format
WARNING: Error inserting ib_sa 
(/lib/modules/2.6.18-53.el5/updates/kernel/drivers/infiniband/core/ib_sa.ko): 
Invalid module format
WARNING: Error inserting ib_cm 
(/lib/modules/2.6.18-53.el5/updates/kernel/drivers/infiniband/core/ib_cm.ko): 
Invalid module format
FATAL: Error inserting ib_ipoib 
(/lib/modules/2.6.18-53.el5/updates/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko): 
Invalid module format

OS - CentOS 5.1
Kernel 2.6.18-53.el5
Hardware Supermicro SuperBlade with
http://supermicro.com/products/superblade/module/SBI-7125B-T1.cfm modules.
lspci -vv:
InfiniBand: Mellanox Technologies MT25208 InfiniHost III Ex (rev 20)
        Subsystem: Mellanox Technologies MT25208 InfiniHost III Ex



More information about the general mailing list