linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@csd.uu.se>
To: rl@hellgate.ch
Cc: linux-kernel@vger.kernel.org, mingo@redhat.com
Subject: Re: APIC support prevents power off
Date: Tue, 22 Jul 2003 10:35:36 +0200 (MEST)	[thread overview]
Message-ID: <200307220835.h6M8Zaqd024427@harpo.it.uu.se> (raw)

On Mon, 21 Jul 2003 11:54:14 +0200, Roger Luethi wrote:
>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.

Powering off invokes the BIOS. BIOSen are known to have bugs.
You really should check if a BIOS update is available.

>> - 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:

Your APM/ACPI config seems Ok, but what does CONFIG_SMP look like?
Enabling SMP disables APM's power off code, unless one boots with
apm=power-off.

Did your kernel have to actually enable the local APIC, or did
the BIOS boot us with it already enabled? Please send me a dmesg
from a boot with local APIC support enabled.

I can't seem to find any place where we disable the local APIC
on shutdown; reboot seems Ok but not poweroff (as far as I can see).
I think this might explain why some BIOSen hang at poweroff.

/Mikael

             reply	other threads:[~2003-07-22  8:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-22  8:35 Mikael Pettersson [this message]
2003-07-22 11:45 ` Mark McClelland
2003-07-22 23:28 ` Roger Luethi
  -- strict thread matches above, loose matches on Subject: below --
2003-07-21  1:13 Mikael Pettersson
2003-07-21  9:54 ` Roger Luethi
2003-07-21 10:16   ` William Gallafent
2003-07-20 14:36 Roger Luethi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307220835.h6M8Zaqd024427@harpo.it.uu.se \
    --to=mikpe@csd.uu.se \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rl@hellgate.ch \
    --subject='Re: APIC support prevents power off' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).