public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Local APIC bug?
@ 2004-01-05 22:00 Mikael Pettersson
  2004-01-05 22:17 ` Michael Schierl
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Pettersson @ 2004-01-05 22:00 UTC (permalink / raw)
  To: arjanv, schierlm; +Cc: linux-kernel

On Sun, 28 Dec 2003 21:07:28 +0100, Michael Schierl wrote:
>>> However, I'd appreciate if someone had any idea why the kernel crashes
>>> when trying to resume. Deadlocks...?
>>
>>most bioses on laptops that I have seen don't actually restore the apic
>>state on resume (since they don't expect the apic to be used at all)
>>which results in entirely horked irq's on resume -> kernel crashes.

Our local APIC PM code saves the local APIC state and disables it
before suspend, and restores it and reenables the local APIC after
resume.

>Thanks. However, my laptop crashes on *suspend* when APIC is on and on
>*resume* when APIC is off...
>
>And on -test3 it did not crash. 
>
>jftr: on 2.4.x it crashed on resume as well. Someone trying to prevent
>me to use stable kernels on my laptop? ;-(

Do you use APM? How do you suspend? With "apm --suspend" or by e.g.
closing the lid? In the latter case, does your APM BIOS post the
suspend event to us before actually suspending?

An APM BIOS that crashes in SMM code before posting the suspend event,
or that skips posting the event altogether, probably won't work with
an enabled local APIC. Not much we can do about that.

/Mikael

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <17ss4-23P-3@gated-at.bofh.it>]

end of thread, other threads:[~2004-01-05 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-05 22:00 Local APIC bug? Mikael Pettersson
2004-01-05 22:17 ` Michael Schierl
     [not found] <17ss4-23P-3@gated-at.bofh.it>
     [not found] ` <17ss4-23P-5@gated-at.bofh.it>
     [not found]   ` <17ss5-23P-7@gated-at.bofh.it>
     [not found]     ` <17ss5-23P-9@gated-at.bofh.it>
     [not found]       ` <17ss5-23P-11@gated-at.bofh.it>
     [not found]         ` <17ss4-23P-1@gated-at.bofh.it>
     [not found]           ` <17sLs-2sN-1@gated-at.bofh.it>
2003-12-28 20:07             ` Michael Schierl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox