Re: APIC support prevents power off

From: Roger Luethi (rl@hellgate.ch)
Date: Mon Jul 21 2003 - 04:54:14 EST


On Mon, 21 Jul 2003 03:13:52 +0200, Mikael Pettersson wrote:
> On Sun, 20 Jul 2003 16:36:13 +0200, Roger Luethi wrote:
> >On some UP boards (e.g. ASUS A7A266) enabling support for local APICs keeps
> >the machine from powering off on shutdown. It will just hang instead.
> >
> >This has been observed by others before [1]. A warning in the respective
> >configuration note seems in order (or a proper fix if anybody has one).
>
> Insufficient data to draw anti-local-APIC conclusions.
> - ensure you have the latest BIOS

I tend not to touch the BIOS unless I have reason to believe an update will
fix an actual problem.

> - if you're using APM, ensure that CPU_IDLE and DISPLAY_BLANK are
> disabled, and that APM isn't built as a module
> (these things are known to cause APM hangs in UP APIC systems)
> - if you're using ACPI, try without ACPI, or at least with ACPI not
> doing any power management

Your suggestions match my current configuration:

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y

#
# ACPI Support
#
# CONFIG_ACPI is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

> A very general "may break some BIOSen" warning could be in order.

Mentioning specific symptoms (like breaking power off) wouldn't hurt,
either.

Roger
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:42 EST