Re: WARNING: at arch/x86/kernel/smp.c:119 native_smp_send_reschedule+0x25/0x43()

Borislav Petkov
2012-06-01T13:36:13Z

On Thu, Apr 05, 2012 at 01:38:41PM -0700, Tony Luck wrote:
> A plain v3.3 kernel hits this when I just type "reboot" on a 32 cpu (2
> socket * 8 core * 2 HT) system:

Same here on latest linus on a 24 CPU box right before the box reboots:

[ 6851.207504] ------------[ cut here ]------------
[ 6851.212340] WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule+0x2a/0x56()
[ 6851.220727] Hardware name: Dinar
[ 6851.224096] Modules linked in: kvm_amd kvm radeon microcode ttm drm_kms_helper hwmon amd64_edac_mod e1000e ohci_hcd backlight cfbcopyarea cfbimgblt cfbfillrect ehci_hcd edac_core
[ 6851.240585] Pid: 23976, comm: reboot Tainted: G W 3.4.0+ #15
[ 6851.247351] Call Trace:
[ 6851.249895] <IRQ> [<ffffffff8102f114>] warn_slowpath_common+0x85/0x9d
[ 6851.256753] [<ffffffff8102f146>] warn_slowpath_null+0x1a/0x1c
[ 6851.262801] [<ffffffff81019bbd>] native_smp_send_reschedule+0x2a/0x56
[ 6851.269573] [<ffffffff8105e625>] trigger_load_balance+0x1ed/0x21a
[ 6851.275983] [<ffffffff810582ac>] scheduler_tick+0xe9/0xf2
[ 6851.281671] [<ffffffff8103cb91>] update_process_times+0x67/0x77
[ 6851.287900] [<ffffffff81071323>] tick_sched_timer+0x72/0x91
[ 6851.293769] [<ffffffff8104e5e5>] __run_hrtimer+0xc3/0x17f
[ 6851.299456] [<ffffffff810712b1>] ? tick_nohz_handler+0xd1/0xd1
[ 6851.305593] [<ffffffff8104eee1>] hrtimer_interrupt+0xd4/0x197
[ 6851.311642] [<ffffffff8145e36a>] smp_apic_timer_interrupt+0x86/0x99
[ 6851.325636] [<ffffffff8145d35c>] apic_timer_interrupt+0x6c/0x80
[ 6851.339424] <EOI> [<ffffffff811d68ea>] ? delay_tsc+0x23/0x50
[ 6851.353034] [<ffffffff811d6849>] __delay+0xf/0x11
[ 6851.365561] [<ffffffff811d6874>] __const_udelay+0x29/0x2b
[ 6851.378817] [<ffffffff81019c8a>] native_stop_other_cpus+0x78/0x13d
[ 6851.392924] [<ffffffff81019305>] native_machine_shutdown+0x53/0x6a
[ 6851.406992] [<ffffffff81019347>] machine_shutdown+0xf/0x11
[ 6851.420438] [<ffffffff810193ae>] native_machine_restart+0x25/0x37
[ 6851.434580] [<ffffffff810193ea>] machine_restart+0xf/0x11
[ 6851.448039] [<ffffffff81041b62>] kernel_restart+0x4e/0x52
[ 6851.461517] [<ffffffff81041cc9>] sys_reboot+0x151/0x187
[ 6851.474818] [<ffffffff81114ba6>] ? mntput_no_expire+0x31/0x105
[ 6851.488748] [<ffffffff81114ca4>] ? mntput+0x2a/0x2c
[ 6851.501659] [<ffffffff810fe66e>] ? fput+0x1e0/0x1ef
[ 6851.514551] [<ffffffff811d7a0e>] ? trace_hardirqs_on_thunk+0x3a/0x3c
[ 6851.529021] [<ffffffff8145c952>] system_call_fastpath+0x16/0x1b
[ 6851.543148] ---[ end trace 4eaa2a86a8e2da24 ]---

--
Regards/Gruss,
Boris.