Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754715AbZKIVYx (ORCPT ); Mon, 9 Nov 2009 16:24:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754238AbZKIVYw (ORCPT ); Mon, 9 Nov 2009 16:24:52 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:48320 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753738AbZKIVYw (ORCPT ); Mon, 9 Nov 2009 16:24:52 -0500 Date: Mon, 9 Nov 2009 16:24:55 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Rafael J. Wysocki" cc: Thomas Gleixner , Mike Galbraith , Greg KH , LKML , Jesse Barnes , Ingo Molnar , Linus Torvalds , pm list Subject: Re: [linux-pm] Help needed: Resume problems in 2.6.32-rc, perhaps related to preempt_count leakage in keventd In-Reply-To: <200911092148.03815.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 30 On Mon, 9 Nov 2009, Rafael J. Wysocki wrote: > On Monday 09 November 2009, Alan Stern wrote: > > On Mon, 9 Nov 2009, Rafael J. Wysocki wrote: > > > > > Still, RIP always points to list_del_init(cwq->worklist.next); in > > > run_workqueue(). > > > > Use a big hammer: Create a new global variable, set it to 1 while > > resuming and back to 0 after the tasks have been thawed. While the > > variable is nonzero, print in the log the list pointers in > > cwq->worklist just before executing the list_del_init(). Maybe also > > print some other interesting information about cwq. > > I've just sent a message containing full call trace. > > It shows the problem is a general protection fault that happens _after_ we've > thawed tasks. Okay, so set the variable to 1 when the tasks are thawed and back to 0 a second later. The point is that you _can_ get more detailed information about the bad data values without flooding the system log. Alan Stern -- 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/