Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124884 - Advice of change in kernel
Summary: Advice of change in kernel
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 16:13 UTC by Daniel Nagy
Modified: 2006-10-04 07:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (patch,802 bytes, patch)
2006-03-15 02:36 UTC, Daniel Drake (RETIRED)
Details | Diff
new patch (blah,816 bytes, patch)
2006-09-16 19:59 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Nagy 2006-03-03 16:13:40 UTC
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
Comment 1 Daniel Nagy 2006-03-03 17:18:07 UTC
A little change. The line should be removed because of #IFDEF the variable is will be exist after it has been changed to 0.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-03-04 03:36:47 UTC
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?
Comment 3 Daniel Nagy 2006-03-04 06:36:56 UTC
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.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-03-04 06:46:31 UTC
How often does it appear? What can you do to trigger its appearance?
Comment 5 Daniel Nagy 2006-03-04 06:55:08 UTC
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.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-03-04 16:56:18 UTC
Ok, thanks for the info. One final question: What type of clients are accessing the share? All Linux? Which kernel versions (approx)?
Comment 7 Daniel Nagy 2006-03-07 04:23:51 UTC
All of them is Gentoo Linux with kernel version 2.6.1x and one FreeBSD 6.0
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2006-03-15 02:36:34 UTC
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.
Comment 9 Daniel Nagy 2006-03-22 00:55:00 UTC
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.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2006-04-11 19:29:06 UTC
Any updates here?
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2006-04-19 04:01:33 UTC
Please reopen when you have tested this, and if appropriate, I'll get it included in the mainline kernel.
Comment 12 Daniel Nagy 2006-09-11 07:14:40 UTC
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?
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2006-09-16 19:59:53 UTC
Created attachment 97197 [details, diff]
new patch

Sorry, there was a typo in that patch. Please test this one instead.
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2006-10-04 07:03:38 UTC
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.