All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: paulmck@linux.vnet.ibm.com
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: BUG: scheduling while atomic: swapper/0/0x00000002
Date: Thu, 10 Jun 2010 09:20:08 +1000	[thread overview]
Message-ID: <1276125608.1962.0.camel@pasglop> (raw)
In-Reply-To: <20100609215229.GA12774@linux.vnet.ibm.com>

On Wed, 2010-06-09 at 14:52 -0700, Paul E. McKenney wrote:
> Hello!
> 
> I get the following during boot on a 16 CPU Power box.  Thoughts?
> (/proc/config attached)

Wow... looks like the preempt count of the idle task got busted or
something ... how reproduceable ? Something like a record of previous
interrupts might be useful..

Cheers,
Ben.

> 							Thanx, Paul
> 
> UDP hash table entries: 2048 (order: 6, 262144 bytes)
> UDP-Lite hash table entries: 2048 (order: 6, 262144 bytes)
> NET: Registered protocol family 1
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> Trying to unpack rootfs image as initramfs...
> Freeing initrd memory: 2455k freed
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:
> Call Trace:
> [c00000008e1afc20] [c000000000011990] .show_stack+0x70/0x184 (unreliable)
> [c00000008e1afcd0] [c00000000005cb60] .__schedule_bug+0xac/0xd0
> [c00000008e1afd70] [c0000000005f0c34] .schedule+0xc0/0x894
> [c00000008e1afe40] [c0000000000142d0] .cpu_idle+0x1f8/0x20c
> [c00000008e1afed0] [c000000000600b08] .start_secondary+0x3bc/0x3fc
> [c00000008e1aff90] [c000000000008264] .start_secondary_prolog+0x10/0x14
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:
> Call Trace:
> [c00000008e1afc20] [c000000000011990] .show_stack+0x70/0x184 (unreliable)
> [c00000008e1afcd0] [c00000000005cb60] .__schedule_bug+0xac/0xd0
> [c00000008e1afd70] [c0000000005f0c34] .schedule+0xc0/0x894
> [c00000008e1afe40] [c0000000000142d0] .cpu_idle+0x1f8/0x20c
> [c00000008e1afed0] [c000000000600b08] .start_secondary+0x3bc/0x3fc
> [c00000008e1aff90] [c000000000008264] .start_secondary_prolog+0x10/0x14
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:
> Call Trace:
> [c00000008e1afc20] [c000000000011990] .show_stack+0x70/0x184 (unreliable)
> [c00000008e1afcd0] [c00000000005cb60] .__schedule_bug+0xac/0xd0
> [c00000008e1afd70] [c0000000005f0c34] .schedule+0xc0/0x894
> [c00000008e1afe40] [c0000000000142d0] .cpu_idle+0x1f8/0x20c
> [c00000008e1afed0] [c000000000600b08] .start_secondary+0x3bc/0x3fc
> [c00000008e1aff90] [c000000000008264] .start_secondary_prolog+0x10/0x14
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:
> Call Trace:
> [c00000008e1afc20] [c000000000011990] .show_stack+0x70/0x184 (unreliable)
> [c00000008e1afcd0] [c00000000005cb60] .__schedule_bug+0xac/0xd0
> [c00000008e1afd70] [c0000000005f0c34] .schedule+0xc0/0x894
> [c00000008e1afe40] [c0000000000142d0] .cpu_idle+0x1f8/0x20c
> [c00000008e1afed0] [c000000000600b08] .start_secondary+0x3bc/0x3fc
> [c00000008e1aff90] [c000000000008264] .start_secondary_prolog+0x10/0x14
> audit: initializing netlink socket (disabled)
> type=2000 audit(1276043741.388:1): initialized
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:
> Call Trace:
> [c00000008e1afc20] [c000000000011990] .show_stack+0x70/0x184 (unreliable)
> [c00000008e1afcd0] [c00000000005cb60] .__schedule_bug+0xac/0xd0
> [c00000008e1afd70] [c0000000005f0c34] .schedule+0xc0/0x894
> [c00000008e1afe40] [c0000000000142d0] .cpu_idle+0x1f8/0x20c
> [c00000008e1afed0] [c000000000600b08] .start_secondary+0x3bc/0x3fc
> [c00000008e1aff90] [c000000000008264] .start_secondary_prolog+0x10/0x14
> BUG: scheduling while atomic: swapper/0/0x00000002
> no locks held by swapper/0.
> Modules linked in:

  reply	other threads:[~2010-06-09 23:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 21:52 BUG: scheduling while atomic: swapper/0/0x00000002 Paul E. McKenney
2010-06-09 23:20 ` Benjamin Herrenschmidt [this message]
2010-06-10  1:08   ` Paul E. McKenney
2010-06-28 16:49     ` Paul E. McKenney
2010-06-28 21:29       ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1276125608.1962.0.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.