public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
@ 2009-08-31 20:43 Jens Axboe
  2009-09-01  0:44 ` Kelly Bowa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jens Axboe @ 2009-08-31 20:43 UTC (permalink / raw)
  To: Linux Kernel

Hi,

I get this on every reboot/kexec/halt:

WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
Modules linked in: raid0 md_mod loop hid_apple usbhid mptsas mptscsih
mptbase scsi_transport_sas ehci_hcd uhci_hcd usbcore nls_base igb sg
sr_mod cdrom
Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105
Call Trace:
 <IRQ>  [<ffffffff81023d38>] ? lapic_next_event+0x18/0x20
 [<ffffffff810233e1>] ? native_smp_send_reschedule+0x51/0x60
 [<ffffffff8104e7e8>] warn_slowpath_common+0x78/0xd0
 [<ffffffff8104e84f>] warn_slowpath_null+0xf/0x20
 [<ffffffff810233e1>] native_smp_send_reschedule+0x51/0x60
 [<ffffffff81037ae8>] resched_task+0x68/0x80
 [<ffffffff81041165>] resched_cpu+0x75/0x90
 [<ffffffff8104a1db>] scheduler_tick+0x25b/0x290
 [<ffffffff8105b8b6>] update_process_times+0x56/0x70
 [<ffffffff81076cb6>] tick_sched_timer+0x66/0xc0
 [<ffffffff81076c50>] ? tick_sched_timer+0x0/0xc0
 [<ffffffff8106c351>] __run_hrtimer+0x51/0xc0
 [<ffffffff8106d0a5>] hrtimer_interrupt+0xd5/0x1c0
 [<ffffffff81024938>] smp_apic_timer_interrupt+0x68/0xa0
 [<ffffffff8100ca23>] apic_timer_interrupt+0x13/0x20
 <EOI>  [<ffffffff81028ffb>] ? x2apic_send_IPI_allbutself+0x9b/0xb0
 [<ffffffff810234ac>] ? native_smp_send_stop+0x4c/0x90
 [<ffffffff81022dfe>] ? native_machine_shutdown+0x5e/0x90
 [<ffffffff81022a66>] ? native_machine_power_off+0x26/0x30
 [<ffffffff81022a7a>] ? machine_power_off+0xa/0x10
 [<ffffffff810619d4>] ? kernel_power_off+0x34/0x40
 [<ffffffff81061cba>] ? sys_reboot+0x13a/0x210
 [<ffffffff8105e83e>] ? group_send_sig_info+0x6e/0x90
 [<ffffffff8105e8b0>] ? kill_pid_info+0x50/0xa0
 [<ffffffff8105eb95>] ? sys_kill+0xa5/0x200
 [<ffffffff8106d289>] ? up_read+0x9/0x10
 [<ffffffff8102ede9>] ? do_page_fault+0x1a9/0x310
 [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b


-- 
Jens Axboe


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

* Re: WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
  2009-08-31 20:43 WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60() Jens Axboe
@ 2009-09-01  0:44 ` Kelly Bowa
  2009-09-01  6:30   ` Jens Axboe
  2009-09-01 14:39 ` Américo Wang
  2009-09-11 22:07 ` WARNING: at arch/x86/kernel/smp.c:117 Chris Webb
  2 siblings, 1 reply; 6+ messages in thread
From: Kelly Bowa @ 2009-09-01  0:44 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

On Mon, 31 Aug 2009 22:43:49 +0200
Jens Axboe <jens.axboe@oracle.com> wrote:

> Hi,
> 
> I get this on every reboot/kexec/halt:
> 
> WARNING: at arch/x86/kernel/smp.c:117
> native_smp_send_reschedule+0x51/0x60() Modules linked in: raid0
> md_mod loop hid_apple usbhid mptsas mptscsih mptbase
> scsi_transport_sas ehci_hcd uhci_hcd usbcore nls_base igb sg sr_mod
> cdrom Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105
> Call Trace:
>  <IRQ>  [<ffffffff81023d38>] ? lapic_next_event+0x18/0x20
>  [<ffffffff810233e1>] ? native_smp_send_reschedule+0x51/0x60
>  [<ffffffff8104e7e8>] warn_slowpath_common+0x78/0xd0
>  [<ffffffff8104e84f>] warn_slowpath_null+0xf/0x20
>  [<ffffffff810233e1>] native_smp_send_reschedule+0x51/0x60
>  [<ffffffff81037ae8>] resched_task+0x68/0x80
>  [<ffffffff81041165>] resched_cpu+0x75/0x90
>  [<ffffffff8104a1db>] scheduler_tick+0x25b/0x290
>  [<ffffffff8105b8b6>] update_process_times+0x56/0x70
>  [<ffffffff81076cb6>] tick_sched_timer+0x66/0xc0
>  [<ffffffff81076c50>] ? tick_sched_timer+0x0/0xc0
>  [<ffffffff8106c351>] __run_hrtimer+0x51/0xc0
>  [<ffffffff8106d0a5>] hrtimer_interrupt+0xd5/0x1c0
>  [<ffffffff81024938>] smp_apic_timer_interrupt+0x68/0xa0
>  [<ffffffff8100ca23>] apic_timer_interrupt+0x13/0x20
>  <EOI>  [<ffffffff81028ffb>] ? x2apic_send_IPI_allbutself+0x9b/0xb0
>  [<ffffffff810234ac>] ? native_smp_send_stop+0x4c/0x90
>  [<ffffffff81022dfe>] ? native_machine_shutdown+0x5e/0x90
>  [<ffffffff81022a66>] ? native_machine_power_off+0x26/0x30
>  [<ffffffff81022a7a>] ? machine_power_off+0xa/0x10
>  [<ffffffff810619d4>] ? kernel_power_off+0x34/0x40
>  [<ffffffff81061cba>] ? sys_reboot+0x13a/0x210
>  [<ffffffff8105e83e>] ? group_send_sig_info+0x6e/0x90
>  [<ffffffff8105e8b0>] ? kill_pid_info+0x50/0xa0
>  [<ffffffff8105eb95>] ? sys_kill+0xa5/0x200
>  [<ffffffff8106d289>] ? up_read+0x9/0x10
>  [<ffffffff8102ede9>] ? do_page_fault+0x1a9/0x310
>  [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b
> 
> 

Hi Jens,

Are you running rc-8. This seems to be a rescheduling issue.

-- 
Thanks,
kb

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

* Re: WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
  2009-09-01  0:44 ` Kelly Bowa
