mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Meyer <thomas@m3y3r.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	Len Brown <lenb@kernel.org>,
	"Moore, Robert" <robert.moore@intel.com>
Subject: Re: BUG: sleeping function called from invalid context at kernel/sched.c:5558
Date: Tue, 4 Nov 2008 01:53:15 +0100	[thread overview]
Message-ID: <200811040153.16514.rjw@sisk.pl> (raw)
In-Reply-To: <20081103194721.GA16897@elte.hu>

On Monday, 3 of November 2008, Ingo Molnar wrote:
> 
> * Thomas Meyer <thomas@m3y3r.de> wrote:
> 
> > False positive, while suspend/resume-to/from-disk?
> > 
> > [19332.352863] BUG: sleeping function called from invalid context at kernel/sched.c:5558
> > [19332.352866] in_atomic(): 0, irqs_disabled(): 1, pid: 3287, name: pm-hibernate
> > [19332.352869] Pid: 3287, comm: pm-hibernate Tainted: G        W  2.6.28-rc2 #97
> > [19332.352871] Call Trace:
> > [19332.352878]  [<c0436408>] __might_sleep+0xdc/0xe3
> > [19332.352882]  [<c043bbde>] __cond_resched+0x12/0x36
> > [19332.352886]  [<c09d29a8>] _cond_resched+0x27/0x32
> > [19332.352889]  [<c0697d9c>] acpi_ps_complete_op+0x1e0/0x1ef
> > [19332.352892]  [<c069884e>] ? acpi_ps_alloc_op+0x82/0x84
> > [19332.352896]  [<c0689814>] ? acpi_ds_exec_end_op+0x30c/0x370
> > [19332.352899]  [<c069839f>] acpi_ps_parse_loop+0x5f4/0x721
> > [19332.352902]  [<c069779c>] acpi_ps_parse_aml+0x6d/0x267
> 
> Such messages are never false positives, this is a real bug.

Well, not sure.

This is the ACPI AML interpreter executing something with interrupts disabled
due to resume in progress (effectively atomic context).

Thanks,
Rafael

      reply	other threads:[~2008-11-04  0:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 18:19 Thomas Meyer
2008-11-03 19:47 ` Ingo Molnar
2008-11-04  0:53   ` Rafael J. Wysocki [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=200811040153.16514.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=robert.moore@intel.com \
    --cc=thomas@m3y3r.de \
    /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®