Re: Suspend problems in 2.6.31-rc6

Rafael J. Wysocki
2009-08-17T18:28:26Z

On Monday 17 August 2009, Alan Stern wrote:
> Rafael:

Hi,

> I just tried testing system suspend under vanilla 2.6.31-rc6. I booted
> with no_console_suspend and init=/bin/bash, then did:
>
> cd /sys/power
> echo devices >pm_test
> echo mem >state
>
> After the usual messages about freezing tasks, suspending devices, and
> the 5-second debugging delay, nothing happened. The system did not
> restart. It wasn't dead (it responded to Alt-SysRq key combinations)
> but it wasn't working. This was on an x86-32 machine.
>
> It doesn't appear to be a recent regression because 2.6.30 behaves the
> same way.
>
> With the gregkh-all-2.6.31-rc6 patch set, things are even worse. After
> switching to the new VT, nothing appears on the screen -- not even the
> messages about freezing tasks. I suspect there's something wrong with
> the new TTY changes but have not tried to track it down.

I wonder where exactly it hangs.

Can you rebuild the kernel with CONFIG_PM_VERBOSE set and
repeat the test with 'echo 8 > /proc/sys/kernel/printk' before the last
command?

Rafael