From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751373AbZL0WYF (ORCPT ); Sun, 27 Dec 2009 17:24:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751197AbZL0WYB (ORCPT ); Sun, 27 Dec 2009 17:24:01 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:60877 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbZL0WYA (ORCPT ); Sun, 27 Dec 2009 17:24:00 -0500 From: "Rafael J. Wysocki" To: Andreas Mohr Subject: Re: BUG: (2.6.32.2) sleeping function called from invalid context at drivers/acpi/acpica/psloop.c:826 Date: Sun, 27 Dec 2009 23:24:02 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.33-rc2-tst; KDE/4.3.3; x86_64; ; ) Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org References: <20091225231354.GA13330@rhlx01.hs-esslingen.de> In-Reply-To: <20091225231354.GA13330@rhlx01.hs-esslingen.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912272324.02489.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 26 December 2009, Andreas Mohr wrote: > Hi, > > got this after a lid close (ACPI S1, obviously). > Inspiron 8000 (P3/700). > > Might be similar/same to > "Kernel BUG during suspend to disk with 2.6.32-rc8-git3", > http://www.gossamer-threads.com/lists/linux/kernel/1160868 > > Suspending type 'cpu': > cpu0 > Back to C! > Resuming System Devices > Resuming type 'cpu': > cpu0 > Resuming type 'i8259': > i82590 > Resuming type 'i8237': > i82370 > Resuming type 'machinecheck': > machinecheck0 > Resuming type 'ioapic': > Resuming type 'timekeeping': > timekeeping0 > Resuming type 'clocksource': > clocksource0 > Resuming type 'irqrouter': > irqrouter0 > BUG: sleeping function called from invalid context at drivers/acpi/acpica/psloop.c:826 > in_atomic(): 0, irqs_disabled(): 1, pid: 12013, name: default.sh > 1 lock held by default.sh/12013: > #0: (pm_mutex){......}, at: [] enter_state+0x29/0x121 > Pid: 12013, comm: default.sh Not tainted 2.6.32.2 #1 > Call Trace: > [] ? __debug_show_held_locks+0x1e/0x20 > [] __might_sleep+0xb6/0xbb > [] acpi_ps_complete_op+0x224/0x238 > [] ? acpi_ps_parse_loop+0x45d/0x8e8 > [] ? acpi_ds_exec_end_op+0x419/0x47f > [] acpi_ps_parse_loop+0x798/0x8e8 > [] acpi_ps_parse_aml+0xcf/0x31f > [] acpi_ps_execute_method+0x1d5/0x2b7 > [] acpi_ns_evaluate+0x13c/0x242 > [] acpi_rs_set_srs_method_data+0xed/0x108 > [] acpi_set_current_resources+0x2e/0x39 > [] acpi_pci_link_set+0x132/0x202 > [] irqrouter_resume+0x29/0x3e > [] __sysdev_resume+0x14/0xa3 > [] sysdev_resume+0x7a/0xb2 > [] suspend_devices_and_enter+0xf8/0x165 > [] enter_state+0xe0/0x121 > [] pm_suspend+0x19/0x1f > [] acpi_suspend+0x3c/0x54 > [] acpi_system_write_sleep+0x60/0x75 > [] ? acpi_system_write_sleep+0x0/0x75 > [] proc_reg_write+0x60/0x74 > [] ? proc_reg_write+0x0/0x74 > [] vfs_write+0x8a/0x13b > [] sys_write+0x3b/0x60 > [] sysenter_do_call+0x12/0x31 > Resuming type 'lapic_nmi': > lapic_nmi0 > ACPI: Waking up from system sleep state S1 > platform dock.0: EARLY resume > agpgart-intel 0000:00:00.0: EARLY resume > agpgart-intel 0000:00:00.0: calling quirk_cardbus_legacy+0x0/0x21 > pci 0000:00:01.0: EARLY resume > pci 0000:00:01.0: calling quirk_cardbus_legacy+0x0/0x21 > pci 0000:00:1e.0: EARLY resume > pci 0000:00:1e.0: calling quirk_cardbus_legacy+0x0/0x21 > pci 0000:00:1f.0: EARLY resume > pci 0000:00:1f.0: calling quirk_cardbus_legacy+0x0/0x21 > ata_piix 0000:00:1f.1: EARLY resume > ata_piix 0000:00:1f.1: restoring config space at offset 0x1 (was 0x2800001, writing 0x2800005) > ata_piix 0000:00:1f.1: calling quirk_cardbus_legacy+0x0/0x21 > uhci_hcd 0000:00:1f.2: EARLY resume > uhci_hcd 0000:00:1f.2: calling quirk_cardbus_legacy+0x0/0x21 I guess this is http://bugzilla.kernel.org/show_bug.cgi?id=14483 Rafael