Re: [linux-pm] Help needed: Resume problems in 2.6.32-rc, perhapsrelated to preempt_count leakage in keventd

From: Alan Stern
Date: Mon Nov 09 2009 - 16:25:03 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/