All it takes is to apply the patch below. Strangely enough, Debian Lenny has fixed as.
As have a lot of other distributions, especially server oriented. After all, it was diagnosed and fixed in Nov 2009.
I can confirm that the ppa kernels 2.6.33 and up fix the problem, but they should as the vanilla kernel has this fix.
However, running a stock Ubuntu Lucid kernel with the fix instead of a ppa kernel is much preferred.
I've been struggling with this issue for a couple of months as well. linux-nfs. org/pipermail/ nfsv4/2009- November/ 011643. html
I used to solve it by patching and recompiling the kernel.
See here for more details:
http://
The issue has been fixed in vanilla kernel from 2.6.33.2. Also see: git.kernel. org/?p= linux/kernel/ git/torvalds/ linux-2. 6.git;a= patch;\ aa87c935ae4521b d303733a9f2b
http://
h=462d60577a997
All it takes is to apply the patch below. Strangely enough, Debian Lenny has fixed as.
As have a lot of other distributions, especially server oriented. After all, it was diagnosed and fixed in Nov 2009.
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c enc_getacl( struct rpc_rqst *req, __be32 *p, compound_ hdr(&xdr, req, &hdr); sequence( &xdr, &args->seq_args, &hdr); putfh(& xdr, args->fh, &hdr); bitmap_ maxsz + 1; bitmap_ maxsz + 1; getattr_ two(&xdr, FATTR4_WORD0_ACL, 0, &hdr);
index 83ad47c..32b11c0 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -2096,7 +2096,7 @@ nfs4_xdr_
encode_
encode_
encode_
- replen = hdr.replen + nfs4_fattr_
+ replen = hdr.replen + op_decode_hdr_maxsz + nfs4_fattr_
encode_
xdr_inline_ pages(& req->rq_ rcv_buf, replen << 2,
I can confirm that the ppa kernels 2.6.33 and up fix the problem, but they should as the vanilla kernel has this fix.
However, running a stock Ubuntu Lucid kernel with the fix instead of a ppa kernel is much preferred.