Linux Container Development
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Dan Smith <danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>,
	Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
Cc: Linux Containers <containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>
Subject: nsproxy c/r bug?
Date: Tue, 26 May 2009 13:04:19 -0500	[thread overview]
Message-ID: <20090526180419.GA14372@us.ibm.com> (raw)

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

             reply	other threads:[~2009-05-26 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 18:04 Serge E. Hallyn [this message]
     [not found] ` <20090526180419.GA14372-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-26 18:37   ` nsproxy c/r bug? Nathan Lynch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090526180419.GA14372@us.ibm.com \
    --to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox