Re: Router machine falls into APM sleep :(
> Did you fix your router? > > I was wondering what you did to fix it. I've just looked at BIOS settings, magically changed a couple of them and still don't know if this worked :) And btw added "acpi=off apm=off" options to the kernel. I hope everything is working. -- Sincerely, Dmitry > > Hello, respectable ISP community :) > > > > I am Internet-administrator in University (see my email :) and on > > small ISP. Got one problem with my router PC. All of my PCs are > > Debians and one onf them, approx. month ago installed directly from > > Internet (with boot floppies and LAN cable) if this matters. > > > > So this PC got an ugly habit to go to APM (or whatever?) sleep if > > not used for some time. This is not bad, but it holds leased line > > client connected to 10Mbit NIC and 6 dialin modems on multiport > > card... At this time they cannot work at all, modems accept login > > but pppX interfaces do not route! Leased client can ping our server > > but can't ping Internet. If one press any key (for example Shift) > > on Router keyboard, routing quickly goes up and all things restore. > > > > No APM daemons were found running in memory using 'ps fax' command. > > No APM options were sut up in BIOS (afair) and it has set up in > > BIOS to wake on any events, including LAN events. > > > > Please tell me where to dig? My boss kicks me every day for this :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
We haven't heard if you have resolved the problem yet. > > I am Internet-administrator in University (see my email :) and on > > small ISP. Got one problem with my router PC. All of my PCs are > > Debians and one onf them, approx. month ago installed directly from > > Internet (with boot floppies and LAN cable) if this matters. Sounds like a fun problem. It appears that something is different on the machine that is acting up. It might be more productive just to build a new router... But, if have the time to troubleshoot this you might also want to look in the following files: Note, these are long shots. ls -la /etc/cron* cat /var/spool/cron/crontabs/* ls -la /var/spool/cron/at* ls -la /var/run/utmp > > ... modems accept login > > but pppX interfaces do not route! Leased client can ping our server > > but can't ping Internet. If one press any key (for example Shift) > > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > > No APM options were sut up in BIOS (afair) and it has set up in > > BIOS to wake on any events, including LAN events. This doesn't sound like an APM issue. Microsoft would say this was a hardware issue. But, I guess if you have a cron job pinging it every ten minutes this would not be a network card that gets sleepy. What type of network card are you using for your pppX interface? Maybe it is getting too hot at night. I had a multihomed machine in a cuboard that began overheating in April. It was in solitude for 6 months before the nic stopped routing packets. Are you on the north side of the equator? Does the school turn of the air conditioning in the server room after hours to conserve energy? Are any other servers in the room? If I were you, I would just camp out next to it to find out what is going on at night. ;-) -Ted Knab http://www.breezynetworks.com
Re: Router machine falls into APM sleep :(
We haven't heard if you have resolved the problem yet. > > I am Internet-administrator in University (see my email :) and on > > small ISP. Got one problem with my router PC. All of my PCs are > > Debians and one onf them, approx. month ago installed directly from > > Internet (with boot floppies and LAN cable) if this matters. Sounds like a fun problem. It appears that something is different on the machine that is acting up. It might be more productive just to build a new router... But, if have the time to troubleshoot this you might also want to look in the following files: Note, these are long shots. ls -la /etc/cron* cat /var/spool/cron/crontabs/* ls -la /var/spool/cron/at* ls -la /var/run/utmp > > ... modems accept login > > but pppX interfaces do not route! Leased client can ping our server > > but can't ping Internet. If one press any key (for example Shift) > > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > > No APM options were sut up in BIOS (afair) and it has set up in > > BIOS to wake on any events, including LAN events. This doesn't sound like an APM issue. Microsoft would say this was a hardware issue. But, I guess if you have a cron job pinging it every ten minutes this would not be a network card that gets sleepy. What type of network card are you using for your pppX interface? Maybe it is getting too hot at night. I had a multihomed machine in a cuboard that began overheating in April. It was in solitude for 6 months before the nic stopped routing packets. Are you on the north side of the equator? Does the school turn of the air conditioning in the server room after hours to conserve energy? Are any other servers in the room? If I were you, I would just camp out next to it to find out what is going on at night. ;-) -Ted Knab http://www.breezynetworks.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
Dmitry Litovchenko wrote: > > > If so, set up some jobs to run continuously to keep it happy and nice them > > low. > > Might make the problem go away for temporary purposes. > > It doesn't go away. I have set up crontab to ping leased client with 5 > small packets every 10 minutes... Guess what? It didn't help... :( I'm reaching a bit, but instead of ping, try something that will insure disk activity... perhaps having cron perform a df, an ls, or a sync every 10 minutes would be better. Good idea to look in the BIOS... the PC itself may be sleeping. OTOH: If pressing the shift key works... you know those little plastic birds that look like they keep taking a drink of water? you could use one of those to keep hitting the shift key overnight. Fans of "The Simpsons" will recognize that idea :-) --Rich _ Rich Puhek ETN Systems Inc. _
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 09:12:48PM +0300, Dmitry Litovchenko wrote: > Hello, respectable ISP community :) > > I am Internet-administrator in University (see my email :) and on > small ISP. Got one problem with my router PC. All of my PCs are > Debians and one onf them, approx. month ago installed directly from > Internet (with boot floppies and LAN cable) if this matters. > > So this PC got an ugly habit to go to APM (or whatever?) sleep if > not used for some time. This is not bad, but it holds leased line > client connected to 10Mbit NIC and 6 dialin modems on multiport > card... At this time they cannot work at all, modems accept login > but pppX interfaces do not route! Leased client can ping our server > but can't ping Internet. If one press any key (for example Shift) > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > No APM options were sut up in BIOS (afair) and it has set up in > BIOS to wake on any events, including LAN events. > > Please tell me where to dig? My boss kicks me every day for this :) Try passing "apm=off" to the kernel at boot time (you can do this at the lilo prompt manually or as an "append" parameter in the lilo.conf I'd also double check that all BIOS options are set correctly ... this sounds a bit fishy. Finally, this might actually be acpi at work ... you can also pass "acpi=off" as a kernel boot parameter if this is the case. HTH, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton pgph0Ab2yusWy.pgp Description: PGP signature
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 02:52:47PM -0400, Allen Ahoffman wrote: > check the power management settings on the bios first, maybe it is going > to sleep. disabled, but awakement options all set to ON (just for my safety) > Check your cron log and crontabs. nothing special. I have syslog monitored at tty11: just portslave/pppd activity of modem users and rare cron lines about my python tasks. Nothing about APM or so... There is even NO "APM" WORD found by grep in /var/log! I think it is something different. Maybe next reboot I'll check BIOS settings again. > Are there times when the system is really completely idel--no users? yes, deeply in the morning, when all night users went to their beds and when day users are still sleeping. Approx 2-3 hours of dialup and network idle, but cron awakes with python tasks every minute for different purposes. > If so, set up some jobs to run continuously to keep it happy and nice them > low. > Might make the problem go away for temporary purposes. It doesn't go away. I have set up crontab to ping leased client with 5 small packets every 10 minutes... Guess what? It didn't help... :( > set up syslog to log to external box so you can more easily diagnose log > files. > Check the kernel compilation and see if power management is on and active, > turn it off if it is. As I have recently checked my 'make menuconfig' infos on 'APM' subject... It is off. And there is no visible reason for my PC to sleep, but ping from outside disappears after 1 hour or more of idle. P.S. What next? :-\ I will check BIOS setting upon next reboot. -- Sincerely, Dmitry
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 01:17:44PM -0700, Mike Fedyk wrote: > On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote: > > Dmitry, > > Recompile the kernel without APM support. > > Matt > > > Isn't there an ioctl that will let you disable apm at runtime? > if it is, where and how to reach it? Maybe this isn't APM? ;) But if so then which another service wakes up on keypress? -- Sincerely, Dmitry
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote: > Dmitry, > Recompile the kernel without APM support. > Matt > Isn't there an ioctl that will let you disable apm at runtime?
Re: Router machine falls into APM sleep :(
Dmitry Litovchenko wrote: > > > If so, set up some jobs to run continuously to keep it happy and nice them > > low. > > Might make the problem go away for temporary purposes. > > It doesn't go away. I have set up crontab to ping leased client with 5 > small packets every 10 minutes... Guess what? It didn't help... :( I'm reaching a bit, but instead of ping, try something that will insure disk activity... perhaps having cron perform a df, an ls, or a sync every 10 minutes would be better. Good idea to look in the BIOS... the PC itself may be sleeping. OTOH: If pressing the shift key works... you know those little plastic birds that look like they keep taking a drink of water? you could use one of those to keep hitting the shift key overnight. Fans of "The Simpsons" will recognize that idea :-) --Rich _ Rich Puhek ETN Systems Inc. _ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
Dmitry, Recompile the kernel without APM support. Matt Dmitry Litovchenko wrote: > Hello, respectable ISP community :) > > I am Internet-administrator in University (see my email :) and on > small ISP. Got one problem with my router PC. All of my PCs are > Debians and one onf them, approx. month ago installed directly from > Internet (with boot floppies and LAN cable) if this matters. > > So this PC got an ugly habit to go to APM (or whatever?) sleep if > not used for some time. This is not bad, but it holds leased line > client connected to 10Mbit NIC and 6 dialin modems on multiport > card... At this time they cannot work at all, modems accept login > but pppX interfaces do not route! Leased client can ping our server > but can't ping Internet. If one press any key (for example Shift) > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > No APM options were sut up in BIOS (afair) and it has set up in > BIOS to wake on any events, including LAN events. > > Please tell me where to dig? My boss kicks me every day for this :) > > -- > Sincerely, > Dmitry > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 09:12:48PM +0300, Dmitry Litovchenko wrote: > Hello, respectable ISP community :) > > I am Internet-administrator in University (see my email :) and on > small ISP. Got one problem with my router PC. All of my PCs are > Debians and one onf them, approx. month ago installed directly from > Internet (with boot floppies and LAN cable) if this matters. > > So this PC got an ugly habit to go to APM (or whatever?) sleep if > not used for some time. This is not bad, but it holds leased line > client connected to 10Mbit NIC and 6 dialin modems on multiport > card... At this time they cannot work at all, modems accept login > but pppX interfaces do not route! Leased client can ping our server > but can't ping Internet. If one press any key (for example Shift) > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > No APM options were sut up in BIOS (afair) and it has set up in > BIOS to wake on any events, including LAN events. > > Please tell me where to dig? My boss kicks me every day for this :) Try passing "apm=off" to the kernel at boot time (you can do this at the lilo prompt manually or as an "append" parameter in the lilo.conf I'd also double check that all BIOS options are set correctly ... this sounds a bit fishy. Finally, this might actually be acpi at work ... you can also pass "acpi=off" as a kernel boot parameter if this is the case. HTH, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton PGP signature
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 02:52:47PM -0400, Allen Ahoffman wrote: > check the power management settings on the bios first, maybe it is going > to sleep. disabled, but awakement options all set to ON (just for my safety) > Check your cron log and crontabs. nothing special. I have syslog monitored at tty11: just portslave/pppd activity of modem users and rare cron lines about my python tasks. Nothing about APM or so... There is even NO "APM" WORD found by grep in /var/log! I think it is something different. Maybe next reboot I'll check BIOS settings again. > Are there times when the system is really completely idel--no users? yes, deeply in the morning, when all night users went to their beds and when day users are still sleeping. Approx 2-3 hours of dialup and network idle, but cron awakes with python tasks every minute for different purposes. > If so, set up some jobs to run continuously to keep it happy and nice them > low. > Might make the problem go away for temporary purposes. It doesn't go away. I have set up crontab to ping leased client with 5 small packets every 10 minutes... Guess what? It didn't help... :( > set up syslog to log to external box so you can more easily diagnose log > files. > Check the kernel compilation and see if power management is on and active, > turn it off if it is. As I have recently checked my 'make menuconfig' infos on 'APM' subject... It is off. And there is no visible reason for my PC to sleep, but ping from outside disappears after 1 hour or more of idle. P.S. What next? :-\ I will check BIOS setting upon next reboot. -- Sincerely, Dmitry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 01:17:44PM -0700, Mike Fedyk wrote: > On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote: > > Dmitry, > > Recompile the kernel without APM support. > > Matt > > > Isn't there an ioctl that will let you disable apm at runtime? > if it is, where and how to reach it? Maybe this isn't APM? ;) But if so then which another service wakes up on keypress? -- Sincerely, Dmitry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
On Fri, Jul 06, 2001 at 01:46:32PM -0500, Matt Fair wrote: > Dmitry, > Recompile the kernel without APM support. > Matt > Isn't there an ioctl that will let you disable apm at runtime? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Router machine falls into APM sleep :(
Dmitry, Recompile the kernel without APM support. Matt Dmitry Litovchenko wrote: > Hello, respectable ISP community :) > > I am Internet-administrator in University (see my email :) and on > small ISP. Got one problem with my router PC. All of my PCs are > Debians and one onf them, approx. month ago installed directly from > Internet (with boot floppies and LAN cable) if this matters. > > So this PC got an ugly habit to go to APM (or whatever?) sleep if > not used for some time. This is not bad, but it holds leased line > client connected to 10Mbit NIC and 6 dialin modems on multiport > card... At this time they cannot work at all, modems accept login > but pppX interfaces do not route! Leased client can ping our server > but can't ping Internet. If one press any key (for example Shift) > on Router keyboard, routing quickly goes up and all things restore. > > No APM daemons were found running in memory using 'ps fax' command. > No APM options were sut up in BIOS (afair) and it has set up in > BIOS to wake on any events, including LAN events. > > Please tell me where to dig? My boss kicks me every day for this :) > > -- > Sincerely, > Dmitry > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]