lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 29 May 2015 14:51:46 +0200
From:	Gianluca Anzolin <gianluca@...tospazio.it>
To:	netdev@...r.kernel.org
Subject: NIC related spontaneous wakeup

Hello,

I'm experiencing a puzzling issue with my system: whenever I wake up my
PC with a WOL magic packet and then power it off, the system turns on by
itself after a couple of seconds, even if the network cable is
disconnected.

This issue doesn't occur when I turn on the system on with the regular
power button.

I can reproduce this issue 100% of the times, with any kernel,
even with the latest stable kernel (4.0.4 that I'm using right now).

The integrated network card is an Intel 82574L that works with the
e1000e kernel driver.

Here follows the relevant lspci entry:

04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
Connection
	Subsystem: ASUSTeK Computer Inc. Motherboard
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at f6400000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at d000 [size=32]
	Memory at f6420000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: e1000e
	Kernel modules: e1000e

Since I can reproduce this problem so easily I took a snapshot of a
lspci -vvvxxx before powering down the system, either when the system
stays off or when it spontaneously wakes up.

Apart from some changes of IRQs and IO ports, the only difference I
found is this:

-               RootSta: PME ReqID 0000, PMEStatus- PMEPending-
+               RootSta: PME ReqID 0400, PMEStatus- PMEPending-

for the following lspci entry:

00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
Family PCI Express Root Port 6 (rev b5) (prog-if 00 [Normal decode])

The output of lspci -t is as follows:

-[0000:00]-+-00.0
           +-01.0-[01]--+-00.0
           |            \-00.1
           +-06.0-[02]--
           +-16.0
           +-1a.0
           +-1b.0
           +-1c.0-[03]--
           +-1c.5-[04]----00.0
           +-1c.6-[05]----00.0
           +-1c.7-[06]----00.0
           +-1d.0
           +-1e.0-[07]----03.0
           +-1f.0
           +-1f.2
           \-1f.3

So it seems that behind that PCI bridge there is only the NIC, and I'm
back to the start.

Can anybody give me a direction to debug this further or to solve this
issue? I can provide the full lspci output if needed.

I already sent a similar email to the acpi mailing list and they
suggested me to ask here.

Thank you,

Gianluca
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