Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WOL in the BIOS causes power ups after shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
graysky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2006
Posts: 117
Location: above the flames and the ashes

PostPosted: Mon Feb 03, 2014 8:45 pm    Post subject: WOL in the BIOS causes power ups after shutdown Reply with quote

In order to support WOL, my Asus H87I-Plus requires an option set in the BIOS (Onboard>APM>Power on by PCIE). When I have this enabled, I can indeed start the machine using the wol magic packet, but there is an undesired side-effect: when I shutdown the machine, it stays shut off for about 5 sec and then turns back on all by itself. If I disable the option in the BIOS, this does not happen... but I am unable to use wol.

Anyone run into this issue before?

Code:
% sudo ethtool eno1
Settings for eno1:
   Supported ports: [ TP ]
   Supported link modes:   10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Supported pause frame use: No
   Supports auto-negotiation: Yes
   Advertised link modes:  10baseT/Half 10baseT/Full
                           100baseT/Half 100baseT/Full
                           1000baseT/Full
   Advertised pause frame use: No
   Advertised auto-negotiation: Yes
   Speed: 1000Mb/s
   Duplex: Full
   Port: Twisted Pair
   PHYAD: 2
   Transceiver: internal
   Auto-negotiation: on
   MDI-X: on (auto)
   Supports Wake-on: pumbg
   Wake-on: g
   Current message level: 0x00000007 (7)
                drv probe link
   Link detected: yes

_________________
Zsh and other configs
Back to top
View user's profile Send private message
niick
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2006
Posts: 88

PostPosted: Mon Feb 03, 2014 10:04 pm    Post subject: Reply with quote

I've got the same issue with a Gigabyte Z87X-D3H, had to turn wol off in the bios as well. I'm not sure if it's a kernel/driver issue or a bios one. The computer dual boots with win7 and that doesn't show the same problem.
_________________
"Give me control of a nation's money and I care not who makes the laws."
Mayer Amschel Rothschild
Back to top
View user's profile Send private message
graysky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2006
Posts: 117
Location: above the flames and the ashes

PostPosted: Mon Feb 03, 2014 11:15 pm    Post subject: Reply with quote

Thanks for the reply. Seems to me that if win7 can shutdown cleanly, but Linux cannot that the problem must lie there... what is your init system?
_________________
Zsh and other configs
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 456

PostPosted: Tue Feb 04, 2014 7:42 am    Post subject: Reply with quote

tons of recent intel motherboards have the same problem (including one of mine). Looks like a BIOS/EFI problem.
Back to top
View user's profile Send private message
graysky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2006
Posts: 117
Location: above the flames and the ashes

PostPosted: Tue Feb 04, 2014 9:20 pm    Post subject: Reply with quote

Great :( The Asus techs with whom I have corresponded barely speak English. Looks like this problem will never get to the people it needs to for a fix.
_________________
Zsh and other configs


Last edited by graysky on Wed Feb 05, 2014 10:58 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9394

PostPosted: Wed Feb 05, 2014 2:02 am    Post subject: Reply with quote

If this does affect a significant number of motherboards, there is a good chance that it will soon affect hardware in the possession of a kernel developer or other power user who can assist the kernel developers in pursuing a fix.
Back to top
View user's profile Send private message
niick
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2006
Posts: 88

PostPosted: Thu Feb 06, 2014 8:54 pm    Post subject: Reply with quote

graysky wrote:
what is your init system?


I'm using openrc-0.12.4.

It's reassuring to hear we're not alone on this. Guessing part of the issue is the relative newness of UEFI, it's the first time I've had it on a board.
_________________
"Give me control of a nation's money and I care not who makes the laws."
Mayer Amschel Rothschild
Back to top
View user's profile Send private message
graysky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2006
Posts: 117
Location: above the flames and the ashes

PostPosted: Wed Feb 26, 2014 7:43 pm    Post subject: Reply with quote

Booting into windows 7 and then shutting down from there does not exhibit this behavior. It seems to be something unique to Linux...
_________________
Zsh and other configs
Back to top
View user's profile Send private message
graysky
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2006
Posts: 117
Location: above the flames and the ashes

PostPosted: Sun Jul 05, 2015 12:34 pm    Post subject: Reply with quote

An update: this is a BIOS bug but there is a work-around. I have been testing several systems (Z77 and H97-based) after I disabled all references to 'xHCI' as it pertains to USB settings[1]. I also enabled wake on keyboard[2]. And finally, I disabled EuP 2013 which affects wattage in power off mode. For over 2 months now, I haven't observed an unintentional wake-up with 'wake on PCIe' enabled in the BIOS.

1a. https://communities.intel.com/message/168708
1b. https://github.com/torvalds/linux/commit/0adf7a085fae52b18202a95722fc05d644fa7a42
2. http://serverfault.com/questions/349898/wake-on-lan-with-ubuntu-causing-constant-reboots
_________________
Zsh and other configs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum