From owner-freebsd-current@FreeBSD.ORG Fri Sep 10 06:06:21 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 628E116A4CE; Fri, 10 Sep 2004 06:06:21 +0000 (GMT) Received: from spxau01.smeglobalnet.net (spxau01.smeglobalnet.net [203.57.65.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC0243D4C; Fri, 10 Sep 2004 06:06:20 +0000 (GMT) (envelope-from andy@bradfieldprichard.com.au) Received: from bpgate.speednet.com.au ([203.41.15.9]) by spxau01.smeglobalnet.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 10 Sep 2004 15:26:33 +1000 Received: from bpgate.speednet.com.au (localhost [127.0.0.1]) i8A5QWMG021456; Fri, 10 Sep 2004 15:26:33 +1000 (EST) (envelope-from andy@bradfieldprichard.com.au) Received: from localhost (andy@localhost)i8A5QVY7021453; Fri, 10 Sep 2004 15:26:32 +1000 (EST) (envelope-from andy@bradfieldprichard.com.au) X-Authentication-Warning: bpgate.speednet.com.au: andy owned process doing -bs Date: Fri, 10 Sep 2004 15:26:31 +1000 (EST) From: Andy Farkas X-X-Sender: andy@bpgate.speednet.com.au To: John Baldwin In-Reply-To: <200409091347.19431.jhb@FreeBSD.org> Message-ID: <20040910151513.M21251@bpgate.speednet.com.au> References: <20040909023413.T14321@bpgate.speednet.com.au> <200409091347.19431.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 10 Sep 2004 05:26:34.0100 (UTC) FILETIME=[BC732340:01C496F6] cc: freebsd-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: Fri, 10 Sep 2004 06:06:21 -0000 On Thu, 9 Sep 2004, John Baldwin wrote: > On Wednesday 08 September 2004 12:39 pm, Andy Farkas wrote: >> My box is still crashing with above APIC panic when I do a >> make -j4 buildworld. >> >> In file src/sys/i386/i386/local_apic.c I tried increasing >> BEFORE_SPIN to 100000000 but it still panics. >> >> Any suggestions on why this is happenning? > > Try changing the consant to -1. Note that I apparently just managed to > trigger a hard lockup on my test machine here with that change, but it had > managed to run for about 20 hours under heavy load that panic'd in a few > hours on a stock kernel. > >> FreeBSD 5.3-BETA3 #1: Wed Sep 8 00:37:07 EST 2004 I changed it to -1. Now I get a hard lockup. I assume its spinning inside lapic_ipi_wait(). FYI: the box is a *slow* 200MHz quad Pentium-Pro. I mention this because the IPI patches posted a couple weeks ago mention fixing fast CPUs... Also, "this never used to happen before." (instability started late August) -andyf