From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 15:43:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D40816A4D9 for ; Tue, 28 Sep 2004 15:43:36 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A0F243D54 for ; Tue, 28 Sep 2004 15:43:36 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2822 invoked from network); 28 Sep 2004 15:43:35 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Sep 2004 15:43:35 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8SFhF2P002165; Tue, 28 Sep 2004 11:43:21 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Brian Fundakowski Feldman Date: Tue, 28 Sep 2004 11:42:09 -0400 User-Agent: KMail/1.6.2 References: <20040924230425.GB1164@green.homeunix.org> <200409271635.44017.jhb@FreeBSD.org> <20040927215511.GC24003@green.homeunix.org> In-Reply-To: <20040927215511.GC24003@green.homeunix.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409281142.09481.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Andy Farkas cc: freebsd-current@FreeBSD.org cc: current@FreeBSD.org Subject: Re: panic: APIC: Previous IPI is stuck X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 15:43:36 -0000 On Monday 27 September 2004 05:55 pm, Brian Fundakowski Feldman wrote: > On Mon, Sep 27, 2004 at 04:35:44PM -0400, John Baldwin wrote: > > On Friday 24 September 2004 08:24 pm, Andy Farkas wrote: > > > I have been having this problem for a few weeks now. Glad I'm not the > > > only one. My box is a 4xPPro running 5.3-BETA5. It panics with either > > > ULE or 4BSD. > > > > > > My theory is that a physical IPI gets lost somewhere and the kerenl > > > spins waiting for it. But thats just a stab in the dark because nobody > > > cares to explain why IPI's would be stuck. > > > > The panic has to do with a previous IPI not finished being sent from the > > same CPU. I've yet to determine why this happens. You can try editing > > sys/i386/i386/local_apic.c and turning on 'DETECT_DEADLOCK' (I think it > > is just commented out) and seeing if that improves stability. I also see > > this on a 4xPIIXeon system I use for testing. > > Can KTR logging be leveraged to find the root cause(s) of these deadlocks, > or is it just so wildly unpredictable that it would be of no use? It might could be, but I think it would probably slow things down so much that they would go away. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org