I have an ASRock E3C226D2I mainboard and set it up to wake it using Wake on LAN (WOL).
Steps to reproduce:
1) Enable Wake on LAN via magic packet:
ethtool -s eth0 wol g
2) Suspend computer (S3) or Hibernate.
3) Wake up the computer via magic packet.
4) Suspend computer (S3) or Hibernate.
Expected results:
Computer should be suspended / hibernated.
Actual results:
Computer immediately wakes up again. After it has resumed, you can successfully suspend/hibernate it, without it waking up.
Disabling WOL after waking up with ethtool does not change anything.
There is a bugreport on kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=46421
Some other people with other motherboards are also affected.
My system:
Debian Jessie
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux
BIOS P2.02s
LAN where network-cable is attached: Onboard (Intel driver igb)
It "seems" like the WOL package is still somewhere in the network card and does wake-up the computer a second time / isn't cleared after the first suspend/hibernate.
Please tell me if you need more information about the system or other debug logs.
My main problem is that I have attached several mechanical hard-drives and the need to suspend->wakeup->again suspend causes the drives to spin-down/spin-up one more time than needed, it is unnecessary mechanical "stress".
Thank you very much for help!
Steps to reproduce:
1) Enable Wake on LAN via magic packet:
ethtool -s eth0 wol g
2) Suspend computer (S3) or Hibernate.
3) Wake up the computer via magic packet.
4) Suspend computer (S3) or Hibernate.
Expected results:
Computer should be suspended / hibernated.
Actual results:
Computer immediately wakes up again. After it has resumed, you can successfully suspend/hibernate it, without it waking up.
Disabling WOL after waking up with ethtool does not change anything.
There is a bugreport on kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=46421
Some other people with other motherboards are also affected.
My system:
Debian Jessie
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux
BIOS P2.02s
LAN where network-cable is attached: Onboard (Intel driver igb)
Code:
sudo ethtool -i eth1 driver: igb version: 5.0.5-k firmware-version: 3.16, 0x800004d6 bus-info: 0000:03:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no
Please tell me if you need more information about the system or other debug logs.
My main problem is that I have attached several mechanical hard-drives and the need to suspend->wakeup->again suspend causes the drives to spin-down/spin-up one more time than needed, it is unnecessary mechanical "stress".
Thank you very much for help!