From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Rathmann Subject: Gigabyte P35-DS3: does not stay suspended with default "ug" wake-on-lan setting Date: Wed, 7 Oct 2015 10:46:46 +0200 Message-ID: <5614DBF6.7090509@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mout.gmx.net ([212.227.17.21]:60309 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264AbbJGIrT (ORCPT ); Wed, 7 Oct 2015 04:47:19 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org Cc: netdev@vger.kernel.org, nic_swsd@realtek.com Hello, on the Gigabyte P35-DS3 mainboard, the default wake-on-lan flag for the integrated ethernet card is set to "ug" by default at system startup. This causes wake-on-lan to be enabled unwantedly and thus the system doesn't stay suspended when using Suspend-to-RAM but wakes up by itself again. A workaround for this bug is to explicitly set the wake-on-lan flag to "g" with "ethtool -s eth0 wol g" before suspending the first time after system startup. --------------------- $ cat /proc/version Linux version 4.3.0-040300rc4-generic (kernel@gomeisa) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) ) #201510041330 SMP Sun Oct 4 17:32:10 UTC 2015 --------------------- $ lsb_release -rd Description: Ubuntu Wily Werewolf (development branch) Release: 15.10 --------------------- $ sh 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 speedy2008 4.3.0-040300rc4-generic #201510041330 SMP Sun Oct 4 17:32:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Gnu C 5.2.1 Gnu make 4.0 binutils 2.25.1 util-linux 2.26.2 mount debug module-init-tools 21 e2fsprogs 1.42.12 pcmciautils 018 PPP 2.4.6 Linux C Library 2.21 Dynamic linker (ldd) 2.21 Procps 3.3.9 Net-tools 1.60 Kbd 1.15.5 Sh-utils 8.23 wireless-tools 30 Modules Loaded bnep bluetooth snd_hrtimer snd_hda_codec_hdmi gpio_ich coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core joydev input_leds snd_hwdep serio_raw snd_pcm lpc_ich snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore 8250_fintek shpchp mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq pata_acpi hid_generic usbhid hid nouveau mxm_wmi wmi psmouse video i2c_algo_bit ttm r8169 mii drm_kms_helper pata_jmicron syscopyarea ahci sysfillrect libahci sysimgblt fb_sys_fops drm fjes --------------------- $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 microcode : 0xb6 cpu MHz : 2000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow vnmi flexpriority bugs : bogomips : 4666.67 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping : 11 microcode : 0xb6 cpu MHz : 2000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow vnmi flexpriority bugs : bogomips : 4666.67 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: --------------------- $ cat /proc/modules bnep 20480 2 - Live 0x0000000000000000 bluetooth 516096 5 bnep, Live 0x0000000000000000 snd_hrtimer 16384 1 - Live 0x0000000000000000 snd_hda_codec_hdmi 49152 4 - Live 0x0000000000000000 gpio_ich 16384 0 - Live 0x0000000000000000 coretemp 16384 0 - Live 0x0000000000000000 kvm_intel 163840 0 - Live 0x0000000000000000 kvm 507904 1 kvm_intel, Live 0x0000000000000000 snd_hda_codec_realtek 81920 1 - Live 0x0000000000000000 snd_hda_codec_generic 73728 1 snd_hda_codec_realtek, Live 0x0000000000000000 snd_hda_intel 36864 5 - Live 0x0000000000000000 snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel, Live 0x0000000000000000 snd_hda_core 65536 5 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec, Live 0x0000000000000000 joydev 20480 0 - Live 0x0000000000000000 input_leds 16384 0 - Live 0x0000000000000000 snd_hwdep 16384 1 snd_hda_codec, Live 0x0000000000000000 serio_raw 16384 0 - Live 0x0000000000000000 snd_pcm 102400 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core, Live 0x0000000000000000 lpc_ich 24576 0 - Live 0x0000000000000000 snd_seq_midi 16384 0 - Live 0x0000000000000000 snd_seq_midi_event 16384 1 snd_seq_midi, Live 0x0000000000000000 snd_rawmidi 32768 1 snd_seq_midi, Live 0x0000000000000000 snd_seq 69632 3 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000 snd_seq_device 16384 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000 snd_timer 32768 3 snd_hrtimer,snd_pcm,snd_seq, Live 0x0000000000000000 snd 81920 22 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer, Live 0x0000000000000000 soundcore 16384 1 snd, Live 0x0000000000000000 8250_fintek 16384 0 - Live 0x0000000000000000 shpchp 36864 0 - Live 0x0000000000000000 mac_hid 16384 0 - Live 0x0000000000000000 parport_pc 36864 0 - Live 0x0000000000000000 ppdev 20480 0 - Live 0x0000000000000000 lp 20480 0 - Live 0x0000000000000000 parport 49152 3 parport_pc,ppdev,lp, Live 0x0000000000000000 autofs4 40960 2 - Live 0x0000000000000000 btrfs 946176 2 - Live 0x0000000000000000 xor 24576 1 btrfs, Live 0x0000000000000000 raid6_pq 102400 1 btrfs, Live 0x0000000000000000 pata_acpi 16384 0 - Live 0x0000000000000000 hid_generic 16384 0 - Live 0x0000000000000000 usbhid 49152 0 - Live 0x0000000000000000 hid 118784 2 hid_generic,usbhid, Live 0x0000000000000000 nouveau 1462272 3 - Live 0x0000000000000000 mxm_wmi 16384 1 nouveau, Live 0x0000000000000000 wmi 20480 2 nouveau,mxm_wmi, Live 0x0000000000000000 psmouse 122880 0 - Live 0x0000000000000000 video 36864 1 nouveau, Live 0x0000000000000000 i2c_algo_bit 16384 1 nouveau, Live 0x0000000000000000 ttm 94208 1 nouveau, Live 0x0000000000000000 r8169 81920 0 - Live 0x0000000000000000 mii 16384 1 r8169, Live 0x0000000000000000 drm_kms_helper 131072 1 nouveau, Live 0x0000000000000000 pata_jmicron 16384 0 - Live 0x0000000000000000 syscopyarea 16384 1 drm_kms_helper, Live 0x0000000000000000 ahci 36864 2 - Live 0x0000000000000000 sysfillrect 16384 1 drm_kms_helper, Live 0x0000000000000000 libahci 32768 1 ahci, Live 0x0000000000000000 sysimgblt 16384 1 drm_kms_helper, Live 0x0000000000000000 fb_sys_fops 16384 1 drm_kms_helper, Live 0x0000000000000000 drm 352256 6 nouveau,ttm,drm_kms_helper, Live 0x0000000000000000 fjes 28672 0 - Live 0x0000000000000000 --------------------- $ cat /proc/ioports 0000-0cf7 : PCI Bus 0000:00 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-0060 : keyboard 0061-0061 : PNP0800:00 0064-0064 : keyboard 0070-0073 : rtc0 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : PNP0C04:00 00f0-00ff : fpu 0290-029f : pnp 00:00 0290-0294 : pnp 00:00 03c0-03df : vesafb 0400-0403 : ACPI PM1a_EVT_BLK 0404-0405 : ACPI PM1a_CNT_BLK 0408-040b : ACPI PM_TMR 0410-0415 : ACPI CPU throttle 0420-042f : ACPI GPE0_BLK 0430-0433 : iTCO_wdt.0.auto 0460-047f : iTCO_wdt.0.auto 0480-04bf : gpio_ich.1.auto 0480-04bf : 0000:00:1f.0 0480-04af : gpio_ich 04b0-04bf : gpio_ich 04d0-04d1 : pnp 00:00 0500-051f : 0000:00:1f.3 0800-087f : pnp 00:00 0880-088f : pnp 00:00 0cf8-0cff : PCI conf1 0d00-ffff : PCI Bus 0000:00 9000-9fff : PCI Bus 0000:05 a000-afff : PCI Bus 0000:02 b000-bfff : PCI Bus 0000:01 b000-b07f : 0000:01:00.0 c000-cfff : PCI Bus 0000:03 c000-c007 : 0000:03:00.1 c000-c007 : pata_jmicron c100-c103 : 0000:03:00.1 c100-c103 : pata_jmicron c200-c207 : 0000:03:00.1 c200-c207 : pata_jmicron c300-c303 : 0000:03:00.1 c300-c303 : pata_jmicron c400-c40f : 0000:03:00.1 c400-c40f : pata_jmicron d000-dfff : PCI Bus 0000:04 d000-d0ff : 0000:04:00.0 d000-d0ff : r8169 e000-e01f : 0000:00:1a.2 e000-e01f : uhci_hcd e100-e11f : 0000:00:1a.0 e100-e11f : uhci_hcd e200-e21f : 0000:00:1a.1 e200-e21f : uhci_hcd e300-e31f : 0000:00:1d.0 e300-e31f : uhci_hcd e400-e41f : 0000:00:1d.1 e400-e41f : uhci_hcd e500-e51f : 0000:00:1d.2 e500-e51f : uhci_hcd e600-e607 : 0000:00:1f.2 e600-e607 : ahci e700-e703 : 0000:00:1f.2 e700-e703 : ahci e800-e807 : 0000:00:1f.2 e800-e807 : ahci e900-e903 : 0000:00:1f.2 e900-e903 : ahci ea00-ea1f : 0000:00:1f.2 ea00-ea1f : ahci --------------------- $ cat /proc/iomem 00000000-00000fff : reserved 00001000-0009dbff : System RAM 0009dc00-0009f7ff : RAM buffer 0009f800-0009ffff : reserved 000a0000-000bffff : PCI Bus 0000:00 000c0000-000dffff : PCI Bus 0000:00 000c0000-000c7fff : Video ROM 000d6000-000d7fff : pnp 00:04 000e0000-000effff : pnp 00:04 000f0000-000fffff : reserved 000f0000-000fffff : System ROM 00100000-dfedffff : System RAM 01000000-017b908b : Kernel code 017b908c-01d3c4ff : Kernel data 01eb3000-01ff7fff : Kernel bss dfee0000-dfee2fff : ACPI Non-volatile Storage dfee3000-dfeeffff : ACPI Tables dfef0000-dfefffff : reserved dff00000-febfffff : PCI Bus 0000:00 e0000000-efffffff : PCI Bus 0000:01 e0000000-e7ffffff : 0000:01:00.0 e8000000-e9ffffff : 0000:01:00.0 f0000000-f3ffffff : PCI MMCONFIG 0000 [bus 00-3f] f0000000-f3ffffff : reserved f0000000-f3ffffff : pnp 00:03 f4000000-f6ffffff : PCI Bus 0000:01 f4000000-f4ffffff : 0000:01:00.0 f5000000-f507ffff : 0000:01:00.0 f6000000-f6003fff : 0000:01:00.1 f6000000-f6003fff : ICH HD audio f7000000-f8ffffff : PCI Bus 0000:04 f7000000-f701ffff : 0000:04:00.0 f8000000-f8000fff : 0000:04:00.0 f8000000-f8000fff : r8169 f9000000-f90fffff : PCI Bus 0000:03 f9000000-f9001fff : 0000:03:00.0 f9000000-f9001fff : ahci f9100000-f9103fff : 0000:00:1b.0 f9100000-f9103fff : ICH HD audio f9104000-f91043ff : 0000:00:1a.7 f9104000-f91043ff : ehci_hcd f9105000-f91053ff : 0000:00:1d.7 f9105000-f91053ff : ehci_hcd f9106000-f91067ff : 0000:00:1f.2 f9106000-f91067ff : ahci f9107000-f91070ff : 0000:00:1f.3 f9200000-f93fffff : PCI Bus 0000:02 f9400000-f95fffff : PCI Bus 0000:02 f9600000-f97fffff : PCI Bus 0000:03 f9800000-f99fffff : PCI Bus 0000:04 fec00000-ffffffff : reserved fec00000-fec003ff : IOAPIC 0 fed00000-fed003ff : HPET 0 fed00000-fed003ff : PNP0103:00 fed10000-fed1dfff : pnp 00:04 fed1f410-fed1f414 : iTCO_wdt.0.auto fed20000-fed8ffff : pnp 00:04 fee00000-fee00fff : Local APIC fee00000-fee00fff : pnp 00:04 ffb00000-ffb7ffff : pnp 00:04 ffb80000-ffbfffff : INT0800:00 fff00000-ffffffff : pnp 00:04 100000000-11fffffff : System RAM --------------------- $ sudo lspci -vvv 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02) Subsystem: Gigabyte Technology Co., Ltd Device 5000 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- 00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (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- Capabilities: [88] Subsystem: Gigabyte Technology Co., Ltd Device 5000 Capabilities: [80] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [a0] Express (v1) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend- LnkCap: Port #2, Speed 2.5GT/s, Width x16, ASPM L0s, Exit Latency L0s <256ns, L1 <64us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #32, PowerLimit 75.000W; Interlock- NoCompl+ SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Off, PwrInd On, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet+ LinkState- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootCap: CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [140 v1] Root Complex Link Desc: PortNumber=02 ComponentID=01 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=01 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed19000 Kernel driver in use: pcieport 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI]) Subsystem: Gigabyte Technology Co., Ltd Device 5004 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- TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <1us, L1 <4us ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Slot #16, PowerLimit 10.000W; Interlock- NoCompl- SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock- Changed: MRL- PresDet- LinkState- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootCap: CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001 Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed+ WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [180 v1] Root Complex Link Desc: PortNumber=01 ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c000 Kernel driver in use: pcieport 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (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- Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #4, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <256ns, L1 <4us ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Slot #19, PowerLimit 10.000W; Interlock- NoCompl- SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet+ LinkState+ RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootCap: CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001 Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed+ WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [180 v1] Root Complex Link Desc: PortNumber=04 ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c000 Kernel driver in use: pcieport 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (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- Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #5, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s <256ns, L1 <4us ClockPM- Surprise- LLActRep+ BwNot- ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Slot #20, PowerLimit 10.000W; Interlock- NoCompl- SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet+ LinkState+ RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootCap: CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001 Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed+ WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [180 v1] Root Complex Link Desc: PortNumber=05 ComponentID=02 EltType=Config Link0: Desc: TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+ Addr: 00000000fed1c000 Kernel driver in use: pcieport 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI]) Subsystem: Gigabyte Technology Co., Ltd Device 5004 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- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [50] Subsystem: Gigabyte Technology Co., Ltd Motherboard 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02) Subsystem: Gigabyte Technology Co., Ltd Device 5001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: lpc_ich 00:1f.2 SATA controller: Intel Corporation 82801IB (ICH9) 4 port SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: Gigabyte Technology Co., Ltd Device b005 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- Capabilities: [100 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01 Status: NegoPending- InProgress- Capabilities: [128 v1] Power Budgeting Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 Kernel driver in use: nouveau 01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1) 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- TAbort- SERR- TAbort- SERR- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn- Capabilities: [12c v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [148 v1] Device Serial Number 00-00-00-00-10-ec-81-68 Capabilities: [154 v1] Power Budgeting Kernel driver in use: r8169 --------------------- $ cat /proc/scsi/scsi Attached devices: Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: SanDisk SDSSDP06 Rev: 0 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi6 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVDRAM GH24NS95 Rev: RN00 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi8 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: TOSHIBA DT01ACA1 Rev: A750 Type: Direct-Access ANSI SCSI revision: 05 --------------------- Output of ethtool after system startup: $ sudo ethtool enp4s0 Settings for enp4s0: 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: No 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: ug Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes --------------------- == Further notes == This bug revealed when the init system was switched to Systemd and systemctl became responsible for suspend instead of pm-utils before. pm-utils has a hook (/usr/lib/pm-utils/power.d/disable_wol) that explicitly sets the wol flag to "g" before suspending, so the bug never appeared for years. systemctl doesn't do this, instead I had to place the following script as a workaround in /lib/systemd/system-sleep that sets the flag: --------------------- #!/bin/sh DEVICENAME="enp4s0" if test $1 = "pre"; then if test "`ethtool $DEVICENAME | grep 'Wake-on: ug'`"; then ethtool -s $DEVICENAME wol g fi fi --------------------- With that workaround script, the systems stays suspended properly. This bug was originally reported at https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1450396 where I was instructed to report it upstream. Kind regards, Jan