Comment 0 for bug 989175

Revision history for this message
vincefn (vincent-favre-nicolin) wrote : Powernap prevents waking from WOL

I have a server running Ubuntu 12.04. The current issue is the following:

* if I activate 2nd-stage powernap to poweroff (or 'shutdown -h' by using /etc/powernap/action), the computer will not wake when sent a magic packet.

* if however, I manually shutdown the computer (using shutdown -h from the console), the computer can be woken up with a magic packet without any problem.

I have no idea about the reason for this. I used previously powernap with 11.04 (or 11.10, I don't remember) and it worked correctly (the current installation is a clean one).

I have attached the powernap main config (with 2nd stage deactivated, but of course I ran the tests by activating it).

Note that the symptoms are the same if I try using suspend instead of poweroff/shutdown -h

############################
Description: Ubuntu 12.04 LTS
Release: 12.04
############################
root@souris:~# apt-cache policy powernap
powernap:
  Installé : 2.17-0ubuntu2
  Candidat : 2.17-0ubuntu2
 Table de version :
 *** 2.17-0ubuntu2 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

############################
root@souris:~# ethtool eth0
Settings for eth0:
 Supported ports: [ TP MII ]
 Supported link modes: 10baseT/Half 10baseT/Full
                         100baseT/Half 100baseT/Full
                         1000baseT/Half 1000baseT/Full
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes: 10baseT/Half 10baseT/Full
                         100baseT/Half 100baseT/Full
                         1000baseT/Half 1000baseT/Full
 Advertised pause frame use: Symmetric Receive-only
 Advertised auto-negotiation: Yes
 Link partner advertised link modes: 10baseT/Half 10baseT/Full
                                      100baseT/Half 100baseT/Full
                                      1000baseT/Half 1000baseT/Full
 Link partner advertised pause frame use: Symmetric Receive-only
 Link partner advertised auto-negotiation: Yes
 Speed: 1000Mb/s
 Duplex: Full
 Port: MII
 PHYAD: 0
 Transceiver: internal
 Auto-negotiation: on
 Supports Wake-on: pumbg
 Wake-on: g
 Current message level: 0x00000033 (51)
          drv probe ifdown ifup
 Link detected: yes