From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760575AbXK1Koe (ORCPT ); Wed, 28 Nov 2007 05:44:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757072AbXK1KoY (ORCPT ); Wed, 28 Nov 2007 05:44:24 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:42523 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755620AbXK1KoX (ORCPT ); Wed, 28 Nov 2007 05:44:23 -0500 Date: Wed, 28 Nov 2007 02:43:55 -0800 From: Andrew Morton To: "Rafael J. Wysocki" , Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org Subject: suspend-related lockdep warning Message-Id: <20071128024355.5931c6ec.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 2.6.24-rc3-mm2 (which will be released if it boots on two more machines and if I stay awake) will say this during suspend-to-RAM on the Vaio: [ 91.876445] Syncing filesystems ... done. [ 92.382595] Freezing user space processes ... WARNING: at kernel/lockdep.c:2662 check_flags() [ 92.384000] Pid: 1925, comm: dbus-daemon Not tainted 2.6.24-rc3-mm2 #32 [ 92.384177] [] show_trace_log_lvl+0x12/0x25 [ 92.384335] [] show_trace+0xd/0x10 [ 92.384469] [] dump_stack+0x55/0x5d [ 92.384605] [] check_flags+0x7f/0x11a [ 92.384746] [] lock_acquire+0x3a/0x86 [ 92.384886] [] _spin_lock+0x26/0x53 [ 92.385023] [] refrigerator+0x13/0xc8 [ 92.385163] [] get_signal_to_deliver+0x32/0x3fb [ 92.385326] [] do_notify_resume+0x8c/0x699 [ 92.385476] [] work_notifysig+0x13/0x1b [ 92.385620] ======================= [ 92.385719] irq event stamp: 309 [ 92.385809] hardirqs last enabled at (309): [] syscall_exit_work+0x11/0x26 [ 92.386045] hardirqs last disabled at (308): [] syscall_exit+0x14/0x25 [ 92.386265] softirqs last enabled at (0): [] copy_process+0x374/0x130e [ 92.386491] softirqs last disabled at (0): [<00000000>] 0x0 [ 92.392457] (elapsed 0.00 seconds) done. [ 92.392581] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. [ 92.392882] PM: Entering mem sleep [ 92.392974] Suspending console(s) this has been happening for quite some time and might even be happening in mainline. Also, a few seconds after resume has completed we get a whimper from the hangcheck driver: [ 1.762425] usb 2-1: configuration #1 chosen from 1 choice [ 1.826548] input: Microsoft Microsoft Wireless Optical Mouse_ 1.00 as /class/input/input9 [ 1.866211] input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse_ 1.00] on usb-0000:00:1d.1-1 [ 5.757927] Hangcheck: hangcheck value past margin!