Re: broken suspend [Was: 2.6.24-rc2-mm1]

From: Alan Stern
Date: Sun Nov 18 2007 - 12:08:07 EST


On Sun, 18 Nov 2007, Jiri Slaby wrote:

> On 11/18/2007 04:23 PM, RafaÅ? J. Wysocki wrote:
> > On Sunday, 18 of November 2007, Jiri Slaby wrote:
> >> On 11/18/2007 04:03 PM, Rafael J. Wysocki wrote:
> >>> Can you also make the new System-map available, please?
> >> Sure:
> >> http://www.fi.muni.cz/~xslaby/sklad/System.map1
> >
> > The last notifier called in http://www.fi.muni.cz/~xslaby/sklad/susp_hang2.png
>
> Last... Note, that it's only first 20 invokations of notifiers, there are
> bazillion of them when I remove the condition '< 20'.
>
> > is apparently cpu_swap_callback() which is not called in
> > http://www.fi.muni.cz/~xslaby/sklad/susp_hang1.png .
> >
> > Can you verify that cpu_swap_callback() gets called if the patch is not
> > applied?
>
> Does this still apply?

You'll get more useful results if you redo your changes to
notifier_call_chain(). Have it print out the address of the routine
_before_ making the call, and don't limit it to 20. That way you'll
know exactly which notifier routine ends up hanging.

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/