[ofa-general] Status of NFS-RDMA ?

Pawel Dziekonski pawel.dziekonski at pwr.wroc.pl
Sat Jan 26 11:30:35 PST 2008


On Wed, 23 Jan 2008 at 11:10:49PM +0200, Tziporet Koren wrote:
> James Lentini wrote:
>> On Wed, 23 Jan 2008, Pawel Dziekonski wrote:
>>
>>   
>>> hi,
>>>
>> The name of Tom's tree changed last Wednesday. I'll update the docs with 
>> the new address.
>>
>> The new URL is:
>> git://git.linux-nfs.org/projects/tomtucker/xprt-switch-2.6.git
>>
>>> My hardware will be Mellanox HBAa and Flextronics switch. I already
>>> know that NFS-RDMA client is in official kernel. What about server?
>>> Should I use OFED 1.2 or try 1.3? Should I use infiniband drivers from
>>> kernel or OFED?
>
> Note that NFS-RDMA is not part of OFED now (will be only in 1.4) however 
> Tom prepared backport patches that enable it to work on distros with OFED 
> 1.2
> You can look at http://www.mellanox.com/products/nfs_rdma_sdk.php for more 
> info on this

Hi,
thanks for answers.

I'm still writing to this list because nfs-rdma-devel at lists.sourceforge.net
seems to be dead... :(

I pulled Tom's tree from new url and build a kernel. then I downloaded OFED
from http://www.mellanox.com/downloads/NFSoRDMA/OFED-1.2-NFS-RDMA.gz, however
ofa-kernel fails to build. whatever I do I always got in ofa-kernel:

make[1]: Entering directory `/usr/src/ib/xprt-switch-2.6'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
echo;                                                           \
echo "  ERROR: Kernel configuration is invalid.";               \
echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
echo;                                                           \
/bin/false)

obviously, doing 'make oldconfig && make prepare' does not help. anyway, above
mentioned files do exist:

# ls -la /usr/src/ib/xprt-switch-2.6/{include/linux/autoconf.h,include/config/auto.conf}
-rw-r--r--  1 root root 10156 Jan 25 17:42 /usr/src/ib/xprt-switch-2.6/include/config/auto.conf
-rw-r--r--  1 root root 14733 Jan 25 17:42 /usr/src/ib/xprt-switch-2.6/include/linux/autoconf.h

despite of above, compilation continues but fails with:

  gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/.mad.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/3.4.6/include -D__KERNEL__ -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include  -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/include  -Iinclude    -include include/linux/autoconf.h  -include /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/include/linux/autoconf.h   -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -m64 -mno-red-zone -mcmodel=kernel -pipe -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 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-pointer  -Wdeclaration-after-statement     -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mad)"  -D"KBUILD_MODNAME=KBUILD_STR(ib_mad)" -c -o /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/.tmp_mad.o /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/mad.c
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/mad.c: In function `ib_mad_init_module':
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/mad.c:2966: error: too many arguments to function `kmem_cache_create'
make[4]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core/mad.o] Error 1
make[3]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2/drivers/infiniband] Error 2
make[1]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2] Error 2
make[1]: Leaving directory `/usr/src/ib/xprt-switch-2.6'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.3877 (%install)

full log:
https://cefeid.wcss.wroc.pl/d/tmp/OFED.build.32122.log

thanks in advance, P

-- 
Pawel Dziekonski <pawel.dziekonski at wcss.pl>
Wroclaw Centre for Networking & Supercomputing, HPC Department
Politechnika Wr., pl. Grunwaldzki 9, bud. D2/101, 50-377 Wroclaw, POLAND
phone: +48 71 3202043, fax: +48 71 3225797, http://www.wcss.wroc.pl



More information about the general mailing list