From owner-freebsd-threads@FreeBSD.ORG Thu May 22 13:04:35 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABCE737B401; Thu, 22 May 2003 13:04:35 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A9F43F3F; Thu, 22 May 2003 13:04:34 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4MK4Wlq084525; Thu, 22 May 2003 15:04:32 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 15:04:32 -0500 From: Dan Nelson To: Julian Elischer Message-ID: <20030522200432.GA45995@dan.emsphone.com> References: <20030522191234.GA13498@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: threads@freebsd.org cc: Daniel Eischen cc: davidxu@freebsd.org Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:04:36 -0000 In the last episode (May 22), Julian Elischer said: > On Thu, 22 May 2003, Dan Nelson wrote: > > AHA! > I've seen this panic from ksetest.. > can you go to /usr/src/tools/KSE/ksetest > and > make > ./ksetest > > it may not do it the first time so let it run 10 seconds then kill it > with ^C and retry about 10 times.. 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. $ ./ksetest main() : 0x804c000 eip -> 0x280ae8df uts() at : 0x8048d04 uts stack at : 0x814d000 - 0x8155000 main() : 0x804c400 eip -> 0x280ae8df uts() at : 0x8048d04 uts stack at : 0x8255000 - 0x825d000 thread_start() : 0x804c800 804c800 thread_start() : 0x826d000 826d000 kse_create() -> 0 +-kse_create() -> 0 main() : 0x826d800 eip -> 0x280ae8df uts() at : 0x8048d04 uts stack at : 0x837e000 - 0x8386000 +-main() : 0x826dc00 eip -> 0x280ae8df uts() at : 0x8048d04 uts stack at : 0x8486000 - 0x848e000 thread_start() : 0x848e000 848e000 thread_start() : 0x848e800 848e800 thread_start() : 0x84af000 84af000 kse_create() -> 0 A*.kse_create() -> 0 $ -- Dan Nelson dnelson@allantgroup.com