Re: Regression in 2.6.27-rc7: Wake On LAN with sky2 broken

Rafael J. Wysocki
2008-09-24T21:05:03Z

On Wednesday, 24 of September 2008, Tino Keitel wrote:
> On Wed, Sep 24, 2008 at 21:13:51 +0200, Rafael J. Wysocki wrote:
> > On Wednesday, 24 of September 2008, Tino Keitel wrote:
> > > Hi,
> > >
> > > Wake On LAN from suspend to RAM doesn't work on my Mac mini Core Duo
> > > with 2.6.27-rc7. I tested the same configuration with 2.6.26.3, and it
> > > worked. With 2.6.27-rc7, the computer stays in suspended state. I can
> > > still wake it up using the keyboard or power switch.
> > >
> > > In my suspend script, I use the command "ethtool -s eth0 wol g" to
> > > enable WOL even if it was disabled before.
> > >
> > > Any hints what commit I should try to revert, before I start bisecting?
> >
> > Please try the appended patch.
>
> With this patch, the computer hangs during suspend.

This is not good. It probably means that it actually tries to set up the NIC
for waking up the system, but something broke _that_ for you.

FWIW, I tried it on my test machine with sky2 and it worked.

Can you try:

# ethtool -s eth0 wol g
# echo devices > /sys/power/pm_test
# echo mem > /sys/power/state
(this should wait for 5 seconds and return to the command line)

and see if the machine hangs during this operation?

Please also attach the boot log from your system.

Thanks,
Rafael