Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 10:36:37 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Edward Tomasz =?utf-8?q?Napiera=C5=82a?= <trasz@freebsd.org>
Subject:   Re: "CPU0: local APIC error 0x40"
Message-ID:  <201406041036.37413.jhb@freebsd.org>
In-Reply-To: <D0664455-A1D7-4886-A32F-B004CAD92630@FreeBSD.org>
References:  <D0664455-A1D7-4886-A32F-B004CAD92630@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406041036.37413.jhb>