From owner-freebsd-stable@FreeBSD.ORG Wed Mar 2 12:56:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369F71065674 for ; Wed, 2 Mar 2011 12:56:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5748FC1A for ; Wed, 2 Mar 2011 12:56:47 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B385746B94; Wed, 2 Mar 2011 07:56:46 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5677C8A02B; Wed, 2 Mar 2011 07:56:46 -0500 (EST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 2 Mar 2011 07:55:53 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <4D6DA259.4050307@sentex.net> <20110302020412.GA50962@icarus.home.lan> <4D6DAC5A.6080904@sentex.net> In-Reply-To: <4D6DAC5A.6080904@sentex.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201103020755.54147.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 02 Mar 2011 07:56:46 -0500 (EST) Cc: Jeremy Chadwick Subject: Re: CPU0: local APIC error 0x40 CPU1: local APIC error 0x40 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 12:56:47 -0000 On Tuesday, March 01, 2011 9:32:58 pm Mike Tancsa wrote: > On 3/1/2011 9:04 PM, Jeremy Chadwick wrote: > > On Tue, Mar 01, 2011 at 08:50:17PM -0500, Mike Tancsa wrote: > >> I had a machine deadlock just now and the only thing on the serial > >> console was > >> > >> CPU0: local APIC error 0x40 > >> CPU1: local APIC error 0x40 > > > > The error in question I'm not familiar with, but the code in > > src/sys/x86/x86/local_apic.c indicates that 0x40 is the contents of the > > LAPIC ESR (error status register). > > > > Please provide full output from a verbose boot. > > > Attached as a .txt file Hmm, the interrupt pins on the each lapic look fine (they all either have a legal vector, are using NMI delivery, or are masked). All of the places that send IPIs have the interrupt vectors hard-coded as constant values in the code. Unfortunately there is no register that tells us which illegal vector was posted. Were you doing anything related to changing the state of device interrupts (cpuset -x, kldload, kldunload, etc.) when this happened? -- John Baldwin