Re: Suspend, followed by immediate resume

Rafael J. Wysocki
2008-05-02T17:41:07Z

On Friday, 2 of May 2008, Jay Cliburn wrote:
> On Fri, 2 May 2008 18:59:56 +0200
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > On Friday, 2 of May 2008, Jay Cliburn wrote:
> > > On Fri, 2 May 2008 18:49:13 +0200
> > > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > >
> > > > Can you try to comment out acpi_enable_wakeup_device(acpi_state)
> > > > in drivers/acpi/sleep/main.c:acpi_suspend_enter() and see if that
> > > > helps?
> > >
> > > I'm working with 2.6.25.1, which doesn't have acpi_suspend_enter(),
> > > but I'll hop over to current git and give it a try.
> >
> > This function is called acpi_pm_enter() in 2.6.25.1.
>
> No change. I rebooted the modified kernel, then executed this command
> sequence.
>
> jcliburn@osprey:~$ su -
> Password:
> [root@osprey ~]# echo 8 > /proc/sys/kernel/printk
> [root@osprey ~]# ethtool -s eth0 wol g
> [root@osprey ~]# echo mem > /sys/power/state
>
>
> [root@osprey ~]#
> [root@osprey ~]#
> [root@osprey ~]#
>
> It spontaneously resumed. Serial console log attached.

Does it suspend if you don't activate the WOL?

If it doesn't, please restore acpi_pm_enter(), boot the kernel with
init=/bin/bash and try to suspend (you'll need to mount /proc and /sys
manually after booting).

Thanks,
Rafael