[ewg] RE: ipath backport patches

Vladimir Sokolovsky vlad at mellanox.co.il
Mon Feb 19 11:13:18 PST 2007


Hi Bryan,
I got the following compilation failure on all kernels:

  gcc
-Wp,-MD,/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw
/ipath/.ipath_rc.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/include -D__KERNEL__
-I/tmp/gen2_devel_kernel-20070219-2039_check/kernel_addons/backport/2.6.
20/include/  -I/tmp/gen2_devel_kernel-20070219-2039_check/include
-I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/include
-Iinclude    -include include/linux/autoconf.h  -include
/tmp/gen2_devel_kernel-20070219-2039_check/include/linux/autoconf.h
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Os   -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
-maccumulate-outgoing-args -DCONFIG_AS_CFI=1  -fomit-frame-pointer
-Wdeclaration-after-statement   -include
/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/debug/mtra
ck.h -I/tmp/gen2_devel_kernel-20070219-2039_check/include
-I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/include
-I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/ulp/ipoi
b  -I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/debug
-I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/cxgb3
/core  -I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/net/cxgb3
-I/tmp/gen2_devel_kernel-20070219-2039_check/drivers/net/rds
-DIPATH_IDSTR='"QLogic kernel.org driver"' -DIPATH_KERN_TYPE=0  -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ipath_rc)"
-D"KBUILD_MODNAME=KBUILD_STR(ib_ipath)" -c -o
/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/ipath/i
path_rc.o
/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/ipath/i
path_rc.c
/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/ipath/i
path_rc.c: In function `ipath_rc_rcv_resp':
/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/ipath/i
path_rc.c:1255: error: structure has no member named `qp_num'
make[4]: ***
[/tmp/gen2_devel_kernel-20070219-2039_check/drivers/infiniband/hw/ipath/
ipath_rc.o] Error 1



Regards,
Vladimir

-----Original Message-----
From: Bryan O'Sullivan [mailto:bos at pathscale.com] 
Sent: Friday, February 16, 2007 10:24 PM
To: Michael S. Tsirkin
Cc: Tziporet Koren; Vladimir Sokolovsky; openfabrics-ewg at openib.org
Subject: Re: ipath backport patches

Michael S. Tsirkin wrote:

> ipath-18-workqueue-2.6.19.patch - what's the deal here?

> why are you working around the implementation in kernel_addons?

Because it was broken, and I'm lazy.  I've attached a patch against 
kernel_addons that fixes this problem.

> ipath-04-mutex-2.6.15.patch - I think just
> #define i_mutex i_sem
> in kernel_addons will cover this.

Yep.  See attached.

	<b





More information about the ewg mailing list