linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ethernet falls into deep sleep.
@ 2003-07-28 11:23 Michael Buesch
  2003-07-28 20:07 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Buesch @ 2003-07-28 11:23 UTC (permalink / raw)
  To: linux kernel mailing list; +Cc: linux-net

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I've a problem with my server/router, that I've seen on
various kernels. currently I'm running 2.4.21, but I've
seen the problem on 2.4.20 and 2.5.70, too.
I'm using a 3com 3c509 ISA ethernet card.

When this server stays a longer time (about one night, 12 hours)
without network-traffic, it seems like the whole network-interface
falls into a very deep sleep. It's very hard to wake the machine
up.
Today it was _very_ hard. First I tried to reach the internet
through this machine (it's a router), but it didn't work.
Every packet was thrown away by the router.
Then I tried to login via ssh into the machine, but I got
no response. Then I tried to ping the machine. All packages
got lost. But after a few minutes of pinging, suddenly the
machine responded in normal speed. From now on ssh and
routing was possible too.
It's like I have to tickle the machine a bit, before its
network-interface wakes up and I'm able to transmit some
packages.

I've no idea for the reason.
Thank you for every help.

(Please CC me, as I'm not subscribed to linux-net)

- -- 
Regards Michael Buesch
http://www.8ung.at/tuxsoft
Penguin on this machine:  Linux 2.4.21  - i386

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/JQfCoxoigfggmSgRAoKBAJ0bZIXp6BYIzvz4p+HuQKyiEcyNPQCfUfo6
VtA+E7Q/V6cLXotHloXYGC8=
=XEC1
-----END PGP SIGNATURE-----


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

* Re: Ethernet falls into deep sleep.
  2003-07-28 11:23 Ethernet falls into deep sleep Michael Buesch
@ 2003-07-28 20:07 ` Andrew Morton
  2003-07-28 20:37   ` Michael Buesch
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2003-07-28 20:07 UTC (permalink / raw)
  To: Michael Buesch; +Cc: linux-kernel, linux-net

Michael Buesch <fsdeveloper@yahoo.de> wrote:
>
> I've a problem with my server/router, that I've seen on
> various kernels. currently I'm running 2.4.21, but I've
> seen the problem on 2.4.20 and 2.5.70, too.
> I'm using a 3com 3c509 ISA ethernet card.
> 
> When this server stays a longer time (about one night, 12 hours)
> without network-traffic, it seems like the whole network-interface
> falls into a very deep sleep. It's very hard to wake the machine
> up.

This could be a router problem: some routers (Cisco?) decide that a host has
died if no traffic has been seen for a long time.  Google for "vortex
sleepy nic" for some discussion.

I haven't seen any reports of this in a looong time.  IIRC it was worked
around by pinging some remote host once per minute.



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

* Re: Ethernet falls into deep sleep.
  2003-07-28 20:07 ` Andrew Morton
@ 2003-07-28 20:37   ` Michael Buesch
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Buesch @ 2003-07-28 20:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-net

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 28 July 2003 22:07, Andrew Morton wrote:
> Michael Buesch <fsdeveloper@yahoo.de> wrote:
> > I've a problem with my server/router, that I've seen on
> > various kernels. currently I'm running 2.4.21, but I've
> > seen the problem on 2.4.20 and 2.5.70, too.
> > I'm using a 3com 3c509 ISA ethernet card.
> >
> > When this server stays a longer time (about one night, 12 hours)
> > without network-traffic, it seems like the whole network-interface
> > falls into a very deep sleep. It's very hard to wake the machine
> > up.
>
> This could be a router problem: some routers (Cisco?) decide that a host

I've got no hardware-router.
The server (the machine, that locks up; normal pentium linux PC)
works as server and router for my other machines.

> has died if no traffic has been seen for a long time.  Google for "vortex
> sleepy nic" for some discussion.
>
> I haven't seen any reports of this in a looong time.  IIRC it was worked
> around by pinging some remote host once per minute.

I'm now trying it without APM, ACPI support in the
kernel.
If this doesn't work, I'll try to make a cron-job pinging some
server.

- -- 
Regards Michael Buesch
http://www.8ung.at/tuxsoft
Penguin on this machine:  Linux 2.4.21  - i386

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/JYlvoxoigfggmSgRAv9PAJwK7b6vA3iYuzUMMtBlke8OjfCpLQCfXKcO
9w/oyKdCiF0Lydx57J88CwQ=
=eeAh
-----END PGP SIGNATURE-----


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

* Re: Ethernet falls into deep sleep.
  2003-07-28 11:39 Hen, Shmulik
@ 2003-07-28 16:28 ` Michael Buesch
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Buesch @ 2003-07-28 16:28 UTC (permalink / raw)
  To: Hen, Shmulik; +Cc: linux kernel mailing list, linux-net

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 28 July 2003 13:39, Hen, Shmulik wrote:
> It sounds like an ACPI issue. If ACPI is configuring the NIC to do
> wake-on-lan on pattern matching (I believe it does that by default), than a
> simple arp "who-has" packet with the target machine's IP address will do.
> You can take one other machine and clear the arp entry of the specific
> machine you're trying to wake, and then do ping. The first thing your other
> machine will send is an arp request that should wake the server up.
>
> BTW, if this server is not supposed to be sleeping at all, you should
> consider turning ACPI (or maybe APM?) off.

Yes, that's a good point.
I'll compile a kernel without any powermanagement (the server-hardware
doesn't support it correctly, so it's no problem :) ).

I'll write back, if it still fails, but it may take a few days.

- -- 
Regards Michael Buesch
http://www.8ung.at/tuxsoft
Penguin on this machine:  Linux 2.4.21  - i386

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/JU8coxoigfggmSgRAtNFAJ0Qm/fCNUMlNyhQTRciHyQQLtgsAgCeLC4M
C3+mTDRkc8ZSgMBMHHOjuWg=
=lG5u
-----END PGP SIGNATURE-----


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

* RE: Ethernet falls into deep sleep.
@ 2003-07-28 11:39 Hen, Shmulik
  2003-07-28 16:28 ` Michael Buesch
  0 siblings, 1 reply; 5+ messages in thread
From: Hen, Shmulik @ 2003-07-28 11:39 UTC (permalink / raw)
  To: Michael Buesch, linux kernel mailing list; +Cc: linux-net

It sounds like an ACPI issue. If ACPI is configuring the NIC to do wake-on-lan on pattern matching (I believe it does that by default), than a simple arp "who-has" packet with the target machine's IP address will do. You can take one other machine and clear the arp entry of the specific machine you're trying to wake, and then do ping. The first thing your other machine will send is an arp request that should wake the server up.

BTW, if this server is not supposed to be sleeping at all, you should consider turning ACPI (or maybe APM?) off.

-- 
| Shmulik Hen                             |
| Israel Design Center (Jerusalem)        |
| LAN Access Division                     |
| Intel Communications Group, Intel corp. |


> -----Original Message-----
> From: Michael Buesch [mailto:fsdeveloper@yahoo.de]
> Sent: Monday, July 28, 2003 2:23 PM
> To: linux kernel mailing list
> Cc: linux-net@vger.kernel.org
> Subject: Ethernet falls into deep sleep.
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi.
> 
> I've a problem with my server/router, that I've seen on
> various kernels. currently I'm running 2.4.21, but I've
> seen the problem on 2.4.20 and 2.5.70, too.
> I'm using a 3com 3c509 ISA ethernet card.
> 
> When this server stays a longer time (about one night, 12 hours)
> without network-traffic, it seems like the whole network-interface
> falls into a very deep sleep. It's very hard to wake the machine
> up.
> Today it was _very_ hard. First I tried to reach the internet
> through this machine (it's a router), but it didn't work.
> Every packet was thrown away by the router.
> Then I tried to login via ssh into the machine, but I got
> no response. Then I tried to ping the machine. All packages
> got lost. But after a few minutes of pinging, suddenly the
> machine responded in normal speed. From now on ssh and
> routing was possible too.
> It's like I have to tickle the machine a bit, before its
> network-interface wakes up and I'm able to transmit some
> packages.
> 
> I've no idea for the reason.
> Thank you for every help.
> 
> (Please CC me, as I'm not subscribed to linux-net)
> 
> - -- 
> Regards Michael Buesch
> http://www.8ung.at/tuxsoft
> Penguin on this machine:  Linux 2.4.21  - i386
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE/JQfCoxoigfggmSgRAoKBAJ0bZIXp6BYIzvz4p+HuQKyiEcyNPQCfUfo6
> VtA+E7Q/V6cLXotHloXYGC8=
> =XEC1
> -----END PGP SIGNATURE-----
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

end of thread, other threads:[~2003-07-28 20:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 11:23 Ethernet falls into deep sleep Michael Buesch
2003-07-28 20:07 ` Andrew Morton
2003-07-28 20:37   ` Michael Buesch
2003-07-28 11:39 Hen, Shmulik
2003-07-28 16:28 ` Michael Buesch

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).