From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Sharp Subject: wakeonlan fails if pm-hibernate used Date: Thu, 08 Aug 2013 14:15:57 +0100 Message-ID: <52039A0D.1000906@o2.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from sidious.london.02.net ([82.132.130.152]:55931 "EHLO mail.o2.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757826Ab3HHNXh (ORCPT ); Thu, 8 Aug 2013 09:23:37 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org Cc: 1074110@bugs.launchpad.net wakeonlan fails if pm-hibernate used After issuing halt -p, wakeonlan works fine. after issuing pm-hibernate, the machine will not wake up. interfaces: auto eth0 iface eth0 inet dhcp up ethtool -s eth0 wol g down ethtool -s eth0 wol g Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes 01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10 Reported on Launchpad https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1074110 $ cat /proc/version Linux version 3.11.0-999-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201308070514 SMP Wed Aug 7 09:24:40 UTC 2013 $ lsb_release -rd Description: Ubuntu 12.04.2 LTS Release: 12.04 $ ./ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux oldhomeserver 3.11.0-999-generic #201308070514 SMP Wed Aug 7 09:24:40 UTC 2013 i686 i686 i386 GNU/Linux Gnu C 4.6 Gnu make 3.81 binutils 2.22 util-linux 2.20.1 mount support module-init-tools 3.16 e2fsprogs 1.42 pcmciautils 018 Linux C Library 2.15 Dynamic linker (ldd) 2.15 Procps 3.2.8 Net-tools 1.60 Kbd 1.15.2 Sh-utils 8.13 Modules Loaded zram dm_crypt nfsd nfs_acl auth_rpcgss nfs fscache lockd binfmt_misc sunrpc gpio_ich lpc_ich serio_raw shpchp intel_rng mac_hid hwmon_vid lp parport 8139too 8139cp mii $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 3 microcode : 0x10 cpu MHz : 734.956 cache size : 256 KB fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse bogomips : 1469.91 clflush size : 32 cache_alignment : 32 address sizes : 36 bits physical, 32 bits virtual power management: $ cat /proc/modules zram 18166 1 - Live 0x00000000 (C) dm_crypt 22524 0 - Live 0x00000000 nfsd 246709 13 - Live 0x00000000 nfs_acl 12771 1 nfsd, Live 0x00000000 auth_rpcgss 49253 1 nfsd, Live 0x00000000 nfs 162863 0 - Live 0x00000000 fscache 52016 1 nfs, Live 0x00000000 lockd 79198 2 nfsd,nfs, Live 0x00000000 binfmt_misc 17268 1 - Live 0x00000000 sunrpc 236600 23 nfsd,nfs_acl,auth_rpcgss,nfs,lockd, Live 0x00000000 gpio_ich 13278 0 - Live 0x00000000 lpc_ich 16987 0 - Live 0x00000000 serio_raw 13189 0 - Live 0x00000000 shpchp 32265 0 - Live 0x00000000 intel_rng 12700 0 - Live 0x00000000 mac_hid 13077 0 - Live 0x00000000 hwmon_vid 12723 0 - Live 0x00000000 lp 13359 0 - Live 0x00000000 parport 40930 1 lp, Live 0x00000000 8139too 32770 0 - Live 0x00000000 8139cp 27168 0 - Live 0x00000000 mii 13693 2 8139too,8139cp, Live 0x00000000 $ cat /proc/ioports 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-0060 : keyboard 0064-0064 : keyboard 0070-0071 : rtc0 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : 0000:00:1f.1 0170-0177 : ata_piix 01f0-01f7 : 0000:00:1f.1 01f0-01f7 : ata_piix 0376-0376 : 0000:00:1f.1 0376-0376 : ata_piix 03c0-03df : vga+ 03f6-03f6 : 0000:00:1f.1 03f6-03f6 : ata_piix 0400-0403 : ACPI PM1a_EVT_BLK 0404-0405 : ACPI PM1a_CNT_BLK 0408-040b : ACPI PM_TMR 0410-0415 : ACPI CPU throttle 0428-042b : ACPI GPE0_BLK 042c-042f : ACPI GPE1_BLK 0430-0433 : iTCO_wdt 0460-047f : iTCO_wdt 0480-04bf : gpio_ich 0480-04bf : 0000:00:1f.0 04c0-04cf : 0000:00:1f.3 0cf8-0cff : PCI conf1 c000-cfff : PCI Bus 0000:01 cc00-ccff : 0000:01:03.0 cc00-ccff : 8139too de00-de1f : 0000:00:1f.2 de00-de1f : uhci_hcd ff00-ff0f : 0000:00:1f.1 ff00-ff0f : ata_piix $ cat /proc/iomem 00000000-00000fff : reserved 00001000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000e0000-000fffff : reserved 000f0000-000fffff : System ROM 00100000-0beeffff : System RAM 01000000-016680a2 : Kernel code 016680a3-019bd17f : Kernel data 01aa1000-01b94fff : Kernel bss 0bef0000-0bef7fff : ACPI Tables 0bef8000-0befffff : ACPI Non-volatile Storage 0bf00000-0bffffff : reserved dfc00000-dfcfffff : PCI Bus 0000:01 e0000000-e3ffffff : 0000:00:01.0 e7e00000-ebefffff : PCI Bus 0000:01 e8000000-e80000ff : 0000:01:03.0 e8000000-e80000ff : 8139too ee000000-ee07ffff : 0000:00:01.0 fff80000-ffffffff : reserved $ sudo lspci -vvv 00:00.0 Host bridge: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub (rev 03) Subsystem: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- [disabled] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- 00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Kernel modules: shpchp 00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-