Re: 2.6.25-rc2 regression - hang on suspend

From: Rafael J. Wysocki
Date: Wed Feb 20 2008 - 19:33:22 EST


On Wednesday, 20 of February 2008, Soeren Sonnenburg wrote:
> On Wed, 2008-02-20 at 00:50 +0100, Rafael J. Wysocki wrote:
> > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote:
> > > On Tue, 2008-02-19 at 22:06 +0100, Rafael J. Wysocki wrote:
> > > > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote:
> > > > > Hi,
> > > >
> > > > Hi,
> > > >
> > > > > since 2.6.25-rc1 (first version I tried) and still in rc2 (and git), I
> > > > > see a hang on s2ram already when trying to suspend.
> > > >
> > > > Does it work with 2.6.24?
> > >
> > > yes.
> >
> > Please take the current mainline (there are a couple of nasty bugs fixed in
> > it), configure it with CONFIG_PM_DEBUG set, boot it with "no_console_suspend",
> > run
> >
> > # echo 8 > /proc/sys/kernel/printk
> > # echo devices > /sys/power/pm_test
> > # echo mem > /sys/power/state
> >
> > If it hangs, it should leave a stack trace before and I need that trace to see
> > what's going on. If it doesn't hang, I'll tell you what to do next.
>
> I tried with 2.6.24.2 with CONFIG_PM_DEBUG set, following your steps and
> yes it works flawlessly (though the display did not come back I could
> suspend/resume multiple times without problems, and finally s2ram -f -p
> brought the display back).

Hm, there's no /sys/power/pm_test in 2.6.24.2 (and the "current mainline"
means the latest -git kernel possible or the current top of the Linus' tree),
so in fact you tested 2.6.24 again, that is known to work ...

Thanks,
Rafael
--
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/