public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Huey (hui) <billh@gnuppy.monkey.org>
To: Daniel Walker <dwalker@mvista.com>
Cc: Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org,
	"Bill Huey (hui)" <billh@gnuppy.monkey.org>
Subject: Re: 2.6.17-rt8 crash amd64
Date: Wed, 2 Aug 2006 10:35:53 -0700	[thread overview]
Message-ID: <20060802173553.GA29327@gnuppy.monkey.org> (raw)
In-Reply-To: <1154539004.8620.16.camel@c-67-188-28-158.hsd1.ca.comcast.net>

On Wed, Aug 02, 2006 at 10:16:44AM -0700, Daniel Walker wrote:
> On Wed, 2006-08-02 at 00:13 -0700, Bill Huey wrote:
> 
> >   [ 3254.657547] BUG: scheduling while atomic: mv/0x00000001/5222
> >   [ 3254.663380]
> >   [ 3254.663381] Call Trace:
> >   [ 3254.667255]        <ffffffff8025ef25>{__schedule+155}
> >   [ 3254.672491]
> >   <ffffffff802616cb>{_raw_spin_unlock_irqrestore+81}
> 
> >   [ 3254.836278]        <ffffffff8025df02>{ia32_sysret+0}
> >   [ 3254.841606] ---------------------------
> >   [ 3254.845554] | preempt count: 00000001 ]
> >   [ 3254.849503] | 1-level deep critical section nesting:
> >   [ 3254.854614] ----------------------------------------
> >   [ 3254.859725] .. [<ffffffff8025ef3d>] .... __schedule+0xb3/0xb2a
> >   [ 3254.865743] .....[<ffffffff8025fbab>] ..   ( <=
> >   preempt_schedule+0x55/0x8f)
> 
> 
> _raw_spin_unlock_irqrestore() calls preempt_schedule() which calls
> __schedule() , maybe (should be impossible though)? 
> 
> Are you using a 32-bit userspace and a 64-bit kernel ?

Yes, but this happens with 64 bit apps as well. I'm going to take a
deeper look at it today. My current track is to look at processes
reaping. That seems to be a common attribute in all of those stack
traces. I thought there was more debug instrumentation that dealt
with preempt_count tracking before ?

bill


  reply	other threads:[~2006-08-02 17:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-02  1:18 2.6.17-rt8 crash amd64 Bill Huey
2006-08-02  1:31 ` Steven Rostedt
2006-08-02  2:19   ` Bill Huey
2006-08-02  2:25     ` Bill Huey
2006-08-02  7:13       ` Bill Huey
2006-08-02 17:16         ` Daniel Walker
2006-08-02 17:35           ` Bill Huey [this message]
2006-08-02 19:58             ` Bill Huey
2006-08-03  1:20 ` Mark Knecht
2006-08-03  1:41   ` Bill Huey
2006-08-03  1:56     ` Mark Knecht
2006-08-03  2:07       ` Mark Knecht
2006-08-03  2:34     ` Bill Huey

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=20060802173553.GA29327@gnuppy.monkey.org \
    --to=billh@gnuppy.monkey.org \
    --cc=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.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