Suspend problems in 2.6.31-rc6

Alan Stern
2009-08-17T15:11:02Z

Rafael:

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.

Alan Stern