linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.4.5 regression kernel oops in mount attempt without lockd present
       [not found] <505CBF46.1060901@windriver.com>
@ 2012-09-22 11:43 ` Jason Wessel
  2012-09-28  0:26   ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wessel @ 2012-09-22 11:43 UTC (permalink / raw)
  To: Greg KH, stable; +Cc: Gortmaker, Paul, lkml



Greg,

In 3.4.5, a regression was introduced from commit: ee92389156 "SUNRPC:
move per-net operations from svc_destroy()".

This regression was actually fixed in a later upstream patch in
v3.5-rc1, specifically 4db77695bf5 "LockD: pass service to per-net up
and down functions", which means there is no stock kernel.org kernel
that exhibits this particular crash.

Please add 4db77695bf5 to the 3.4.Y, it should cherry-pick cleanly.

Below is the stack trace you can get from lockd initiation crashing if
you try to mount a file system with locks when lockd is not running.

BUG: unable to handle kernel NULL pointer dereference at 0000011c
IP: [<c1208481>] lockd_down_net+0x41/0xb0
*pde = 00000000
Oops: 0000 [#1] PREEMPT SMP
Modules linked in:

Pid: 42, comm: mount Not tainted 3.4.10-WR5.0+snapshot-20120814_standard #26 Bochs Bochs
EIP: 0060:[<c1208481>] EFLAGS: 00010282 CPU: 0
EIP is at lockd_down_net+0x41/0xb0
EAX: 00000000 EBX: 00000003 ECX: 00000000 EDX: 00000000
ESI: c1a23540 EDI: d7949708 EBP: d7033da0 ESP: d7033d88
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
CR0: 8005003b CR2: 0000011c CR3: 1701a000 CR4: 000006d0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
Process mount (pid: 42, ti=d7032000 task=d7a2e200 task.ti=d7032000)
Stack:
 c1208993 c181af78 ffffff91 ffffff91 d7af9980 c1a23540 d7033dcc c1208ba7
 d79d5500 d7033db8 c11dec06 00000000 d7033dd0 d7949708 d7033df8 00000004
 00000003 d7033df0 c120591c c11de15e 00000001 00000000 d79d54e0 d700ac00
Call Trace:
 [<c1208993>] ? make_socks+0x93/0xa0
 [<c1208ba7>] lockd_up+0x207/0x280
 [<c11dec06>] ? nfs_mark_client_ready+0x26/0x30
 [<c120591c>] nlmclnt_init+0x2c/0x80
 [<c11de15e>] ? nfs_get_client+0x4ee/0x580
 [<c11dd94c>] nfs_start_lockd+0x9c/0xd0
 [<c11def8d>] nfs_create_server+0x1bd/0x3e0
 [<c11e95b1>] nfs_fs_mount+0x91/0x3e0
 [<c12d131d>] ? ida_get_new_above+0x1ad/0x230
 [<c10f70f6>] mount_fs+0x36/0x180
 [<c10d9abf>] ? __alloc_percpu+0xf/0x20
 [<c110d701>] vfs_kern_mount+0x51/0xc0
 [<c110db3e>] do_kern_mount+0x3e/0xe0
 [<c110ef69>] do_mount+0x169/0x710
 [<c110f62b>] sys_mount+0x6b/0xa0
 [<c1662359>] syscall_call+0x7/0xb
Code: c0 8b a1 c1 89 c6 e8 6f 8f e8 ff 85 db 8b 86 80 03 00 00 74 5a 3b 18 77 56 8b 7c 98 08 e8 48 a6 e8 ff 85 ff 74 66 a1 cc 8b a1 c1 <8b> 98 1c 01 00 00 8b 07 85 c0 74 3a 83 e8 01 85 c0 89 07 74 12
EIP: [<c1208481>] lockd_down_net+0x41/0xb0 SS:ESP 0068:d7033d88
CR2: 000000000000011c
---[ end trace 4812fcaee13b225d ]---


Thanks,
Jason.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.4.5 regression kernel oops in mount attempt without lockd present
  2012-09-22 11:43 ` 3.4.5 regression kernel oops in mount attempt without lockd present Jason Wessel
@ 2012-09-28  0:26   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2012-09-28  0:26 UTC (permalink / raw)
  To: Jason Wessel; +Cc: stable, Gortmaker, Paul, lkml

On Sat, Sep 22, 2012 at 06:43:00AM -0500, Jason Wessel wrote:
> 
> 
> Greg,
> 
> In 3.4.5, a regression was introduced from commit: ee92389156 "SUNRPC:
> move per-net operations from svc_destroy()".
> 
> This regression was actually fixed in a later upstream patch in
> v3.5-rc1, specifically 4db77695bf5 "LockD: pass service to per-net up
> and down functions", which means there is no stock kernel.org kernel
> that exhibits this particular crash.
> 
> Please add 4db77695bf5 to the 3.4.Y, it should cherry-pick cleanly.

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-28  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <505CBF46.1060901@windriver.com>
2012-09-22 11:43 ` 3.4.5 regression kernel oops in mount attempt without lockd present Jason Wessel
2012-09-28  0:26   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).