Re: Suspend, followed by immediate resume

Rafael J. Wysocki
2008-05-03T13:09:01Z

On Saturday, 3 of May 2008, Jay Cliburn wrote:
> On Sat, 3 May 2008 14:50:19 +0200
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > BTW, have you tested it with init=/bin/bash already?
>
> No. Is mounting /proc and /sys manually as simple as this?
>
> mount -t proc rw proc /proc
> mount -t sysfs rw sysfs /sys
>
> What sort of suspend/resume behavior am I looking for when I use
> init=/bin/bash?

Set your BIOS setting to "Auto" and boot the kernel with init=/bin/bash.
You should get a root shell as a result of this. From this shell run:

# mount /proc
# mount /sys
# echo 8 > /proc/sys/kernel/printk
# eche mem > /sys/power/state

and see if it suspends. If it does, try to wake it up and see what happens.

Thanks,
Rafael