Bug 850521 - Wake-On-LAN stopped working
Summary: Wake-On-LAN stopped working
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 18:12 UTC by Andrey Zhunev
Modified: 2013-03-14 20:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-14 20:53:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrey Zhunev 2012-08-21 18:12:57 UTC
Description of problem:
After upgrading from Fedora 14 to Fedora16, the previously (Since FC8) perfectly working Wake on LAN stopped to work.


How reproducible:
Always


Steps to Reproduce:
1. Halt/Shutdown PC via command line or power switch
2. Send WoL packet
3. System remains down

  
Actual results:
---------------
System will not wake-up

Expected results:
-----------------
System should wake up



Additional info:

# lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 220] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)



# lspci -vv -s 04:00
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
        Subsystem: Micro-Star International Co., Ltd. Device 7519
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 45
        Region 0: I/O ports at e800 [size=256]
        Region 2: Memory at febff000 (64-bit, non-prefetchable) [size=4K]
        Region 4: Memory at fbff0000 (64-bit, prefetchable) [size=64K]
        Expansion ROM at febc0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 4199
        Capabilities: [70] Express (v1) Endpoint, MSI 01
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <8us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 4096 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
                Vector table: BAR=4 offset=00000000
                PBA: BAR=4 offset=00000800
        Capabilities: [d0] Vital Product Data
                Unknown small resource type 05, will not decode more.
        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: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Capabilities: [140 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: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00
        Kernel driver in use: r8169


# lspci | grep "PCI Bridge"
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)



# dmesg |grep PME
[    0.055023] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.055462] pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
[    0.055570] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.055661] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.055752] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.055847] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
[    0.056277] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[    0.057504] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold



# dmesg |grep "PCI bridge"
[    0.056989] pci 0000:00:01.0: PCI bridge to [bus 01-01]
[    0.057250] pci 0000:00:1c.0: PCI bridge to [bus 02-02]
[    0.057298] pci 0000:00:1c.1: PCI bridge to [bus 03-03]
[    0.059013] pci 0000:00:1c.5: PCI bridge to [bus 04-04]
[    0.059101] pci 0000:00:1e.0: PCI bridge to [bus 05-05] (subtractive decode)
[    0.122533] pci 0000:00:01.0: PCI bridge to [bus 01-01]
[    0.122548] pci 0000:00:1c.0: PCI bridge to [bus 02-02]
[    0.122566] pci 0000:00:1c.1: PCI bridge to [bus 03-03]
[    0.122585] pci 0000:00:1c.5: PCI bridge to [bus 04-04]
[    0.122603] pci 0000:00:1e.0: PCI bridge to [bus 05-05]



# acpitool -w
   Device       S-state   Status   Sysfs node
  ---------------------------------------
  1. P0P2         S4    *disabled  pci:0000:00:01.0
  2. P0P3         S4    *disabled
  3. P0P1         S4    *disabled  pci:0000:00:1e.0
  4. USB0         S4    *enabled   pci:0000:00:1d.0
  5. USB1         S4    *enabled   pci:0000:00:1d.1
  6. USB2         S4    *enabled   pci:0000:00:1d.2
  7. USB5         S4    *disabled
  8. EUSB         S4    *enabled   pci:0000:00:1d.7
  9. USB3         S4    *enabled   pci:0000:00:1a.0
  10. USB4        S4    *enabled   pci:0000:00:1a.1
  11. USB6        S4    *enabled   pci:0000:00:1a.2
  12. USBE        S4    *enabled   pci:0000:00:1a.7
  13. P0P4        S4    *disabled  pci:0000:00:1c.0
  14. P0P5        S4    *disabled  pci:0000:00:1c.1
  15. P0P6        S4    *disabled
  16. P0P7        S4    *disabled
  17. P0P8        S4    *disabled
  18. P0P9        S4    *disabled  pci:0000:00:1c.5



# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.23.0.198  netmask 255.255.255.0  broadcast 172.23.0.255
        inet6 fe80::4261:86ff:fe36:6e98  prefixlen 64  scopeid 0x20<link>
        ether 40:61:86:36:6e:98  txqueuelen 1000  (Ethernet)
        RX packets 4612  bytes 787920 (769.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3834  bytes 422601 (412.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


# 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/Full
        Link partner advertised pause frame use: Symmetric
        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

# uname -a
Linux frontend1 3.5.2-1.fc17.i686 #1 SMP Wed Aug 15 16:52:27 UTC 2012 i686 i686 i386 GNU/Linux



The behavior is very similar to https://bugzilla.redhat.com/show_bug.cgi?id=794788
(but in my case the network adapter is different)

Comment 1 Josh Boyer 2013-03-14 19:52:45 UTC
Is this still a problem with 3.8.2 in updates-testing?

Comment 2 Andrey Zhunev 2013-03-14 20:38:03 UTC
Unfortunately, I cannot test this bug now, as I moved to another OS (CentOS).
If noone else could check it - I guess this ticket can be closed.

P.S. If I get a chance to check it - I'll post back here or open a new ticket.

Comment 3 Josh Boyer 2013-03-14 20:53:50 UTC
Thank you for letting us know.


Note You need to log in before you can comment on or make changes to this bug.