Powernap should ensure WoL is enabled before Second Stage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powernap |
Confirmed
|
Wishlist
|
Unassigned | ||
pm-utils (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
powernap (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
PowerNap should ensure that WoL is enabled before executing the second stage action (poweroff/susped) as first stage action (powersave) will disable WoL.
Note that powernap does not disable WoL, but rather, pm-utils ships a script called disable_wol.
============= Background ================
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/
* 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://
100 /var/lib/
#######
root@souris:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/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
---
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120324.1)
Package: powernap 2.17-0ubuntu2 [modified: usr/sbin/powernap]
PackageArchitec
ProcVersionSign
Tags: precise
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
mtime.conffile.
mtime.conffile.
summary: |
- Powernap prevents waking from WOL + Powernap prevents waking from WakeOnLAN |
summary: |
- Powernap prevents waking from WakeOnLAN + Powernap should ensure WoL is enabled before Second Stage |
description: | updated |
Changed in powernap: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in powernap (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → Wishlist |
Changed in pm-utils (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: notserv |
Thank you for reporting this bug. Can you please run "apport-collect 989175" to collect some information on your system so that it might be easier to diagnose? Also, what does "WOL" mean?