linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Romit Dasgupta <romit@myrealbox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43
Date: Sat, 26 Jul 2003 01:08:26 -0700	[thread overview]
Message-ID: <20030726010826.488bd7ea.akpm@osdl.org> (raw)
In-Reply-To: <3F1ECCD6.5060007@myrealbox.com>

Romit Dasgupta <romit@myrealbox.com> wrote:
>
>             Just found some debug messages like the subject above, from 
>  the latest kernel compiled with debug options. Attached are the dmesg 
>  output and the .config file. Not sure if anyone has seen this.

Probably some initcall has more spin_lock()s than spin_unlock()s and the
init process's preempt count ended up permanently out of whack.

Please boot with "initcall_debug=1" on the boot command line and if you see
a line of the form:

error in initcall at 0xXXXXXXXX: returned with preemption imbalance

then please look up 0xXXXXXXXX in System.map and let us know.


      reply	other threads:[~2003-07-26  7:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 17:58 Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 Romit Dasgupta
2003-07-26  8:08 ` Andrew Morton [this message]

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=20030726010826.488bd7ea.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=romit@myrealbox.com \
    /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;
as well as URLs for NNTP newsgroup(s).