hi, i'm having here a gentoo ~x86 server running on 2.6.29-rc4. It has a nfs server for booting diskless clients. In dmesg I see random crashes of nfsd, which cause the clients to hang until i reboot the server. Restarting /etc/init.d/nfs hangs at "Starting NFS daemon...".
using nfs-utils-1.1.4-r1 kernel config: ---------------snip----------------- cat linux/.config|grep -i nfs CONFIG_NFS_FS=y CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y CONFIG_ROOT_NFS=y CONFIG_NFSD=m CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y # CONFIG_NFSD_V4 is not set CONFIG_NFS_ACL_SUPPORT=y CONFIG_NFS_COMMON=y ---------------snap----------------- dmesg output: ---------------snip----------------- [ 23.818334] Installing knfsd (copyright (C) 1996 o...@monad.swb.de). [ 23.893486] rpc.nfsd used greatest stack depth: 5604 bytes left [78016.584819] BUG: unable to handle kernel NULL pointer dereference at 00000004 [78016.584827] IP: [<c116235b>] inode_has_perm+0x21/0x67 [78016.584839] *pde = 00000000 [78016.584846] Oops: 0000 [#1] SMP [78016.584904] last sysfs file: /sys/kernel/uevent_seqnum [78016.584956] Modules linked in: nfsd exportfs tun snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc [78016.585080] [78016.585128] Pid: 2151, comm: nfsd Not tainted (2.6.29-rc4 #2) OptiPlex GX270 [78016.585225] EIP: 0060:[<c116235b>] EFLAGS: 00010246 CPU: 0 [78016.585278] EIP is at inode_has_perm+0x21/0x67 [78016.585329] EAX: 00000000 EBX: 00000000 ECX: 00000002 EDX: d9835290 [78016.585386] ESI: d55e4880 EDI: f12bbf00 EBP: f107fe30 ESP: f107fddc [78016.585439] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [78016.585492] Process nfsd (pid: 2151, ti=f107e000 task=f6c76880 task.ti=f107e000) [78016.585586] Stack: [78016.585632] 00000004 f6774d80 00000002 c115f766 f107fdfc c10889b3 00000044 d9835290 [78016.585700] f107fe10 f7f3b0d9 f6774d80 f105a200 00000000 f107fe90 f7f3a88d f107fe20 [78016.585715] c101da2e f107fe28 00000002 d55e4880 d9835290 f107fe4c c1163543 00000000 [78016.585715] Call Trace: [78016.585715] [<c115f766>] ? security_inode_permission+0x1a/0x20 [78016.585715] [<c10889b3>] ? inode_permission+0x78/0x83 [78016.585715] [<f7f3b0d9>] ? nfsd_permission+0x8e/0xda [nfsd] [78016.585715] [<f7f3a88d>] ? fh_verify+0x45f/0x525 [nfsd] [78016.585715] [<c101da2e>] ? need_resched+0x14/0x1e [78016.585715] [<c1163543>] ? selinux_dentry_open+0xb0/0xb8 [78016.585715] [<c115eeec>] ? security_dentry_open+0xf/0x11 [78016.585715] [<c1080f36>] ? __dentry_open+0xef/0x1e8 [78016.585715] [<c1081ed0>] ? dentry_open+0x5c/0x67 [78016.585715] [<f7f3bb59>] ? nfsd_open+0x101/0x125 [nfsd] [78016.585715] [<f7f3be98>] ? nfsd_read+0x5f/0x99 [nfsd] [78016.585715] [<f7f39edc>] ? nfsd_proc_read+0xec/0x120 [nfsd] [78016.585715] [<c13dc33d>] ? cache_check+0x55/0x376 [78016.585715] [<c106df6b>] ? page_address+0x15/0x7c [78016.585715] [<f7f401f9>] ? nfssvc_decode_readargs+0xa8/0xaf [nfsd] [78016.585715] [<f7f381eb>] ? nfsd_dispatch+0xcf/0x19e [nfsd] [78016.585715] [<c13d7118>] ? svc_process+0x34a/0x558 [78016.585715] [<f7f38778>] ? nfsd+0x117/0x167 [nfsd] [78016.585715] [<f7f38661>] ? nfsd+0x0/0x167 [nfsd] [78016.585715] [<c1035f11>] ? kthread+0x3b/0x62 [78016.585715] [<c1035ed6>] ? kthread+0x0/0x62 [78016.585715] [<c100374b>] ? kernel_thread_helper+0x7/0x10 [78016.585715] Code: 04 89 46 68 5b 89 d0 5e 5d c3 55 89 e5 57 89 c7 56 31 c0 53 83 ec 48 89 4d b4 8b 5d 08 f6 82 45 01 00 00 02 75 43 8b 47 58 85 db <8b> 70 04 8b 82 4c 01 00 00 89 45 b0 75 19 8d 7d bc b9 0e 00 00 [78016.585715] EIP: [<c116235b>] inode_has_perm+0x21/0x67 SS:ESP 0068:f107fddc [78016.587989] ---[ end trace 9bc36c246382c5e4 ]--- [78016.588095] nfsd used greatest stack depth: 5276 bytes left [78016.590769] BUG: unable to handle kernel NULL pointer dereference at 00000004 [78016.590926] IP: [<c116235b>] inode_has_perm+0x21/0x67 [78016.591061] *pde = 00000000 [78016.591175] Oops: 0000 [#2] SMP [78016.591320] last sysfs file: /sys/kernel/uevent_seqnum [78016.591404] Modules linked in: nfsd exportfs tun snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc [78016.591933] [78016.592012] Pid: 2155, comm: nfsd Tainted: G D (2.6.29-rc4 #2) OptiPlex GX270 [78016.592056] EIP: 0060:[<c116235b>] EFLAGS: 00010246 CPU: 0 [78016.592056] EIP is at inode_has_perm+0x21/0x67 [78016.592056] EAX: 00000000 EBX: 00000000 ECX: 00000002 EDX: d9835290 [78016.592056] ESI: d55e4780 EDI: f12bb100 EBP: f1103e30 ESP: f1103ddc [78016.592056] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [78016.592056] Process nfsd (pid: 2155, ti=f1102000 task=f6c73900 task.ti=f1102000) [78016.592056] Stack: [78016.592056] 00000004 f6774d80 00000002 c115f766 f1103dfc c10889b3 00000044 d9835290 [78016.592056] f1103e10 f7f3b0d9 f6774d80 f105ba00 00000000 f1103e90 f7f3a88d f1103e20 [78016.592056] c101da2e f1103e28 00000002 d55e4780 d9835290 f1103e4c c1163543 00000000 [78016.592056] Call Trace: [78016.592056] [<c115f766>] ? security_inode_permission+0x1a/0x20 [78016.592056] [<c10889b3>] ? inode_permission+0x78/0x83 [78016.592056] [<f7f3b0d9>] ? nfsd_permission+0x8e/0xda [nfsd] [78016.592056] [<f7f3a88d>] ? fh_verify+0x45f/0x525 [nfsd] [78016.592056] [<c101da2e>] ? need_resched+0x14/0x1e [78016.592056] [<c1163543>] ? selinux_dentry_open+0xb0/0xb8 [78016.592056] [<c115eeec>] ? security_dentry_open+0xf/0x11 [78016.592056] [<c1080f36>] ? __dentry_open+0xef/0x1e8 [78016.592056] [<c1081ed0>] ? dentry_open+0x5c/0x67 [78016.592056] [<f7f3bb59>] ? nfsd_open+0x101/0x125 [nfsd] [78016.592056] [<f7f3be98>] ? nfsd_read+0x5f/0x99 [nfsd] [78016.592056] [<f7f39edc>] ? nfsd_proc_read+0xec/0x120 [nfsd] [78016.592056] [<c13dc33d>] ? cache_check+0x55/0x376 [78016.592056] [<c106df6b>] ? page_address+0x15/0x7c [78016.592056] [<f7f401f9>] ? nfssvc_decode_readargs+0xa8/0xaf [nfsd] [78016.592056] [<f7f381eb>] ? nfsd_dispatch+0xcf/0x19e [nfsd] [78016.592056] [<c13d7118>] ? svc_process+0x34a/0x558 [78016.592056] [<f7f38778>] ? nfsd+0x117/0x167 [nfsd] [78016.592056] [<f7f38661>] ? nfsd+0x0/0x167 [nfsd] [78016.592056] [<c1035f11>] ? kthread+0x3b/0x62 [78016.592056] [<c1035ed6>] ? kthread+0x0/0x62 [78016.592056] [<c100374b>] ? kernel_thread_helper+0x7/0x10 [78016.592056] Code: 04 89 46 68 5b 89 d0 5e 5d c3 55 89 e5 57 89 c7 56 31 c0 53 83 ec 48 89 4d b4 8b 5d 08 f6 82 45 01 00 00 02 75 43 8b 47 58 85 db <8b> 70 04 8b 82 4c 01 00 00 89 45 b0 75 19 8d 7d bc b9 0e 00 00 [78016.592056] EIP: [<c116235b>] inode_has_perm+0x21/0x67 SS:ESP 0068:f1103ddc [78016.599214] ---[ end trace 9bc36c246382c5e5 ]--- ---------------snap----------------- Any ideas?