From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757279AbZLYXN5 (ORCPT ); Fri, 25 Dec 2009 18:13:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756650AbZLYXN4 (ORCPT ); Fri, 25 Dec 2009 18:13:56 -0500 Received: from rhlx01.hs-esslingen.de ([129.143.116.10]:38976 "EHLO rhlx01.hs-esslingen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756476AbZLYXNz (ORCPT ); Fri, 25 Dec 2009 18:13:55 -0500 Date: Sat, 26 Dec 2009 00:13:54 +0100 From: Andreas Mohr To: linux-kernel@vger.kernel.org Cc: linux-acpi@vger.kernel.org Subject: BUG: (2.6.32.2) sleeping function called from invalid context at drivers/acpi/acpica/psloop.c:826 Message-ID: <20091225231354.GA13330@rhlx01.hs-esslingen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Priority: none User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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