Subject : Re: linux-next: Tree for July 18: sky2 WOL broken Submitter : "Rafael J. Wysocki" <rjw@sisk.pl> Date : 2008-07-20 0:20:10 References : http://marc.info/?l=linux-next&m=121651311115104&w=4 Handled-By : Stephen Hemminger <shemminger@vyatta.com> Patch : http://marc.info/?l=linux-netdev&m=121694346401281&w=4 This entry is being used for tracking a regression from 2.6.26. Please don't close it until the problem is fixed in the mainline.
Fix has been sent
*** Bug 11181 has been marked as a duplicate of this bug. ***
Ignore-Patch : http://marc.info/?l=linux-netdev&m=121694346401281&w=4
Created attachment 17090 [details] Fix patch (for the record)
Patch : http://bugzilla.kernel.org/attachment.cgi?id=17090&action=view
Fixed by: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f71eb1a24a8cdde8d388c8f93e935aa7ac491047
Unfortunately, I have to reopen the bug, because my testing of 2.6.27-rc2-git4 containing the commit above shows that the issue described in the original e-mail thread is still present. Namely, after running 'ethtool -s eth0 wol g' the box hangs solid during - suspend to RAM - hibernation - power off as soon as either sky2_suspend() or sky2_shutdown() is called.
Created attachment 17157 [details] Patch fixing the issue for me Although this patch fixes the issue for me, I'm not sure if it's generally acceptable. I'll try to narrow down the problem further.
Created attachment 17158 [details] Smaller patch that fixes the issue for me Well, this seems to be more acceptable. :-)
Handled-By : Rafael J. Wysocki <rjw@sisk.pl> Patch : http://marc.info/?l=linux-netdev&m=121831747612598&w=2
Ignore-Patch : http://bugzilla.kernel.org/attachment.cgi?id=17090&action=view
Ignore-Patch: http://marc.info/?l=linux-netdev&m=121831747612598&w=2 Patch : http://marc.info/?l=linux-kernel&m=121838931923267&w=4
The -rc3 fix solves the shutdown issue for me with WOL disabled. But with "wol g", the system hangs at shutdown with a WARNING at smp_function_call_single().
The fix from Comment #12 hasn't been merged yet.
Fixed by: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e484d5f5c8c64e2c4f110c59e9e964884107822a