Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756240AbYKDAsf (ORCPT ); Mon, 3 Nov 2008 19:48:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753630AbYKDAsW (ORCPT ); Mon, 3 Nov 2008 19:48:22 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:43737 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752702AbYKDAsV (ORCPT ); Mon, 3 Nov 2008 19:48:21 -0500 From: "Rafael J. Wysocki" To: Ingo Molnar Subject: Re: BUG: sleeping function called from invalid context at kernel/sched.c:5558 Date: Tue, 4 Nov 2008 01:53:15 +0100 User-Agent: KMail/1.9.9 Cc: Thomas Meyer , Linux Kernel Mailing List , ACPI Devel Maling List , Len Brown , "Moore, Robert" References: <1225736361.5126.2.camel@localhost.localdomain> <20081103194721.GA16897@elte.hu> In-Reply-To: <20081103194721.GA16897@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811040153.16514.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1423 Lines: 33 On Monday, 3 of November 2008, Ingo Molnar wrote: > > * Thomas Meyer 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] [] __might_sleep+0xdc/0xe3 > > [19332.352882] [] __cond_resched+0x12/0x36 > > [19332.352886] [] _cond_resched+0x27/0x32 > > [19332.352889] [] acpi_ps_complete_op+0x1e0/0x1ef > > [19332.352892] [] ? acpi_ps_alloc_op+0x82/0x84 > > [19332.352896] [] ? acpi_ds_exec_end_op+0x30c/0x370 > > [19332.352899] [] acpi_ps_parse_loop+0x5f4/0x721 > > [19332.352902] [] 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/