public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* APIC Error when doing apic_pm_suspend
@ 2001-12-05  9:33 Zwane Mwaikambo
  2001-12-05 10:09 ` Arjan van de Ven
  2001-12-05 17:16 ` Mikael Pettersson
  0 siblings, 2 replies; 5+ messages in thread
From: Zwane Mwaikambo @ 2001-12-05  9:33 UTC (permalink / raw)
  To: Linux Kernel

I get an APIC error 0x40 when resuming from an apm -s. If i'm correct
that would be an illegal register access wouldn't it? I tried putting
enter/exit printks in the apic_pm_resume/suspend functions and it showed
that both returned before the APIC error printk. Is there anyway of finding out
which register access it was? I "thought" it would be one of the
apic_writes in the pm functions but looks like i might be wrong.

The kernel is compiled with local APIC and gets detected and enabled on
boot (UP machine).

Thanks,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: APIC Error when doing apic_pm_suspend
  2001-12-05  9:33 APIC Error when doing apic_pm_suspend Zwane Mwaikambo
@ 2001-12-05 10:09 ` Arjan van de Ven
  2001-12-05 12:57   ` Zwane Mwaikambo
  2001-12-05 17:16 ` Mikael Pettersson
  1 sibling, 1 reply; 5+ messages in thread
From: Arjan van de Ven @ 2001-12-05 10:09 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: linux-kernel

Zwane Mwaikambo wrote:
> 
> I get an APIC error 0x40 when resuming from an apm -s. If i'm correct
> that would be an illegal register access wouldn't it? I tried putting
> enter/exit printks in the apic_pm_resume/suspend functions and it showed
> that both returned before the APIC error printk. Is there anyway of finding out
> which register access it was? I "thought" it would be one of the
> apic_writes in the pm functions but looks like i might be wrong.
> 
> The kernel is compiled with local APIC and gets detected and enabled on
> boot (UP machine).

Just about all bioses that support suspend do not have the knowledge
that an
operating system would use apics, since windows95 doesn't do that. The
fact
that it appears to mostly work for you is RARE. You're very very lucky
with
an almost not broken bios..... UP APIC and Suspend are usually very
exclusive.
(well, actually, the suspend often works, it's the resume that hurts)

Greetings,
   Arjan van de Ven

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: APIC Error when doing apic_pm_suspend
  2001-12-05 10:09 ` Arjan van de Ven
@ 2001-12-05 12:57   ` Zwane Mwaikambo
  0 siblings, 0 replies; 5+ messages in thread
From: Zwane Mwaikambo @ 2001-12-05 12:57 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: linux-kernel

On Wed, 5 Dec 2001, Arjan van de Ven wrote:
> Just about all bioses that support suspend do not have the knowledge
> that an
> operating system would use apics, since windows95 doesn't do that. The
> fact
> that it appears to mostly work for you is RARE. You're very very lucky
> with
> an almost not broken bios..... UP APIC and Suspend are usually very
> exclusive.
> (well, actually, the suspend often works, it's the resume that hurts)

Hmm that puts things in a different light... don't you just the love PC
compatible ;)

Thanks,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: APIC Error when doing apic_pm_suspend
  2001-12-05  9:33 APIC Error when doing apic_pm_suspend Zwane Mwaikambo
  2001-12-05 10:09 ` Arjan van de Ven
@ 2001-12-05 17:16 ` Mikael Pettersson
  2001-12-06 10:54   ` Zwane Mwaikambo
  1 sibling, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2001-12-05 17:16 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel

Zwane Mwaikambo writes:
 > I get an APIC error 0x40 when resuming from an apm -s. If i'm correct
 > that would be an illegal register access wouldn't it? I tried putting
 > enter/exit printks in the apic_pm_resume/suspend functions and it showed
 > that both returned before the APIC error printk. Is there anyway of finding out
 > which register access it was? I "thought" it would be one of the
 > apic_writes in the pm functions but looks like i might be wrong.
 > 
 > The kernel is compiled with local APIC and gets detected and enabled on
 > boot (UP machine).

No, 0x40 is an illegal vector error. It's a (semi-) known quirk in the P6 family
of processors that you get this error when writing a null vector to any of the
LVT entries, even if you are also setting the mask bit at the same time.
Both the clear_local_APIC() call at PM suspend and the reinitialisation at PM
resume can trigger this.

The "error" is mostly harmless. Ignore it for now, I'll do a patch to silence it later.

/Mikael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: APIC Error when doing apic_pm_suspend
  2001-12-05 17:16 ` Mikael Pettersson
@ 2001-12-06 10:54   ` Zwane Mwaikambo
  0 siblings, 0 replies; 5+ messages in thread
From: Zwane Mwaikambo @ 2001-12-06 10:54 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: Linux Kernel

On Wed, 5 Dec 2001, Mikael Pettersson wrote:

> No, 0x40 is an illegal vector error. It's a (semi-) known quirk in the P6 family
> of processors that you get this error when writing a null vector to any of the
> LVT entries, even if you are also setting the mask bit at the same time.
> Both the clear_local_APIC() call at PM suspend and the reinitialisation at PM
> resume can trigger this.
>
> The "error" is mostly harmless. Ignore it for now, I'll do a patch to silence it later.

Could you please CC me the patch.

Thanks,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-06 10:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05  9:33 APIC Error when doing apic_pm_suspend Zwane Mwaikambo
2001-12-05 10:09 ` Arjan van de Ven
2001-12-05 12:57   ` Zwane Mwaikambo
2001-12-05 17:16 ` Mikael Pettersson
2001-12-06 10:54   ` Zwane Mwaikambo

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