[ewg] ofed-1.4 ofed_2_6_27 and NFSRDMA

Steve Wise swise at opengridcomputing.com
Mon Aug 4 09:37:58 PDT 2008


Jeff, I'm running on the ofed-1.4 ofed_2_6_27 branch.  Building against 
a 2.6.27-rc1 running kernel that has nfsrdma configured.  I then 
build/install the ofed drivers with nfsrdma configured in the ofed 
tree.  This  _should_ effectively "replace"  the xprtrdma and scvrdma 
modules from the 2.6.27-rc1 tree with the ofed built versions.  It 
apparently is not doing this.  The result is an oops when you try to use 
nfsrdma because the header files for key rdma structs are different from 
the 2.6.27-rc1 kernel includes and the ofed-1.4 includes. 

It appears that the nfsrdma modules are _not_ getting installed by the 
ofed makefiles.  EG I don't see an xprtrdma.ko in /lib/modules/$(uname 
-r)/updates/kernel/net/sunrpc/xprtrdma.  I only see on in 
/lib/modules/$(uname -r)/kernel/net/sunrpc/xprtrdma.


Steve.




Jeff Becker wrote:
> Hi.
>
> Vladimir Sokolovsky wrote:
>> Steve Wise wrote:
>>> What should work on the 2.6.27 branch of ofed-1.4 NFSRDMA-wise?
>>>
>>> I can compile/install ok against 2.6.27-rc1, but get this error 
>>> compiling against 2.6.26.1:
>>>
>>> /ofed-1.4/ofed_kernel/fs/nfsd/nfsfh.c
>>> /usr/local/src/ofed-1.4/ofed_kernel/fs/nfsd/nfsfh.c: In function 
>>> ‘nfsd_acceptable’:
>>> /usr/local/src/ofed-1.4/ofed_kernel/fs/nfsd/nfsfh.c:54: error: 
>>> implicit declaration of function ‘inode_permission’
>>> make[3]: *** [/usr/local/src/ofed-1.4/ofed_kernel/fs/nfsd/nfsfh.o] 
>>> Error 1
>>> make[2]: *** [/usr/local/src/ofed-1.4/ofed_kernel/fs/nfsd] Error 2
>>> make[1]: *** [_module_/usr/local/src/ofed-1.4/ofed_kernel] Error 2
>>> make[1]: Leaving directory `/usr/local/src/linux-2.6.26.1'
>>> make: *** [kernel] Error 2
>>> [root at vic9 ofed_kernel]#
>>>
>>> Steve.
>>> _______________________________________________
>>> ewg mailing list
>>> ewg at lists.openfabrics.org
>>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>>
>> There are no backports for NFSoRDMA in the ofed_1_4/linux-2.6.git 
>> ofed_2_6_27 yet.
>>
>> Jeff,
>> Are you going to work on it?
> Yes. I'm currently finishing up the backport for sles10sp2.
>
> -jeff
>>
>> Regards,
>> Vladimir




More information about the ewg mailing list