-----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-----
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:[email protected]]
> Sent: Monday, July 28, 2003 2:23 PM
> To: linux kernel mailing list
> Cc: [email protected]
> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-----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-----
Michael Buesch <[email protected]> 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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 28 July 2003 22:07, Andrew Morton wrote:
> Michael Buesch <[email protected]> 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-----