Re: [PATCH 0/5] [GIT PULL] updates for tip/tracing/ftrace
From: Steven Rostedt
Date: Thu Mar 19 2009 - 13:22:04 EST
I'm still not able to reproduce, but...
On Thu, 19 Mar 2009, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > these latest ftrace changes caused a lockup on a -tip testsystem:
>
> Note, even with Rusty's offstack-cpumask fix applied (in latest
> -tip), i can reproduce a lockup:
>
> [ 4.132872] calling init_mmio_trace+0x0/0x12 @ 1
> [ 4.137551] initcall init_mmio_trace+0x0/0x12 returned 0 after 10 usecs
> [ 4.144149] calling init_graph_trace+0x0/0x12 @ 1
> [ 4.148913] Testing tracer function_graph: <3>INFO: RCU detected CPU 0 stall (t=4294680313/10000 jiffies)
> [ 18.620342] Pid: 858, comm: kstop/0 Not tainted 2.6.29-rc8-tip-02638-g1c002f5-dirty #3067
> [ 18.620342] Call Trace:
> [ 18.620342] <IRQ> [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8021b2d5>] print_context_stack+0xbc/0x11e
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff80219c2e>] dump_trace+0x221/0x271
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8021b180>] show_trace_log_lvl+0x51/0x5e
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8021b1a2>] show_trace+0x15/0x17
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8021b505>] dump_stack+0x77/0x82
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802e343b>] print_cpu_stall+0x40/0x9b
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802e384f>] check_cpu_stall+0x11e/0x15c
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802e38a4>] __rcu_pending+0x17/0xff
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802e39b8>] rcu_pending+0x2c/0x5e
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8028b89a>] update_process_times+0x3c/0x76
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802a901e>] tick_periodic+0x7a/0x86
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802a9050>] tick_handle_periodic+0x26/0x8a
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802a97f8>] tick_do_broadcast+0x1d4/0x23a
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802a9929>] tick_do_periodic_broadcast+0x4c/0x5d
> [ 18.620342] [<ffffffff802e28b9>] ? rcu_torture_timer+0x0/0x12b
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802a994e>] tick_handle_periodic_broadcast+0x14/0x75
> [ 18.620342] [<ffffffff80214c3d>] return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff80219f0f>] timer_interrupt+0x1f/0x26
> [ 18.620342] [<ffffffff811f1a6d>] ? _spin_unlock_irq+0x9/0x3b
> [ 18.620342] [<ffffffff811f1a9b>] ? _spin_unlock_irq+0x37/0x3b
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802dd04c>] handle_IRQ_event+0x167/0x230
> [ 18.620342] [<ffffffff8025e8e4>] ? idle_cpu+0x4/0x33
> [ 18.620342] [<ffffffff80215a10>] ? restore_args+0x0/0x30
> [ 18.620342] [<ffffffff80284453>] ? __local_bh_disable+0x11/0x16c
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff802dfc86>] handle_edge_irq+0x1bf/0x225
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff80219305>] handle_irq+0x15d/0x171
> [ 18.620342] [<ffffffff802195e9>] ? do_softirq+0x80/0x187
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff811f2457>] do_IRQ+0x5f/0xfc
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff80215953>] ret_from_intr+0x0/0x16
> [ 18.620342] [<ffffffff80214c3d>] ? return_to_handler+0x0/0x73
> [ 18.620342] [<ffffffff8028aa1d>] run_timer_softirq+0x1c1/0x2af
> [ 18.620342] <EOI> [<ffffffff802ce8f0>] ? ack_state+0x4/0x45
> [ 18.620342] [<ffffffff802ced22>] ? stop_cpu+0x1c5/0x1d1
This looks like it is RCU/stop_machine related. The CPU is stuck in
in stop_machine? I see that rcu_torture is running. Does this go away if
you turn off rcu_torture?
-- Steve
> [ 18.620342] [<ffffffff80294a29>] ? run_workqueue+0x1a0/0x2e2
> [ 18.620342] [<ffffffff802949d6>] ? run_workqueue+0x14d/0x2e2
> [ 18.620342] [<ffffffff802ceb5d>] ? stop_cpu+0x0/0x1d1
> [ 18.620342] [<ffffffff826b4140>] ? early_idt_handler+0x0/0x73
> [ 18.620342] [<ffffffff80295d1b>] ? worker_thread+0x138/0x14c
> [ 18.620342] [<ffffffff80299e63>] ? autoremove_wake_function+0x0/0x4f
> [ 18.620342] [<ffffffff80295be3>] ? worker_thread+0x0/0x14c
> [ 18.620342] [<ffffffff80299d20>] ? kthread+0x60/0xa0
> [ 18.620342] [<ffffffff8021606a>] ? child_rip+0xa/0x20
> [ 18.620342] [<ffffffff8026fd4b>] ? finish_task_switch+0x56/0x180
> [ 18.620342] [<ffffffff80215a10>] ? restore_args+0x0/0x30
> [ 18.620342] [<ffffffff80299cc0>] ? kthread+0x0/0xa0
> [ 18.620342] [<ffffffff80216060>] ? child_rip+0x0/0x20
> [ 64.758749] INFO: RCU detected CPU 0 stall (t=4294710313/40000 jiffies)
> [ 64.758749] Pid: 858, comm: kstop/0 Not tainted 2.6.29-rc8-tip-02638-g1c002f5-dirty #3067
>
> (the hang is real - it lasted overnight without the system ever
> managing to boot up.)
>
> Config (note, it's different from the config i sent last) and full
> bootlog attached.
>
> Ingo
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/