public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: "Daniel K." <dk@uw.no>
Cc: mingo@elte.hu, menage@google.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BUG: NULL pointer dereference] cgroups and RT	scheduling	interact badly.
Date: Mon, 16 Jun 2008 17:18:56 +0200	[thread overview]
Message-ID: <1213629536.16944.109.camel@twins> (raw)
In-Reply-To: <485682B0.8010805@uw.no>

On Mon, 2008-06-16 at 17:11 +0200, Daniel K. wrote:
> Peter Zijlstra wrote:
> > On Mon, 2008-06-16 at 15:51 +0200, Peter Zijlstra wrote:
> >> On Mon, 2008-06-16 at 15:14 +0200, Daniel K. wrote:
> >>> Peter Zijlstra wrote:
> >>>
> >>> Although this patch seems to be correct, this is what shows up on my
> >>> netconsole, when applying it -- with an offset, do you have other fixes
> >>> applied as well?
> >> I had indeed, although nothing touching the rt scheduler. I popped all
> >> my patches and pulled an update from Linus, but I fail to reproduce the
> >> below.
> >>
> >> /me goes look for that burnp6 thing, I used a simple while (1); loop.
> > 
> > found it, still seems to work for me. do you have a funny number of
> > cpus? or anything else noteworthy?
> 
> I don't think so, this is on a SUN X2200 M2, with two AMD Opteron 2214
> processors, and 8G RAM.
> 
> If I follow the procedure up to 'echo 4000 > oops/cpu.rt_runtime_us'
> then I can
> 
> # burnP6 &
> [1] 3395
> # schedtool -R -p 1 3395
> 
> but
> 
> # echo -n 3395 > /dev/cgroup/burn/oops/tasks

Ah, that did it,.. I'll go poke at it. Thanks!

> yields this:
> 
> > [ 1116.296418] ------------[ cut here ]------------
> > [ 1116.296559] Kernel BUG at ffffffff8022acea [verbose debug info unavailable]
> > [ 1116.296644] invalid opcode: 0000 [1] SMP 
> > [ 1116.296721] CPU 3 
> > [ 1116.296788] Modules linked in: netconsole configfs ipmi_msghandler kvm_amd kvm ipv6 iptable_filter ip_tables x_tables af_packet usbhid hid loop tg3 evdev i2c_nforce2 o
> > hci_hcd i2c_core ehci_hcd k8temp button thermal processor pcspkr usbcore shpchp pci_hotplug forcedeth sd_mod sg fan thermal_sys
> > [ 1116.297161] Pid: 3395, comm: burnP6 Not tainted 2.6.26-rc6 #4
> > [ 1116.297240] RIP: 0010:[<ffffffff8022acea>]  [<ffffffff8022acea>] pick_next_task_rt+0x5a/0x90
> > [ 1116.297390] RSP: 0000:ffff81021edf7ea0  EFLAGS: 00010002
> > [ 1116.297467] RAX: 0000000000000064 RBX: ffffffff8049ec00 RCX: ffff81021ef5e800
> > [ 1116.297551] RDX: ffff8102214d7c00 RSI: 0000000000000003 RDI: ffff810001056600
> > [ 1116.298666] RBP: ffff81021edf7ea0 R08: ffff810001050660 R09: 00000000000010a8
> > [ 1116.298750] R10: 0000000000000001 R11: 00000000ffffffff R12: 0000000000000000
> > [ 1116.298833] R13: ffff810001056600 R14: 0000000000000003 R15: 0000000000000000
> > [ 1116.298917] FS:  00007fecf7cc76e0(0000) GS:ffff810223022980(0000) knlGS:0000000000000000
> > [ 1116.299060] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
> > [ 1116.299142] CR2: 0000000001a0d958 CR3: 0000000220c79000 CR4: 00000000000006e0
> > [ 1116.299225] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > [ 1116.299309] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> > [ 1116.299393] Process burnP6 (pid: 3395, threadinfo ffff81021edf6000, task ffff81022178aca0)
> > [ 1116.299535] Stack:  ffff81021edf7f70 ffffffff8048c302 0000000000000000 ffff8102210b1b00
> > [ 1116.299682]  ffffffff80689600 ffffffff80689600 ffffffff806858a0 ffffffff80689600
> > [ 1116.299827]  ffff81022178af18 0000000000000000 0000000000000292 ffff81022178aca0
> > [ 1116.299914] Call Trace:
> > [ 1116.300046]  [<ffffffff8048c302>] thread_return+0x101/0x4af
> > [ 1116.300130]  [<ffffffff8020bdee>] retint_careful+0x1c/0x42
> > [ 1116.300210] 
> > [ 1116.300273] 
> > [ 1116.300335] Code: 48 c1 e0 04 48 8b 14 08 48 85 d2 74 49 48 8b 4a 40 48 85 c9 74 1b 48 8b 01 48 85 c0 75 d4 48 0f bc 41 08 83 c0 40 83 f8 63 7e d0 <0f> 0b eb fe 66 



  reply	other threads:[~2008-06-16 15:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-14 22:26 [BUG: NULL pointer dereference] cgroups and RT scheduling interact badly Daniel K.
2008-06-16 10:34 ` Peter Zijlstra
2008-06-16 13:14   ` Daniel K.
2008-06-16 13:51     ` Peter Zijlstra
2008-06-16 14:39       ` Peter Zijlstra
2008-06-16 15:11         ` Daniel K.
2008-06-16 15:18           ` Peter Zijlstra [this message]
2008-06-17  8:49             ` Peter Zijlstra
2008-06-17 12:25               ` Daniel K.
2008-06-17 12:46                 ` Peter Zijlstra
2008-06-17 20:01                 ` Peter Zijlstra
2008-06-17 21:03                   ` Dmitry Adamushko
2008-06-17 21:48                   ` Daniel K.
2008-06-18 11:50                     ` Peter Zijlstra
2008-06-18 13:35                       ` Daniel K.
2008-06-18 14:12                         ` Peter Zijlstra

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=1213629536.16944.109.camel@twins \
    --to=peterz@infradead.org \
    --cc=dk@uw.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    --cc=mingo@elte.hu \
    /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