@ 2009-09-01  6:30   ` Jens Axboe
  0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2009-09-01  6:30 UTC (permalink / raw)
  To: Kelly Bowa; +Cc: linux-kernel

On Tue, Sep 01 2009, Kelly Bowa wrote:
> On Mon, 31 Aug 2009 22:43:49 +0200
> Jens Axboe <jens.axboe@oracle.com> wrote:
> 
> > Hi,
> > 
> > I get this on every reboot/kexec/halt:
> > 
> > WARNING: at arch/x86/kernel/smp.c:117
> > native_smp_send_reschedule+0x51/0x60() Modules linked in: raid0
> > md_mod loop hid_apple usbhid mptsas mptscsih mptbase
> > scsi_transport_sas ehci_hcd uhci_hcd usbcore nls_base igb sg sr_mod
> > cdrom Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105
> > Call Trace:
> >  <IRQ>  [<ffffffff81023d38>] ? lapic_next_event+0x18/0x20
> >  [<ffffffff810233e1>] ? native_smp_send_reschedule+0x51/0x60
> >  [<ffffffff8104e7e8>] warn_slowpath_common+0x78/0xd0
> >  [<ffffffff8104e84f>] warn_slowpath_null+0xf/0x20
> >  [<ffffffff810233e1>] native_smp_send_reschedule+0x51/0x60
> >  [<ffffffff81037ae8>] resched_task+0x68/0x80
> >  [<ffffffff81041165>] resched_cpu+0x75/0x90
> >  [<ffffffff8104a1db>] scheduler_tick+0x25b/0x290
> >  [<ffffffff8105b8b6>] update_process_times+0x56/0x70
> >  [<ffffffff81076cb6>] tick_sched_timer+0x66/0xc0
> >  [<ffffffff81076c50>] ? tick_sched_timer+0x0/0xc0
> >  [<ffffffff8106c351>] __run_hrtimer+0x51/0xc0
> >  [<ffffffff8106d0a5>] hrtimer_interrupt+0xd5/0x1c0
> >  [<ffffffff81024938>] smp_apic_timer_interrupt+0x68/0xa0
> >  [<ffffffff8100ca23>] apic_timer_interrupt+0x13/0x20
> >  <EOI>  [<ffffffff81028ffb>] ? x2apic_send_IPI_allbutself+0x9b/0xb0
> >  [<ffffffff810234ac>] ? native_smp_send_stop+0x4c/0x90
> >  [<ffffffff81022dfe>] ? native_machine_shutdown+0x5e/0x90
> >  [<ffffffff81022a66>] ? native_machine_power_off+0x26/0x30
> >  [<ffffffff81022a7a>] ? machine_power_off+0xa/0x10
> >  [<ffffffff810619d4>] ? kernel_power_off+0x34/0x40
> >  [<ffffffff81061cba>] ? sys_reboot+0x13a/0x210
> >  [<ffffffff8105e83e>] ? group_send_sig_info+0x6e/0x90
> >  [<ffffffff8105e8b0>] ? kill_pid_info+0x50/0xa0
> >  [<ffffffff8105eb95>] ? sys_kill+0xa5/0x200
> >  [<ffffffff8106d289>] ? up_read+0x9/0x10
> >  [<ffffffff8102ede9>] ? do_page_fault+0x1a9/0x310
> >  [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b
> > 
> > 
> 
> Hi Jens,
> 
> Are you running rc-8. This seems to be a rescheduling issue.

Quoting the warning above:

cdrom Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105

yes :-)

-- 
Jens Axboe


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

* Re: WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
  2009-08-31 20:43 WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60() Jens Axboe
  2009-09-01  0:44 ` Kelly Bowa
