* [Fwd: failure notice]
@ 1998-07-21 23:36 Uncle George
0 siblings, 0 replies; only message in thread
From: Uncle George @ 1998-07-21 23:36 UTC (permalink / raw)
To: axp-list@redhat.com; +Cc: redhat-devel-list@redhat.com
[-- Attachment #1: Type: text/plain, Size: 126 bytes --]
does any one know where the porters/debuggers to syslogd/kernd are? I
tried greg@wind.rmcc.com, and it bounced back to me
gat
[-- Attachment #2: Type: message/rfc822, Size: 3650 bytes --]
From: MAILER-DAEMON@voicenet.com
To: gatgul@voicenet.com
Subject: failure notice
Date: 21 Jul 1998 22:34:05 -0000
Message-ID: <md5:57C763036EA49CAABE8B73C659A320CE>
Hi. This is the qmail-send program at voicenet.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<greg@wind.rmcc.com>:
Sorry, I couldn't find any host named wind.rmcc.com. (#5.1.2)
--- Below this line is a copy of the message.
Return-Path: <gatgul@voicenet.com>
Received: (qmail 14078 invoked from network); 21 Jul 1998 22:33:46 -0000
Received: from rotary911-pri.voicenet.com (HELO voicenet.com) (209.71.52.11)
by mail12.voicenet.com with SMTP; 21 Jul 1998 22:33:46 -0000
Message-ID: <35B51901.501AF154@voicenet.com>
Date: Tue, 21 Jul 1998 18:41:06 -0400
From: Uncle George <gatgul@voicenet.com>
Organization: None Avail
X-Mailer: Mozilla 4.04 [en] (WinNT; I)
MIME-Version: 1.0
To: axp-list@redhat.com, greg@wind.rmcc.com
CC: furio ercolessi <furio@spin.it>,
"B. James Phillippe" <bryan@terran.org>
Subject: Re: Inducing the syslogd/klogd syndrome
References: <199807192112.XAA20145@mail.spin.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
It was the poll() system call in 2.0.33 kernel that causes a cryptic ( but familiar ) message to be
printed by the kernel. Unfortunately this error message, from an unimplimented system service, does not
have a '\n' at the tail end of its message.
Along comes ntpdate, which really doesnt understand that the poll() function doesn't really work at all in
either glibc, or the kernel. BUT it tries really hard, at least 300,000 times, and fails at each attempt.
The kernel, on the other hand is trying to log some 300,000 attempts to this invalid system service. This
is all fine, with the exception that there are no newlines between each of the messages! - some run on
sentence.
Then along comes klogd, which will try to log each of these messages ( via syslogd ). But there are no
newlines, and klogd really hasn't been tested to handle a 4000 character message with no 'cr' of 'lf' in
them. this is evident when it tries to move the 4000 character message into a 1024 character line buffer.
rerally trashes the stack, and also trashes the kmsg channel, so it cant get any more info from the
kernel. Klogd gets a read error, syslogd gets the report from klogd, and it cycles forever.
so whats to fix:
1) put a '\n' in the kernel message in traps.c:do_entSys(), is printk("msg ... \n");
this should keep klogd happy. This is simple to do, and appears to keep klogd
happy. If there are any other like-wise type-o's, then u will still get that forever spin
problem in klogd/syslogd.
2) fix klogd so that longer than 1024 character kernel messages that dont have ( any ) terminating cr
or lf, to not overwrite the stack, and static variables. If u do get one of these messages that u cant
handle, or are improbable in nature - then a message should be written into the system log saying that
something strange has happened. I dont have a perm fix, and this is being reported to the klogd/syslogd
folks via greg@wind.rmcc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-07-21 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-21 23:36 [Fwd: failure notice] Uncle George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox