From: Joe Korty <joe.korty@ccur.com>
To: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: waitid breaks telnet
Date: Thu, 2 Dec 2004 12:54:18 -0500 [thread overview]
Message-ID: <20041202175418.GA9716@tsunami.ccur.com> (raw)
In-Reply-To: <200412012358.iB1Nwk3C002166@magilla.sf.frob.com>
On Wed, Dec 01, 2004 at 03:58:46PM -0800, Roland McGrath wrote:
> Since I can only manage so far to see this once in a blue moon, and you can
> produce it frequently, it would be helpful if you can diagnose the problem
> some. That is, figure out exactly what wrong results from a wait* call is
> at fault.
Hi Roland,
I've been playing with this most of the morning, finally got strace attached
to the telnet daemon, but it did me no good .. everything works when straced.
My technique was to replace /usr/sbin/in.telnetd with a script that invokes
the original binary under strace:
# cd /usr/sbin
# mv in.telnetd in.telnet.d.orig
# cat <<EOF >in.telnetd
/usr/bin/strace -ff -o /tmp/telnet.log.$$ /usr/sbin/in.telnetd.orig "$@"
EOF
# chmod 755 in.telnetd
Earlier this morning I systematically repeated my earlier, haphazard
experiments. I built three kernels from two sources: the first source
was the pure 2.6.7-rc1-bk7 tree, the second the same tree with the suspect
waitid patch applied. From these I built various kernels with and without
SMP and PREEMPT and ran at least seven 'telnet' tests on each. The results:
kernel smp preempt | 1 2 3 4 5 6 7 8 9
======================================================
bk7 Y Y | g g g g g g g
bk7+waitid Y Y | F F F F F F F
bk7+waitid N N | F g F F g g g F g
next prev parent reply other threads:[~2004-12-02 17:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 3:55 waitid breaks telnet Joe Korty
2004-12-01 4:27 ` Andrew Morton
2004-12-01 13:32 ` Joe Korty
2004-12-01 19:20 ` Roland McGrath
2004-12-01 19:41 ` Andrew Morton
2004-12-01 22:30 ` Joe Korty
2004-12-01 22:49 ` Joe Korty
2004-12-01 23:22 ` Joe Korty
2004-12-01 23:58 ` Roland McGrath
2004-12-02 17:54 ` Joe Korty [this message]
2004-12-02 22:39 ` [PATCH] fix uninitialized variable in waitid(2) Joe Korty
2004-12-02 22:51 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041202175418.GA9716@tsunami.ccur.com \
--to=joe.korty@ccur.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox