netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: 2.4.29, e100 and a WOL packet causes keventd going mad
@ 2005-01-31 19:26 Brandeburg, Jesse
  2005-01-31 20:57 ` Bukie Mabayoje
  0 siblings, 1 reply; 12+ messages in thread
From: Brandeburg, Jesse @ 2005-01-31 19:26 UTC (permalink / raw)
  To: sfeldma, ncunningham
  Cc: David Härdeman, Michael Gernoth, Linux Kernel Mailing List,
	netdev

>+static void e100_shutdown(struct device *dev)
>+{
>+	struct pci_dev *pdev = container_of(dev, struct pci_dev, dev);
>+	struct net_device *netdev = pci_get_drvdata(pdev);
>+	struct nic *nic = netdev_priv(netdev);
>+
>+	pci_enable_wake(pdev, PCI_D0, nic->flags & (wol_magic |
>e100_asf(nic)));
>+}
>+

Separately, does anyone think that the OS should be handling the PME event on the bus (as it comes from the PIC as an interrupt, and can be masked at the PIC) with a default handler?  The machines having the problem seem to be killed by an interrupt storm generated by the PME interrupt, just a guess.

Jesse

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: 2.4.29, e100 and a WOL packet causes keventd going mad
@ 2005-01-30 17:18 David Härdeman
  2005-01-31  3:47 ` Scott Feldman
  0 siblings, 1 reply; 12+ messages in thread
From: David Härdeman @ 2005-01-30 17:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

Hi,

I experience the same problems as reported by Michael Gernoth when 
sending a WOL-packet to computer with a e100 NIC which is already 
powered on.

In my case, it's running kernel 2.6.8.1 and the NIC is identified by 
lspci as:
0000:02:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet 
Controller (rev 02)
or numerically:
0000:02:08.0 0200: 8086:1050 (rev 02)

The symptoms is that kacpid starts using all the CPU time it can, a 
shutdown takes 5 - 10 minutes after I've done this (in contrast to 20 - 
30 seconds when the machine is healthy).

Also, if I do a "shutdown -h" on the machine after sending a WOL packet 
when it's already powered up, it will shutdown and immediately start up 
again instead of powering off.

So, any suggestions on how to fix it?

Regards,
David

Please CC me on any replies.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-01-31 21:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 19:26 2.4.29, e100 and a WOL packet causes keventd going mad Brandeburg, Jesse
2005-01-31 20:57 ` Bukie Mabayoje
  -- strict thread matches above, loose matches on Subject: below --
2005-01-30 17:18 David Härdeman
2005-01-31  3:47 ` Scott Feldman
2005-01-31  3:58   ` Nigel Cunningham
2005-01-31  5:00     ` Scott Feldman
2005-01-31  6:14       ` Nigel Cunningham
2005-01-31  9:08         ` Nigel Cunningham
2005-01-31  4:23   ` Bukie Mabayoje
2005-01-31 15:24     ` Marcelo Tosatti
2005-01-31 20:29       ` David Härdeman
2005-01-31 21:13       ` Bukie Mabayoje

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).