All of lore.kernel.org
 help / color / mirror / Atom feed
* nsproxy c/r bug?
@ 2009-05-26 18:04 Serge E. Hallyn
       [not found] ` <20090526180419.GA14372-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-05-26 18:04 UTC (permalink / raw)
  To: Dan Smith, Oren Laadan; +Cc: Linux Containers

On a ckpt-v15-dev kernel, if I do:

	git clone git://git.sr71.net/~hallyn/cr_tests.git
	cd cr_tests; make; make install
	mkdir /cgroup
	mount -t cgroup -o freezer cgroup /cgroup
	mkdir /cgroup/1
	cd userns
	sh run_userns.sh
	cd ../fileio
	sh runtests.sh

I get something like:

Unable to handle kernel pointer dereference at virtual kernel address fffffffd132b4000
Oops: 0038 [#4] SMP 
CPU: 0 Tainted: G      D    2.6.30-rc3-00080-g2b1009c #261
Process ns_exec (pid: 3842, task: 000000001fdf9d50, ksp: 0000000012d83d90)
Krnl PSW : 0404100180000000 00000000000ae266 (kmem_cache_alloc+0xa6/0x104)
           R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:0 CC:1 PM:0 EA:3
Krnl GPRS: 000003ff00000000 0000000000000000 00000000004bf308 000000000000063b
           00000000000ae20e 0000000000422088 0000000000dc5098 0000000000000030
           000000000005f0ea 000000001fc19200 00000000000000d0 0000000012d83d58
           0700000000000400 00000000004075a8 fffffffd132b4090 0000000012d83d58
Krnl Code: 00000000000ae256: a7f4000e		brc	15,ae272
           00000000000ae25a: e31060140016	llgf	%r1,20(%r6)
           00000000000ae260: eb110003000d	sllg	%r1,%r1,3
          >00000000000ae266: e321e0000004	lg	%r2,0(%r1,%r14)
           00000000000ae26c: e32060000024	stg	%r2,0(%r6)
           00000000000ae272: e3c0b0a00024	stg	%r12,160(%r11)
           00000000000ae278: 8000b0a0		ssm	160(%r11)
           00000000000ae27c: a7a18000		tmll	%r10,32768
Call Trace:
([<00000000000ae20e>] kmem_cache_alloc+0x4e/0x104)
 [<000000000005f0ea>] create_new_namespaces+0x4e/0x204
 [<000000000005f4fa>] unshare_nsproxy_namespaces+0x82/0xf8
 [<000000000003c222>] SyS_unshare+0x11a/0x2f4
 [<0000000000026b94>] sysc_do_restart+0x20/0x26
 [<0000004d7db60ce6>] 0x4d7db60ce6
INFO: lockdep is turned off.
Last Breaking-Event-Address:
 [<00000000000ae238>] kmem_cache_alloc+0x78/0x104
 <4>---[ end trace 3165f2ef06617eea ]---

I have not figured what what is going on.  Is there an nsproxy
get/put imbalance that could cause this?

-serge

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

* Re: nsproxy c/r bug?
       [not found] ` <20090526180419.GA14372-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-05-26 18:37   ` Nathan Lynch
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Lynch @ 2009-05-26 18:37 UTC (permalink / raw)
  To: Serge E. Hallyn
  Cc: Containers, Dan Smith, Linux-FOgKQjlUJ6BQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

"Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> writes:
> Unable to handle kernel pointer dereference at virtual kernel address fffffffd132b4000
> Oops: 0038 [#4] SMP 
> CPU: 0 Tainted: G      D    2.6.30-rc3-00080-g2b1009c #261
> Process ns_exec (pid: 3842, task: 000000001fdf9d50, ksp: 0000000012d83d90)
> Krnl PSW : 0404100180000000 00000000000ae266 (kmem_cache_alloc+0xa6/0x104)
>            R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:0 CC:1 PM:0 EA:3
> Krnl GPRS: 000003ff00000000 0000000000000000 00000000004bf308 000000000000063b
>            00000000000ae20e 0000000000422088 0000000000dc5098 0000000000000030
>            000000000005f0ea 000000001fc19200 00000000000000d0 0000000012d83d58
>            0700000000000400 00000000004075a8 fffffffd132b4090 0000000012d83d58
> Krnl Code: 00000000000ae256: a7f4000e		brc	15,ae272
>            00000000000ae25a: e31060140016	llgf	%r1,20(%r6)
>            00000000000ae260: eb110003000d	sllg	%r1,%r1,3
>           >00000000000ae266: e321e0000004	lg	%r2,0(%r1,%r14)
>            00000000000ae26c: e32060000024	stg	%r2,0(%r6)
>            00000000000ae272: e3c0b0a00024	stg	%r12,160(%r11)
>            00000000000ae278: 8000b0a0		ssm	160(%r11)
>            00000000000ae27c: a7a18000		tmll	%r10,32768
> Call Trace:
> ([<00000000000ae20e>] kmem_cache_alloc+0x4e/0x104)
>  [<000000000005f0ea>] create_new_namespaces+0x4e/0x204
>  [<000000000005f4fa>] unshare_nsproxy_namespaces+0x82/0xf8
>  [<000000000003c222>] SyS_unshare+0x11a/0x2f4
>  [<0000000000026b94>] sysc_do_restart+0x20/0x26
>  [<0000004d7db60ce6>] 0x4d7db60ce6

Turning on slab/slub debugging might help, if you haven't already done
so.

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

end of thread, other threads:[~2009-05-26 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26 18:04 nsproxy c/r bug? Serge E. Hallyn
     [not found] ` <20090526180419.GA14372-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-26 18:37   ` Nathan Lynch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.