@ 2009-09-01 14:39 ` Américo Wang
  2009-09-01 20:31   ` Jens Axboe
  2009-09-11 22:07 ` WARNING: at arch/x86/kernel/smp.c:117 Chris Webb
  2 siblings, 1 reply; 6+ messages in thread
From: Américo Wang @ 2009-09-01 14:39 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel, Ingo Molnar

On Mon, Aug 31, 2009 at 10:43:49PM +0200, Jens Axboe wrote:
>Hi,
>
>I get this on every reboot/kexec/halt:
>
>WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
>Modules linked in: raid0 md_mod loop hid_apple usbhid mptsas mptscsih
>mptbase scsi_transport_sas ehci_hcd uhci_hcd usbcore nls_base igb sg
>sr_mod cdrom
>Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105
>Call Trace:
> <IRQ>  [<ffffffff81023d38>] ? lapic_next_event+0x18/0x20
> [<ffffffff810233e1>] ? native_smp_send_reschedule+0x51/0x60
> [<ffffffff8104e7e8>] warn_slowpath_common+0x78/0xd0
> [<ffffffff8104e84f>] warn_slowpath_null+0xf/0x20
> [<ffffffff810233e1>] native_smp_send_reschedule+0x51/0x60
> [<ffffffff81037ae8>] resched_task+0x68/0x80
> [<ffffffff81041165>] resched_cpu+0x75/0x90
> [<ffffffff8104a1db>] scheduler_tick+0x25b/0x290
> [<ffffffff8105b8b6>] update_process_times+0x56/0x70
> [<ffffffff81076cb6>] tick_sched_timer+0x66/0xc0
> [<ffffffff81076c50>] ? tick_sched_timer+0x0/0xc0
> [<ffffffff8106c351>] __run_hrtimer+0x51/0xc0
> [<ffffffff8106d0a5>] hrtimer_interrupt+0xd5/0x1c0
> [<ffffffff81024938>] smp_apic_timer_interrupt+0x68/0xa0
> [<ffffffff8100ca23>] apic_timer_interrupt+0x13/0x20
> <EOI>  [<ffffffff81028ffb>] ? x2apic_send_IPI_allbutself+0x9b/0xb0
> [<ffffffff810234ac>] ? native_smp_send_stop+0x4c/0x90
> [<ffffffff81022dfe>] ? native_machine_shutdown+0x5e/0x90
> [<ffffffff81022a66>] ? native_machine_power_off+0x26/0x30
> [<ffffffff81022a7a>] ? machine_power_off+0xa/0x10
> [<ffffffff810619d4>] ? kernel_power_off+0x34/0x40
> [<ffffffff81061cba>] ? sys_reboot+0x13a/0x210
> [<ffffffff8105e83e>] ? group_send_sig_info+0x6e/0x90
> [<ffffffff8105e8b0>] ? kill_pid_info+0x50/0xa0
> [<ffffffff8105eb95>] ? sys_kill+0xa5/0x200
> [<ffffffff8106d289>] ? up_read+0x9/0x10
> [<ffffffff8102ede9>] ? do_page_fault+0x1a9/0x310
> [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b
>

Hmm, maybe some race condition happens...

Add Ingo into Cc:.

Your .config and dmesg are appreciated.

Thanks.


-- 
Live like a child, think like the god.
 

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

* Re: WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
  2009-09-01 14:39 ` Américo Wang
