All of lore.kernel.org
 help / color / mirror / Atom feed
* mce.c related WARNING: at kernel/timer.c:983 del_timer_sync
@ 2011-03-08  1:31 Venkatesh Pallipadi
  2011-03-08  9:06 ` Yong Zhang
  0 siblings, 1 reply; 4+ messages in thread
From: Venkatesh Pallipadi @ 2011-03-08  1:31 UTC (permalink / raw)
  To: Andi Kleen, Yong Zhang
  Cc: Linux Kernel Mailing List, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin

With latest git kernel, I see the below WARN_ON at boot, once for each CPU.

[   26.806429] ------------[ cut here ]------------
[   26.806434] WARNING: at kernel/timer.c:983 del_timer_sync+0x39/0x4d()
[   26.806437] Hardware name: MCP55
[   26.806438] Modules linked in: tg3 forcedeth sata_mv powernow_k8
freq_table processor mperf msr cpuid ipv6 genrtc
[   26.806447] Pid: 0, comm: swapper Tainted: G        W
2.6.38-smp-linus.22280 #23
[   26.806449] Call Trace:
[   26.806450]  <IRQ>  [<ffffffff8106e8ea>] ? warn_slowpath_common+0x85/0x9d
[   26.806456]  [<ffffffff8106e91c>] ? warn_slowpath_null+0x1a/0x1c
[   26.806459]  [<ffffffff8107ac48>] ? del_timer_sync+0x39/0x4d
[   26.806462]  [<ffffffff81047a44>] ? mce_cpu_restart+0x1e/0x54
[   26.806466]  [<ffffffff81099b22>] ?
generic_smp_call_function_single_interrupt+0xd1/0xf3
[   26.806469]  [<ffffffff8104c188>] ?
smp_call_function_single_interrupt+0x18/0x27
[   26.806473]  [<ffffffff810375f3>] ? call_function_single_interrupt+0x13/0x20
[   26.806475]  <EOI>  [<ffffffff8103da93>] ? default_idle+0x4d/0x7f
[   26.806479]  [<ffffffff8103da73>] ? default_idle+0x2d/0x7f
[   26.806482]  [<ffffffff8103dbad>] ? c1e_idle+0xe8/0xef
[   26.806485]  [<ffffffff8145bc62>] ? atomic_notifier_call_chain+0x18/0x1a
[   26.806488]  [<ffffffff81035cc7>] ? cpu_idle+0x5f/0x96
[   26.806491]  [<ffffffff8144af7e>] ? rest_init+0x72/0x74
[   26.806495]  [<ffffffff818edcfe>] ? start_kernel+0x37b/0x386
[   26.806498]  [<ffffffff818ed2a4>] ? x86_64_start_reservations+0xb4/0xb8
[   26.806502]  [<ffffffff818ed39a>] ? x86_64_start_kernel+0xf2/0xf9
[   26.806504] ---[ end trace 69a4de56993e518a ]---

Looks like WARN_ON was after this change
commit 466bd3030973910118ca601da8072be97a1e2209
Author: Yong Zhang <yong.zhang@windriver.com>
Date:   Wed Oct 20 15:57:33 2010 -0700

    timer: Warn when del_timer_sync() is called in hardirq context

But, the actual reason is likely some MCE parameter change at boot causing
mce_restart() which in turn calls on_each_cpu mce_cpu_restart() which calls
del_timer_sync().

Thanks,
Venki

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

end of thread, other threads:[~2011-03-08 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08  1:31 mce.c related WARNING: at kernel/timer.c:983 del_timer_sync Venkatesh Pallipadi
2011-03-08  9:06 ` Yong Zhang
2011-03-08 18:50   ` Andi Kleen
2011-03-08 19:36     ` Thomas Gleixner

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.