linux-mips
[Top] [All Lists]

Re: hints on wait queue bug?

To: Rob Lembree <lembree@metrolink.com>
Subject: Re: hints on wait queue bug?
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Wed, 9 Oct 2002 14:19:53 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <1030652956.1536.21.camel@ripple.nh.metrolink.com>; from lembree@metrolink.com on Thu, Aug 29, 2002 at 04:29:16PM -0400
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1030652956.1536.21.camel@ripple.nh.metrolink.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Thu, Aug 29, 2002 at 04:29:16PM -0400, Rob Lembree wrote:

> I've got a problem where lots of io to the console seems
> to break something in the kernel, resulting in a segfault,
> along with a kernel error.
> 
> I dove into it, and found that it's related to wait queue
> stuff.  I turned on the wait queue debugging, and got the
> following, just prior to things going off the deep end.
> 
> bad magic 802ccb24 (should be 802ccb2c), kernel BUG at sched.c:729!
> 
> Is there some tutorial on this stuff somewhere (besides
> reading the code -- I'm doing that now!)  
> 
> Has this stuff changed a great deal since 2.4.5 (when this
> code last worked correctly)?

No.  Typicall such bugs are caused by memory corruption but as in your
case the magic number which is an address is only off by eight bytes
you might also consider a tool bug, so I suggest disassembling the
kernel binary and checking if it's getting initialized correctly.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>