@ 2009-09-01 20:31   ` Jens Axboe
  0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2009-09-01 20:31 UTC (permalink / raw)
  To: Américo Wang; +Cc: Linux Kernel, Ingo Molnar

On Tue, Sep 01 2009, Américo Wang wrote:
> On Mon, Aug 31, 2009 at 10:43:49PM +0200, Jens Axboe wrote:
> >Hi,
> >
> >I get this on every reboot/kexec/halt:
> >
> >WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()
> >Modules linked in: raid0 md_mod loop hid_apple usbhid mptsas mptscsih
> >mptbase scsi_transport_sas ehci_hcd uhci_hcd usbcore nls_base igb sg
> >sr_mod cdrom
> >Pid: 6998, comm: halt Not tainted 2.6.31-rc8 #105
> >Call Trace:
> > <IRQ>  [<ffffffff81023d38>] ? lapic_next_event+0x18/0x20
> > [<ffffffff810233e1>] ? native_smp_send_reschedule+0x51/0x60
> > [<ffffffff8104e7e8>] warn_slowpath_common+0x78/0xd0
> > [<ffffffff8104e84f>] warn_slowpath_null+0xf/0x20
> > [<ffffffff810233e1>] native_smp_send_reschedule+0x51/0x60
> > [<ffffffff81037ae8>] resched_task+0x68/0x80
> > [<ffffffff81041165>] resched_cpu+0x75/0x90
> > [<ffffffff8104a1db>] scheduler_tick+0x25b/0x290
> > [<ffffffff8105b8b6>] update_process_times+0x56/0x70
> > [<ffffffff81076cb6>] tick_sched_timer+0x66/0xc0
> > [<ffffffff81076c50>] ? tick_sched_timer+0x0/0xc0
> > [<ffffffff8106c351>] __run_hrtimer+0x51/0xc0
> > [<ffffffff8106d0a5>] hrtimer_interrupt+0xd5/0x1c0
> > [<ffffffff81024938>] smp_apic_timer_interrupt+0x68/0xa0
> > [<ffffffff8100ca23>] apic_timer_interrupt+0x13/0x20
> > <EOI>  [<ffffffff81028ffb>] ? x2apic_send_IPI_allbutself+0x9b/0xb0
> > [<ffffffff810234ac>] ? native_smp_send_stop+0x4c/0x90
> > [<ffffffff81022dfe>] ? native_machine_shutdown+0x5e/0x90
> > [<ffffffff81022a66>] ? native_machine_power_off+0x26/0x30
> > [<ffffffff81022a7a>] ? machine_power_off+0xa/0x10
> > [<ffffffff810619d4>] ? kernel_power_off+0x34/0x40
> > [<ffffffff81061cba>] ? sys_reboot+0x13a/0x210
> > [<ffffffff8105e83e>] ? group_send_sig_info+0x6e/0x90
> > [<ffffffff8105e8b0>] ? kill_pid_info+0x50/0xa0
> > [<ffffffff8105eb95>] ? sys_kill+0xa5/0x200
> > [<ffffffff8106d289>] ? up_read+0x9/0x10
> > [<ffffffff8102ede9>] ? do_page_fault+0x1a9/0x310
> > [<ffffffff8100bf6b>] ? system_call_fastpath+0x16/0x1b
> >
> 
> Hmm, maybe some race condition happens...
> 
> Add Ingo into Cc:.
> 
> Your .config and dmesg are appreciated.

I'll send in the .config tomorrow when the box is up again, but
unfortunately I cannot post a full dmesg from this box. If there's
anything specific you want to look, I can post that. Otherwise I'll
probably try poking at this a bit, when some idle time appears.

-- 
Jens Axboe


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

* Re:  WARNING: at arch/x86/kernel/smp.c:117
  2009-08-31 20:43 WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60() Jens Axboe
  2009-09-01  0:44 ` Kelly Bowa
  2009-09-01 14:39 ` Américo Wang
@ 2009-09-11 22:07 ` Chris Webb
  2 siblings, 0 replies; 6+ messages in thread
