From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 15:07:07 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE7B5F0A; Wed, 4 Jun 2014 15:07:07 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A96652C9F; Wed, 4 Jun 2014 15:07:07 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 1A9B4B989; Wed, 4 Jun 2014 11:07:05 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: "CPU0: local APIC error 0x40" Date: Wed, 4 Jun 2014 10:36:37 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201406041036.37413.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 04 Jun 2014 11:07:05 -0400 (EDT) Cc: Edward Tomasz =?utf-8?q?Napiera=C5=82a?= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Wed, 04 Jun 2014 15:07:07 -0000 On Monday, June 02, 2014 5:32:13 pm Edward Tomasz Napiera=C5=82a wrote: > Some machines, including ThinkPad T61, emit the following error message > early during boot: >=20 > CPU0: local APIC error 0x40 >=20 > The message itself doesn't seem to be much of a problem. However, > every once in a while booting hangs just before that line. I've tracked > that down to call to AcpiHwWritePort() at > sys/contrib/dev/acpica/components/hardware/hwacpi.c:117: >=20 > switch (Mode) > { > case ACPI_SYS_MODE_ACPI: >=20 > /* BIOS should have disabled ALL fixed and GP events */ >=20 > Status =3D AcpiHwWritePort (AcpiGbl_FADT.SmiCommand, > (UINT32) AcpiGbl_FADT.AcpiEnable, 8); >=20 > Any idea what might be going on? This is probably triggering an SMI# to enter SMM mode where your BIOS does= =20 God-knows-what but apparently triggers one of the local APIC local interrup= ts=20 while it is configured with an invalid vector (e.g. 0). =2D-=20 John Baldwin