Dear Gentoo Community, We would advice the change of RPC_PARANOIA variable's change from the default 1 to 0 in the Gentoo kernel, because most of the users don't want to see pointless debug messages that comes with "SVC:Unknown error (0)". Declaraction place of the variable: /net/sunrpc/svc.c line 23. Regards, Daniel Nagy
A little change. The line should be removed because of #IFDEF the variable is will be exist after it has been changed to 0.
I don't see any line of code which would print "Unknown error". Can you confirm this is the exact message you are getting? How often does it appear? What can you do to trigger its appearance?
Sorry, my mistake. "SVC: Unknown version" is the correct form. Line 23 in net/sunrpc/svc.c We have a NFS server with many clients, and the NFS server says this error. The funniest part of it, that the svc.c has a define called RPC_PARANOIA. If you cut it out, the error message is gone.
How often does it appear? What can you do to trigger its appearance?
More than 650 times in a day. It's really irritating. The trigger? Hmm, just mounting the clients with the NFS server shares. I saw in redhat kernel changelog that this part is cutted out years ago, it this helps a bit.
Ok, thanks for the info. One final question: What type of clients are accessing the share? All Linux? Which kernel versions (approx)?
All of them is Gentoo Linux with kernel version 2.6.1x and one FreeBSD 6.0
Created attachment 82195 [details, diff] Patch Please apply this patch and let me know if it helps. If it doesn't, the log messages will at least be slightly more informative.
Sorry for the delay. It's live server and for a few days we can't reboot it. I'm really sorry, but we can test it only on the next week. I'll write as soon as possible.
Any updates here?
Please reopen when you have tested this, and if appropriate, I'll get it included in the mainline kernel.
Sorry for not writing back. Our server room moved and we had a lot of work to do. So, we tried what you gave us, and we got this: svc: unknown version (0) proc=0 Do this help you?
Created attachment 97197 [details, diff] new patch Sorry, there was a typo in that patch. Please test this one instead.
That patch should definitely detect the condition OK, the only question is did I break anything with it... Please reopen when you are able to test it.