All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	David Chinner <dgc@sgi.com>, lkml <linux-kernel@vger.kernel.org>,
	linux-ia64@vger.kernel.org
Subject: Re: BUG: sleeping function called from invalid context at kernel/fork.c:385
Date: Wed, 30 May 2007 03:30:41 +0000	[thread overview]
Message-ID: <20070530033041.GH86004887@sgi.com> (raw)
In-Reply-To: <617E1C2C70743745A92448908E030B2A01882BFD@scsmsx411.amr.corp.intel.com>

On Wed, May 23, 2007 at 10:44:16AM -0700, Luck, Tony wrote:
> > > Saw this when running strace -f on a script on 2.6.21 on ia64:
> > > 
> > > BUG: sleeping function called from invalid context at kernel/fork.c:385
> > > in_atomic():1, irqs_disabled():0
>     ... snip ...
> > > I could reproduce it via 'strace -f sleep 1'
> > > 
> >
> > I'd say this is specific to ia64.   Someone would have spotted it on
> > x86 by now.
> 
> I tried the "strace -f sleep 1" on 2.6.22-rc2, and I didn't see this "BUG"
> there.  Can you try your other test cases on the latest kernel.  If it has
> already been fixed we can see about identifying the patch for possible backport
> to 2.6.21.stable

Sorry for taking so long to get back to this - I still see this in
2.6.22-rc2.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

WARNING: multiple messages have this Message-ID (diff)
From: David Chinner <dgc@sgi.com>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	David Chinner <dgc@sgi.com>, lkml <linux-kernel@vger.kernel.org>,
	linux-ia64@vger.kernel.org
Subject: Re: BUG: sleeping function called from invalid context at kernel/fork.c:385
Date: Wed, 30 May 2007 13:30:41 +1000	[thread overview]
Message-ID: <20070530033041.GH86004887@sgi.com> (raw)
In-Reply-To: <617E1C2C70743745A92448908E030B2A01882BFD@scsmsx411.amr.corp.intel.com>

On Wed, May 23, 2007 at 10:44:16AM -0700, Luck, Tony wrote:
> > > Saw this when running strace -f on a script on 2.6.21 on ia64:
> > > 
> > > BUG: sleeping function called from invalid context at kernel/fork.c:385
> > > in_atomic():1, irqs_disabled():0
>     ... snip ...
> > > I could reproduce it via 'strace -f sleep 1'
> > > 
> >
> > I'd say this is specific to ia64.   Someone would have spotted it on
> > x86 by now.
> 
> I tried the "strace -f sleep 1" on 2.6.22-rc2, and I didn't see this "BUG"
> there.  Can you try your other test cases on the latest kernel.  If it has
> already been fixed we can see about identifying the patch for possible backport
> to 2.6.21.stable

Sorry for taking so long to get back to this - I still see this in
2.6.22-rc2.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2007-05-30  3:30 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23  6:31 BUG: sleeping function called from invalid context at kernel/fork.c:385 David Chinner
2007-05-23  6:43 ` BUG: sleeping function called from invalid context at Andrew Morton
2007-05-23  6:43   ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Andrew Morton
2007-05-23 17:44   ` Luck, Tony
2007-05-23 17:44     ` Luck, Tony
2007-05-30  3:30     ` David Chinner [this message]
2007-05-30  3:30       ` David Chinner
2007-05-30  4:44       ` David Chinner
2007-05-30  4:44         ` David Chinner
2007-05-30 20:11   ` Luck, Tony
2007-05-30 20:11     ` Luck, Tony
2007-05-30 22:39     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 22:39       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31  0:53     ` David Chinner
2007-05-31  0:53       ` David Chinner
2007-06-04  5:14       ` Peter Chubb
2007-06-04  5:14         ` Peter Chubb
2007-05-30 23:19   ` Luck, Tony
2007-05-30 23:19     ` Luck, Tony
2007-05-30 23:31     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 23:31       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-30 23:34       ` BUG: sleeping function called from invalid context at Randy Dunlap
2007-05-30 23:34         ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Randy Dunlap
2007-05-30 23:53         ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-30 23:53           ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-30 23:55           ` Randy Dunlap
2007-05-30 23:55             ` Randy Dunlap
2007-05-31  0:09             ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31  0:09               ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31  6:12               ` BUG: sleeping function called from invalid context at Randy Dunlap
2007-05-31  6:12                 ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Randy Dunlap
2007-05-31  4:43       ` Sam Ravnborg
2007-05-31  4:43         ` Sam Ravnborg
2007-05-30 23:56   ` Yu, Fenghua
2007-05-30 23:56     ` Yu, Fenghua
2007-05-31  2:37   ` Luck, Tony
2007-05-31  2:37     ` Luck, Tony
2007-05-31  3:19     ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31  3:19       ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-05-31 15:20       ` Prarit Bhargava
2007-05-31 15:20         ` Prarit Bhargava
2007-05-31 19:54         ` Sam Ravnborg
2007-05-31 19:54           ` Sam Ravnborg
2007-05-31 20:04         ` Sam Ravnborg
2007-05-31 20:04           ` Sam Ravnborg
2007-05-31 20:08           ` [PATCH] net/hp100: fix section mismatch warning Sam Ravnborg
2007-05-31 20:08             ` Sam Ravnborg
2007-05-31 20:17           ` [PATCH] kvm: fix section mismatch warning in kvm-intel.o Sam Ravnborg
2007-05-31 20:17             ` Sam Ravnborg
2007-05-31 20:24           ` [PATCH] acpi: fix section mismatch warning in asus_acpi.o Sam Ravnborg
2007-05-31 20:24             ` Sam Ravnborg
2007-05-31 20:29             ` [PATCH] acpi: fix section mismatch warning in asus + toshiba Sam Ravnborg
2007-05-31 20:29               ` Sam Ravnborg
2007-05-31 20:46           ` [PATCH] isdn: fix section mismatch warnings Sam Ravnborg
2007-05-31 20:46             ` Sam Ravnborg
2007-05-31 20:51           ` [PATCH] microcode: fix section mismatch warning Sam Ravnborg
2007-05-31 20:51             ` Sam Ravnborg
2007-05-31 20:42         ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-05-31 20:42           ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  3:18   ` Luck, Tony
2007-06-01  3:18     ` Luck, Tony
2007-06-01  3:31     ` Prarit Bhargava
2007-06-01  3:31       ` Prarit Bhargava
2007-06-01  4:05       ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-06-01  4:05         ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  4:17         ` Sam Ravnborg
2007-06-01  4:17           ` Sam Ravnborg
2007-06-01  4:45           ` BUG: sleeping function called from invalid context at Christoph Lameter
2007-06-01  4:45             ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Christoph Lameter
2007-06-01  6:42             ` Sam Ravnborg
2007-06-01  6:42               ` Sam Ravnborg
2007-06-01  8:00   ` Luck, Tony
2007-06-01  8:00     ` Luck, Tony
2007-06-01 10:30     ` Prarit Bhargava
2007-06-01 10:30       ` Prarit Bhargava
2007-06-05 14:55     ` linux-ia64 build warning messages Russ Anderson
2007-06-05 14:55       ` Russ Anderson
2007-06-07  5:00       ` Peter Chubb
2007-06-07  5:00         ` Peter Chubb
2007-06-01 10:37   ` BUG: sleeping function called from invalid context at kernel/fork.c:385 Luck, Tony
2007-06-01 10:37     ` Luck, Tony

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=20070530033041.GH86004887@sgi.com \
    --to=dgc@sgi.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.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 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.