Re: [PATCH][GIT PULL] tracing: Fix compile issue fortrace_sched_wakeup.c

From: Steven Rostedt
Date: Thu Oct 21 2010 - 07:14:23 EST


On Wed, 2010-10-20 at 17:40 +0200, Ingo Molnar wrote:
> FYI, there's a new mystery hang (sometimes crash) that triggers in -tip - and which
> seems to be tracing related. See the crashlog below - config attached.
>
> It's not bisectable - small changes in the kernel make the bug come/go. (might be a
> race of some sorts)
>


> [ 42.324027] Testing all events:
> [ 245.668090] INFO: task swapper:1 blocked for more than 120 seconds.
> [ 245.672051] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> [ 245.676026] swapper D f6420b40 6544 1 0 0x00000000
> [ 245.684051] f6437dac 00000046 f694aac0 f6420b40 f6438000 f6437d74 f6438294 f6438290
> [ 245.692237] c2192ac0 c204e6c0 c2192ac0 c2192ac0 f6438290 00000000 f6438000 ff2ffa7d
> [ 245.701068] 00000009 f6420b40 f6437e5c 7fffffff f6438000 f6437dfc f6437e5c 7fffffff
> [ 245.709071] Call Trace:
> [ 245.711551] [<c1a7f561>] schedule_timeout+0x1c/0x1e7
> [ 245.712036] [<c1a818b6>] ? _raw_spin_unlock_irq+0x2d/0x43
> [ 245.716037] [<c1027f2d>] ? sub_preempt_count+0x4/0x98
> [ 245.720061] [<c1a818b6>] ? _raw_spin_unlock_irq+0x2d/0x43
> [ 245.724036] [<c1027fb4>] ? sub_preempt_count+0x8b/0x98
> [ 245.728036] [<c1a7e76b>] wait_for_common+0xc1/0x11a
> [ 245.732062] [<c102de32>] ? default_wake_function+0x0/0x12
> [ 245.736041] [<c1a7e863>] wait_for_completion+0x17/0x19
> [ 245.740069] [<c10667a2>] __stop_cpus+0xdd/0x103
> [ 245.744072] [<c1a7e6db>] ? wait_for_common+0x31/0x11a
> [ 245.748040] [<c10665a4>] ? stop_machine_cpu_stop+0x0/0x9a
> [ 245.752040] [<c106683d>] stop_cpus+0x2c/0x3f
> [ 245.756069] [<c10668af>] __stop_machine+0x5f/0x67
> [ 245.760186] [<c1006240>] ? stop_machine_text_poke+0x0/0x43
> [ 245.764040] [<c1006240>] ? stop_machine_text_poke+0x0/0x43
> [ 245.768071] [<c19f0a73>] ? cfdgml_create+0x2b/0xde
> [ 245.772040] [<c10060fd>] text_poke_smp+0x3a/0x42
> [ 245.776039] [<c19f0a73>] ? cfdgml_create+0x2b/0xde


> [ 245.780098] [<c1005b9c>] arch_jump_label_transform+0x53/0x67
> [ 245.784042] [<c104ef0d>] jump_label_update+0x49/0x98

Looks like this code had jump labels enabled. Do you have a dump where
they are not enabled?

-- Steve

> [ 245.788041] [<c1070b33>] tracepoint_update_probe_range+0xec/0x116
> [ 245.792070] [<c1070c74>] tracepoint_probe_unregister+0x51/0x6b
> [ 245.796040] [<c107f3c0>] ftrace_event_reg+0x48/0x4c
> [ 245.800041] [<c107e87c>] ftrace_event_enable_disable+0x39/0x8a
> [ 245.804070] [<c107ebdf>] __ftrace_set_clr_event+0x91/0xbc
> [ 245.808043] [<c1fbee72>] event_trace_self_tests+0x1cd/0x239
> [ 245.812040] [<c1fbf025>] event_trace_self_tests_init+0x2a/0x39
> [ 245.816230] [<c1fab282>] do_one_initcall+0x47/0x113
> [ 245.820069] [<c1fbeffb>] ? event_trace_self_tests_init+0x0/0x39
> [ 245.824040] [<c1fbeffb>] ? event_trace_self_tests_init+0x0/0x39
> [ 245.828069] [<c1fab477>] kernel_init+0x10d/0x18e
> [ 245.832040] [<c1fab36a>] ? kernel_init+0x0/0x18e
> [ 245.836040] [<c1002c7e>] kernel_thread_helper+0x6/0x10


--
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/