From: Chris Webb @ 2009-09-11 22:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jens Axboe

Jens Axboe <jens.axboe@oracle.com> writes:

> I get this on every reboot/kexec/halt:
>
> WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60()

I'm also seeing this following a system halt on the released 2.6.31 kernel
running in a qemu-kvm virtual machine, although there's no warning during
reboot there: 

  WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x25/0x51()
  Hardware name:
  Modules linked in:
  Pid: 5256, comm: init Not tainted 2.6.31-elastic-lon-p #1
  Call Trace:
   <IRQ>  [<ffffffff812509b4>] ? vgacon_set_cursor_size+0xfd/0x109
   [<ffffffff8106220e>] warn_slowpath_common+0x77/0x8f
   [<ffffffff81062235>] warn_slowpath_null+0xf/0x11
   [<ffffffff8103ecb6>] native_smp_send_reschedule+0x25/0x51
   [<ffffffff810540bd>] resched_task+0x63/0x65
   [<ffffffff81058275>] resched_cpu+0x4a/0x5e
   [<ffffffff810820c0>] ? tick_sched_timer+0x0/0x94
   [<ffffffff8105e2ac>] scheduler_tick+0x182/0x232
   [<ffffffff810820c0>] ? tick_sched_timer+0x0/0x94
   [<ffffffff8106c3ba>] update_process_times+0x52/0x62
   [<ffffffff8108212a>] tick_sched_timer+0x6a/0x94
   [<ffffffff81079db1>] __run_hrtimer+0x52/0x86
   [<ffffffff8107a8e7>] hrtimer_interrupt+0xf1/0x15b
   [<ffffffff8103fb3b>] smp_apic_timer_interrupt+0x13/0x20
   [<ffffffff8102ca23>] apic_timer_interrupt+0x13/0x20
   <EOI>  [<ffffffff81237517>] ? delay_tsc+0x38/0xd1
   [<ffffffff81237425>] ? __delay+0xa/0xc
   [<ffffffff81237464>] ? __const_udelay+0x3d/0x3f
   [<ffffffff8103ed97>] ? native_smp_send_stop+0x51/0x79
   [<ffffffff8103e811>] ? native_machine_shutdown+0x49/0x60
   [<ffffffff8103e53e>] ? native_shutdown+0xa/0xc
   [<ffffffff8103e608>] ? native_machine_halt+0x9/0x12
   [<ffffffff8103e590>] ? machine_halt+0xa/0xc
   [<ffffffff81071612>] ? kernel_halt+0x26/0x28
   [<ffffffff8107174a>] ? sys_reboot+0xe6/0x152
   [<ffffffff810bfce1>] ? handle_mm_fault+0x34e/0x6e1
   [<ffffffff814b816f>] ? page_fault+0x1f/0x30
   [<ffffffff81234623>] ? __up_read+0x9c/0xa5
   [<ffffffff8107a9ff>] ? up_read+0x9/0xb
   [<ffffffff81046483>] ? do_page_fault+0x230/0x260
   [<ffffffff814b816f>] ? page_fault+0x1f/0x30
   [<ffffffff8102bf6b>] ? system_call_fastpath+0x16/0x1b

Is this likely to be a harmless warning or indicative of a more serious
problem with this kernel version (or config)?

Cheers,

Chris.

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

end of thread, other threads:[~2009-09-11 22:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-31 20:43 WARNING: at arch/x86/kernel/smp.c:117 native_smp_send_reschedule+0x51/0x60() Jens Axboe
2009-09-01  0:44 ` Kelly Bowa
2009-09-01  6:30   ` Jens Axboe
2009-09-01 14:39 ` Américo Wang
2009-09-01 20:31   ` Jens Axboe
2009-09-11 22:07 ` WARNING: at arch/x86/kernel/smp.c:117 Chris Webb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox