Bug 7916
Summary: | kernel reports "kernel BUG at fs/inode.c:1117" | ||
---|---|---|---|
Product: | File System | Reporter: | richlv |
Component: | VFS | Assignee: | Neil Brown (neilb) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | neilb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.19.2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Patch which might fix the problem
Revised patch |
Description
richlv
2007-02-01 02:07:21 UTC
What version of nfs-utils (showmount -V)? Were you starting or stopping things at the time, or did it just die while in normal use? Has this happened more than once (i.e. is it repeatable?) Did any of the clients crash or do something unusual? Thanks. NeilBrown showmount complained about uppercase V, but gave up with lowercase v :) 1.0.10 the problem happened during normal system use (though system was having somewhat high load, mostly from nfs). it is not happening regularly, but it seems to have happened twice, with about a minute inbetween. hard to tell about clients, most are not under my control. Created attachment 10282 [details]
Patch which might fix the problem
I think this patch might fix the problem.
Are you in a position to test the patch? Has it happened against since the two times you report? Thanks. patch results for 2.6.19.2 : Hunk #1 succeeded at 499 (offset -100 lines). Hunk #2 succeeded at 1243 (offset -52 lines). Hunk #3 succeeded at 1664 with fuzz 1 (offset -108 lines). patch results for 2.6.20 : Hunk #1 succeeded at 529 (offset -70 lines). Hunk #2 succeeded at 1247 (offset -48 lines). Hunk #3 succeeded at 1698 with fuzz 1 (offset -74 lines). so i applied the patch to 2.6.20 and that's what the machine is running now. the problem has not occurred again, but there also has not been such a prolonged period of high load since then. Created attachment 10322 [details]
Revised patch
That patch had a bug - when you shut down the NFS server it will not close the
sockets properly and a reboot will be required. That probably won't be a
problem
for you as people rarely shut down the NFS server except when they want to
reboot.
The attached patch is against 2.6.20 and fixes this bug. I will submit it for
2.6.20.1
Thanks.
indeed, nfs server shutdown is not something that occurs too often. thanks for the fast response and fix, i suppose the report can be set to 'resolved' now :) ah. i can do that myself. please, correct the status if i get it wrong. |