Date: Fri, 23 May 2003 08:07:06 +0800 From: "David Xu" <davidxu@freebsd.org> To: "Julian Elischer" <julian@elischer.org>, "Dan Nelson" <dnelson@allantgroup.com> Cc: Daniel Eischen <eischen@pcnet1.pcnet.com> Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) Message-ID: <006901c320bf$401583a0$0701a8c0@tiger> References: <Pine.BSF.4.21.0305221409580.4662-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=20 From: "Julian Elischer" <julian@elischer.org> To: "Dan Nelson" <dnelson@allantgroup.com> Cc: <threads@freebsd.org>; "Daniel Eischen" <eischen@pcnet1.pcnet.com>; = <davidxu@freebsd.org> Sent: Friday, May 23, 2003 5:13 AM Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) >=20 >=20 > On Thu, 22 May 2003, Dan Nelson wrote: >=20 > > In the last episode (May 22), Dan Nelson said: > > > In the last episode (May 22), Julian Elischer said: > > > > AHA! > > > > I've seen this panic from ksetest.. > > > > can you go to /usr/src/tools/KSE/ksetest > > > > and=20 > > > > make > > > > ./ksetest > > > >=20 > > > > it may not do it the first time so let it run 10 seconds then = kill > > > > it with ^C and retry about 10 times.. > > >=20 > > > It's not cooperating.. It hasn't crashed for me yet. Sometimes = it > > > exits cleanly on its own immediately after starting (see below), = but > > > it's never caused a panic. I'll try automating it by running it = in a > > > loop with a 2nd script running killall -9 ksetest every 10 = seconds. > >=20 > > Ok, after an hour still no panics. Should it really be exiting on = its > > own this often, though? > >=20 > > $ lastcomm ksetest | cut -c1-20 | sort | uniq -c > >=20 > > 75 ksetest - > > 366 ksetest -X > >=20 > > The above proceses were generated by the following loops in two > > different vtys: >=20 > no it's not supposed to stop.. I wonder why it does it.. > I have seen it a few ties on my system.. I'll try track it down.. >=20 >=20 > >=20 > > while sleep 10 ; do killall -9 ksetest ; done > > while : ; do ./ksetest; done > > =20 > Thanks.. >=20 > it's almost as if after a system has seen this crash few times > it gets immune from it in some way.. >=20 > my system has stopped doing it.. :-( >=20 > thanks for trying however.. >=20 >=20 It must be caused by an invalid thread pointer or some memory blocks = belong zoombie threads are corrupted, but I don't know where it came from. cpu_thread_clean only frees pcb_ext, and it is just an i386 hardware = I/O port map page, in normal case pcb_ext is zero, because we never access hardware I/O port in ksetest. > > --=20 > > Dan Nelson > > dnelson@allantgroup.com > >=20 >=20 Dvaid Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006901c320bf$401583a0$0701a8c0>