From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 10:43:40 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A068337B405 for ; Thu, 22 May 2003 10:43:40 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE08543F3F for ; Thu, 22 May 2003 10:43:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4MHhYK7062401; Thu, 22 May 2003 12:43:34 -0500 (CDT) (envelope-from dan) Date: Thu, 22 May 2003 12:43:34 -0500 From: Dan Nelson To: Julian Elischer Message-ID: <20030522174334.GC1694@dan.emsphone.com> References: <20030522165229.GA1694@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: freebsd-hackers@freebsd.org cc: Daniel Eischen Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 17:43:41 -0000 In the last episode (May 22), Julian Elischer said: > On Thu, 22 May 2003, Dan Nelson wrote: > > I do read -current, and I'm definitely not going anywhere near > > SCHED_ULE. I just tested both libraries with today's kernel and > > libraries, and was able to get a hard lockup with both libthr and > > libkse. Mysql seems to run okay. Starting a threaded pike process > > seems to be the killer. Unfortunately, pike's a pretty large app so > > it's not easy to get a stripped-down testcase. > > Ok so we need to get a description of this 'lockup'. > > 1/ does teh whole system lock up? > 2/ is this SMP? (how many cpus)? > 3/ does the system respond to pings? > 4/ do you have teh kernel dbugger installed, and if you do, does it > respond on the console to . You may have to start you > app from outside X11 on a console to be able to see the console once it > has frozen if it si an X app. > 5/ if it DOES go into ddb, what does 'ps' show? > 6/ got a serial console? Yes, the entire system locks. 2-CPU system. No ping responses. CTRL-ALT-ESC doesn't do anything, and neither does ~ ^B from the serial console. No X. I don't have BREAK_TO_DEBUGGER enabled because my console is connected to a Windows machine and I don't want my Unix box to hang every time I reboot it :) Do you think a real BREAK might work where ~ ^B doesn't? -- Dan Nelson dnelson@allantgroup.com