* khttpd crash verified with vanilla linuxppc_2_4_devel
@ 2002-05-21 20:33 Dan Kegel
2002-05-21 21:16 ` andrew may
0 siblings, 1 reply; 3+ messages in thread
From: Dan Kegel @ 2002-05-21 20:33 UTC (permalink / raw)
To: linuxppc-embedded@lists.linuxppc.org
I can crash khttpd at will on a totally vanilla
linuxppc_2_4_devel kernel as of changeset 1.749
using an open source load generator, with or without
the patch that fixes a khttpd crash on x86
( http://www.kegel.com/linux/khttpd/khttpd-unbork.patch ).
This crash is not present on the imac with current kernels, nor
in Hard Hat 2.0 on this same board, nor on the PC with current kernels.
I believe it's a bug in the linuxppc_2_4_devel trunk.
Now that I've got it happening with 1.749, I'll try earlier versions
in hopes I find an older version that doesn't oops, and narrow
down the cause.
Kernel: circa 2.4.17-pre6 fetched with
bk clone -r1.749 bk://ppc.bkserver.net/linuxppc_2_4_devel
Sample oops #1:
>>???; c0044358 <sys_select+3fc/48c> <=====
Trace; c00442a4 <sys_select+348/48c>
Trace; c00081fc <ppc_select+a0/b0>
Trace; c00028dc <ret_from_syscall_1+0/b4>
Sample oops #2:
>>???; c003eaa4 <link_path_walk+7e4/990> <=====
Trace; c003e958 <link_path_walk+698/990>
Trace; c003ec68 <path_walk+18/28>
Trace; c003f3f8 <open_namei+a8/660>
Trace; c0031f2c <filp_open+58/84>
Trace; c0032394 <sys_open+4c/fc>
Trace; c00028dc <ret_from_syscall_1+0/b4>
The oops tracebacks are not terribly helpful.
Script to reproduce:
#!/bin/sh
set -x
insmod khttpd
echo 1 > /proc/sys/net/khttpd/stop
sleep 2
echo 16 > /proc/sys/net/khttpd/threads
echo `pwd` > /proc/sys/net/khttpd/documentroot
echo 80 > /proc/sys/net/khttpd/clientport
echo 8080 > /proc/sys/net/khttpd/serverport
echo http://127.0.0.1:8080/128k.html > urls
# place a 128KB-ish file here, e.g.
# cp http_load 128k.html
# chmod 644 128k.html
while /bin/true; do
echo 1 > /proc/sys/net/khttpd/start
./http_load -checksum -parallel 10 -seconds 6 urls
echo 1 > /proc/sys/net/khttpd/stop
sleep 1
done
Let that run for a few iterations, then stop it,
and run http_load a few times by hand.
http_load is from http://www.acme.com/software/http_load/http_load-04jan2002.tar.gz
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: khttpd crash verified with vanilla linuxppc_2_4_devel
2002-05-21 20:33 khttpd crash verified with vanilla linuxppc_2_4_devel Dan Kegel
@ 2002-05-21 21:16 ` andrew may
2002-05-21 21:37 ` Dan Kegel
0 siblings, 1 reply; 3+ messages in thread
From: andrew may @ 2002-05-21 21:16 UTC (permalink / raw)
To: Dan Kegel; +Cc: linuxppc-embedded@lists.linuxppc.org
On Tue, May 21, 2002 at 01:33:03PM -0700, Dan Kegel wrote:
>
> I can crash khttpd at will on a totally vanilla
> linuxppc_2_4_devel kernel as of changeset 1.749
> using an open source load generator, with or without
> the patch that fixes a khttpd crash on x86
> ( http://www.kegel.com/linux/khttpd/khttpd-unbork.patch ).
>
> This crash is not present on the imac with current kernels, nor
> in Hard Hat 2.0 on this same board, nor on the PC with current kernels.
> I believe it's a bug in the linuxppc_2_4_devel trunk.
What filesystem are you using? RAMfs? Can you try the imac using
the same FS?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: khttpd crash verified with vanilla linuxppc_2_4_devel
2002-05-21 21:16 ` andrew may
@ 2002-05-21 21:37 ` Dan Kegel
0 siblings, 0 replies; 3+ messages in thread
From: Dan Kegel @ 2002-05-21 21:37 UTC (permalink / raw)
To: andrew may; +Cc: linuxppc-embedded@lists.linuxppc.org, Bryan Rittmeyer
andrew may wrote:
>
> On Tue, May 21, 2002 at 01:33:03PM -0700, Dan Kegel wrote:
> >
> > I can crash khttpd at will on a totally vanilla
> > linuxppc_2_4_devel kernel as of changeset 1.749
> > using an open source load generator, with or without
> > the patch that fixes a khttpd crash on x86
> > ( http://www.kegel.com/linux/khttpd/khttpd-unbork.patch ).
> >
> > This crash is not present on the imac with current kernels, nor
> > in Hard Hat 2.0 on this same board, nor on the PC with current kernels.
> > I believe it's a bug in the linuxppc_2_4_devel trunk.
>
> What filesystem are you using? RAMfs?
Good point. All the good runs were either with
ramfs or ext2/3, all the bad runs were with tmpfs.
I should vary that.
> Can you try the imac using the same FS?
Will do!
FWIW, I verified that changeset 1.654 behaves badly with khttpd, too
(still with tmpfs).
- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-21 21:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 20:33 khttpd crash verified with vanilla linuxppc_2_4_devel Dan Kegel
2002-05-21 21:16 ` andrew may
2002-05-21 21:37 ` Dan Kegel
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).