mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: akpm@osdl.org
Cc: jhf@rivenstone.net, linux-kernel@vger.kernel.org,
	trini@kernel.crashing.org
Subject: Re: 2.6.8-rc1-mm1 "Badness in schedule" on ppc32
Date: Thu, 15 Jul 2004 21:08:27 +0200 (MEST)	[thread overview]
Message-ID: <200407151908.i6FJ8R4w011726@harpo.it.uu.se> (raw)

On Thu, 15 Jul 2004 02:00:01 +0200 (MEST), Mikael Pettersson wrote:
>On 2004-07-14 22:01:50, Tom Rini wrote:
>>On Fri, Jul 09, 2004 at 02:11:03PM -0700, Andrew Morton wrote:
>>
>>> 
>>> jhf@rivenstone.net (Joseph Fannin) wrote:
>>> > 
>>> > On Thu, Jul 08, 2004 at 11:50:25PM -0700, Andrew Morton wrote:
>>> > > 
>>> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm7/
>>> > 
>>> > > +detect-too-early-schedule-attempts.patch
>>> > > 
>>> > > Catch attempts to call the scheduler before it is ready to go.
>>> > 
>>> > With this patch, my Powermac (ppc32) spews 711 (I think)
>>> > warning messages during bootup.
>>> 
>>> hm, OK.  It could be that the debug patch is a bit too aggressive, or that
>>> ppc got lucky and happens to always be in state TASK_RUNNING when these
>>> calls to schedule() occur.
>>> 
>>> Maybe this task incorrectly has _TIF_NEED_RESCHED set?
>>> 
>>> Anyway, ppc guys: please take a look at the results from
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm7/broken \
>>> -out/detect-too-early-schedule-attempts.patch and check that the kernel really \
>>> should be calling schedule() at this time and place, let us know?
>>
>>Now that kallsyms data is OK, I took a quick look.. and all of this
>>comes from generic code, at least on the machine I tried.  So if the
>>code shouldn't be calling schedule() then, it's a more generic problem..
>>
>>... or I'm not following.
>
>On my ppc32 (G3 PowerMac) 2.6.8-rc1-mm1 throws a large number of
>"Badness in schedule" during boot. Below are the ones I managed
>to capture: they contain both generic traces, and traces involving
>Mac-only drivers.
>
>Some of the traces involve the PDC202XX_NEW driver; I'll move that
>card into an x86 PC tomorrow to see if the traces reappear or not;
>if they don't then it does look like a PPC32-specific problem.

Tried that now but I've been unable to trigger any
"Badness in schedule" messages on the x86 box.
Looks like PPC32 has a problem in -mm.

/Mikael

             reply	other threads:[~2004-07-15 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 19:08 Mikael Pettersson [this message]
2004-07-15 20:27 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2004-07-16 13:38 Mikael Pettersson
2004-07-16 13:48 ` Nick Piggin
2004-07-15  0:00 Mikael Pettersson

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=200407151908.i6FJ8R4w011726@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=akpm@osdl.org \
    --cc=jhf@rivenstone.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trini@kernel.crashing.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®