Oops in NFSv4 server in 2.6.23.17
J. Bruce Fields
bfields at fieldses.org
Wed Mar 12 12:00:07 EDT 2008
On Wed, Mar 12, 2008 at 01:25:50PM +0100, Lukas Hejtmanek wrote:
> Hello,
>
> I'm running NFSv4 server (nfs-utils 1.1.1) with vanila kernel 2.6.23.17.
> It works while I use the server from standard ethernet lines.
>
> However, I tried to mount the volume over GPRS network. For the first time, it
> replies premission denied and the second try results in the following oops.
>
> Anything I should try?
>
> I guess that the last oops is induced from the first one due to some memory
> corruption.
>
> WARNING: at lib/kref.c:33 kref_get()
Hm. So looks like that means kref_get() was called on something with a
zero reference count.
>
> Call Trace:
> [<ffffffff803a1315>] kref_get+0x35/0x40
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
So sunrpc_cache_lookup found something with a zero reference count,
in...
> [<ffffffff881b5910>] :nfsd:svc_export_lookup+0xc0/0xd0
... the has table that keeps the kernel's cached view of the export
table.
> [<ffffffff881b594f>] :nfsd:exp_get_by_name+0x2f/0x80
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
> [<ffffffff88127b89>] :sunrpc:cache_check+0x49/0x490
> [<ffffffff881b5fb7>] :nfsd:exp_find_key+0x57/0xc0
> [<ffffffff881b6064>] :nfsd:exp_find+0x44/0xa0
> [<ffffffff881b615e>] :nfsd:rqst_exp_find+0x9e/0xf0
> [<ffffffff881b0c45>] :nfsd:fh_verify+0x425/0x540
> [<ffffffff881bf25e>] :nfsd:nfsd4_proc_compound+0x1de/0x330
> [<ffffffff881ad271>] :nfsd:nfsd_dispatch+0xb1/0x250
> [<ffffffff8811fe91>] :sunrpc:svc_process+0x491/0x7d0
> [<ffffffff804e8032>] __down_read+0x12/0xb0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad9b0>] :nfsd:nfsd+0x1a0/0x2f0
> [<ffffffff8020d068>] child_rip+0xa/0x12
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff8020d05e>] child_rip+0x0/0x12
>
> WARNING: at lib/kref.c:33 kref_get()
>
> Call Trace:
> [<ffffffff803a1315>] kref_get+0x35/0x40
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
> [<ffffffff881b5910>] :nfsd:svc_export_lookup+0xc0/0xd0
> [<ffffffff881b594f>] :nfsd:exp_get_by_name+0x2f/0x80
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
> [<ffffffff88127b89>] :sunrpc:cache_check+0x49/0x490
> [<ffffffff881b5fb7>] :nfsd:exp_find_key+0x57/0xc0
> [<ffffffff881b6064>] :nfsd:exp_find+0x44/0xa0
> [<ffffffff881b615e>] :nfsd:rqst_exp_find+0x9e/0xf0
> [<ffffffff881b0c45>] :nfsd:fh_verify+0x425/0x540
> [<ffffffff881bf25e>] :nfsd:nfsd4_proc_compound+0x1de/0x330
> [<ffffffff881ad271>] :nfsd:nfsd_dispatch+0xb1/0x250
> [<ffffffff8811fe91>] :sunrpc:svc_process+0x491/0x7d0
> [<ffffffff804e8032>] __down_read+0x12/0xb0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad9b0>] :nfsd:nfsd+0x1a0/0x2f0
> [<ffffffff8020d068>] child_rip+0xa/0x12
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff8020d05e>] child_rip+0x0/0x12
>
> WARNING: at lib/kref.c:33 kref_get()
>
> Call Trace:
> [<ffffffff803a1315>] kref_get+0x35/0x40
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
> [<ffffffff881b5910>] :nfsd:svc_export_lookup+0xc0/0xd0
> [<ffffffff881b594f>] :nfsd:exp_get_by_name+0x2f/0x80
> [<ffffffff88128f34>] :sunrpc:sunrpc_cache_lookup+0x64/0x160
> [<ffffffff88127b89>] :sunrpc:cache_check+0x49/0x490
> [<ffffffff881b5fb7>] :nfsd:exp_find_key+0x57/0xc0
> [<ffffffff881b6064>] :nfsd:exp_find+0x44/0xa0
> [<ffffffff881b615e>] :nfsd:rqst_exp_find+0x9e/0xf0
> [<ffffffff881b0c45>] :nfsd:fh_verify+0x425/0x540
> [<ffffffff881bf25e>] :nfsd:nfsd4_proc_compound+0x1de/0x330
> [<ffffffff881ad271>] :nfsd:nfsd_dispatch+0xb1/0x250
> [<ffffffff8811fe91>] :sunrpc:svc_process+0x491/0x7d0
> [<ffffffff804e8032>] __down_read+0x12/0xb0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad9b0>] :nfsd:nfsd+0x1a0/0x2f0
> [<ffffffff8020d068>] child_rip+0xa/0x12
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff881ad810>] :nfsd:nfsd+0x0/0x2f0
> [<ffffffff8020d05e>] child_rip+0x0/0x12
>
> general protection fault: 0000 [1] SMP
> CPU 0
> Modules linked in: des cbc blkcipher nfsd exportfs rpcsec_gss_krb5 auth_rpcgss nfs lockd nfs_acl sunrpc ipv6 dm_snapshot dm_mirror loop dm_round_robin dm_multipath dm_mod ata_piix ata_generic thermal mptfc libata processor scsi_transport_fc ehci_hcd e1000 evdev serio_raw psmouse uhci_hcd i2c_i801 i2c_core
> Pid: 2863, comm: nfsd Not tainted 2.6.23.17 #1
> RIP: 0010:[<ffffffff8819b113>] [<ffffffff8819b113>] :auth_rpcgss:gss_get_mic+0x3/0x10
> RSP: 0018:ffff81025c1d1c78 EFLAGS: 00010286
> RAX: 762aba3d00000004 RBX: ffff81025b19f240 RCX: ffff81025c05c000
> RDX: ffff81025c1d1cd0 RSI: ffff81025c1d1c80 RDI: ffff81025effa600
> RBP: ffff81025c05c014 R08: 0000000000000000 R09: 0000000000000004
> R10: 0000000000000000 R11: 0000000000000000 R12: ffff81025effa600
> R13: ffff81025b596000 R14: ffff81025c05c018 R15: ffff81025b596130
> FS: 00002b540c07b6d0(0000) GS:ffffffff805fe000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 00007fffa57e00e8 CR3: 000000025bb40000 CR4: 00000000000006e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Process nfsd (pid: 2863, threadinfo ffff81025c1d0000, task ffff81025fe0c0c0)
> Stack: ffffffff8819c175 ffff81025c1d1cec 0000000000000004 0000000000000000
> 0000000000000000 0000000000000000 0000000000000000 0000000400000004
> 0000000000000000 ffff81025c1d1cec 0000000000000004 ffff81025effa600
> Call Trace:
> [<ffffffff8819c175>] :auth_rpcgss:gss_write_verf+0xa5/0x130
In this case it looks like something in the gss context cache is bad.
I'm not sure what's going on.
More information about the NFSv4
mailing list