2002-02-11 16:31:38

by Kristian Peters

[permalink] [raw]
Subject: APIC error on CPU0

Hello.

Since I converted one box to Debian 3.0 I'm getting strange errors related to APM.
When I push the power button (or do "apm -s") the box suspends normally. But it comes back almost immediately with this error:

APIC error on CPU0: 00(40)

I grepped the kernel source and found that "40" means reserved APIC error. What does that mean exactly ? BTW: I enabled "local APIC on uniprocessors" but this behaviour also appears without enabling that option.

Strangely this error won't appear with Redhat 7.2 and earlier versions. (I've never had any problems.)

$ dmesg:

Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Kernel command line: auto BOOT_IMAGE=linux ro root=305 console=ttyS0,57600n8,vt1
02 console=tty0
Initializing CPU#0
Detected 349.187 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 696.32 BogoMIPS
Memory: 61808k/65536k available (1354k kernel code, 3340k reserved, 480k data, 2
32k init, 0k highmem)
[...]

$ lspci:

00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 02)
00:0e.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
00:0f.0 Token ring network controller: IBM 16/4 Token ring UTP/STP controller (rev 05)
00:14.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:14.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:14.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:14.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 01)

BTW: I already tried the specified list for apmd but it seems to be down since years..

*Kristian

:... [snd.science] ...:
::
:: http://www.korseby.net
:: http://gsmp.sf.net
:.........................:: ~/$ [email protected] :


2002-02-11 17:01:41

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: APIC error on CPU0

On Mon, 11 Feb 2002, Kristian wrote:

> Hello.
>
> Since I converted one box to Debian 3.0 I'm getting strange errors related to APM.
> When I push the power button (or do "apm -s") the box suspends normally. But it comes back almost immediately with this error:
>
> APIC error on CPU0: 00(40)
>
> I grepped the kernel source and found that "40" means reserved APIC error. What does that mean exactly ? BTW: I enabled "local APIC on uniprocessors" but this behaviour also appears without enabling that option.
>
> Strangely this error won't appear with Redhat 7.2 and earlier versions. (I've never had any problems.)

Mikael Pettersson submitted a patch which fixed that for me, its
definately in 2.4 mainline. Which kernel is in Debian 3.0?

Regards,
Zwane Mwaikambo


2002-02-11 17:31:16

by Kristian Peters

[permalink] [raw]
Subject: Re: APIC error on CPU0

Zwane Mwaikambo <[email protected]> wrote:
>
> Mikael Pettersson submitted a patch which fixed that for me, its
> definately in 2.4 mainline. Which kernel is in Debian 3.0?
>

apm is disabled per default on Debian's default kernel config. I compiled 2.4.17 myself which is running now.

*Kristian

:... [snd.science] ...:
::
:: http://www.korseby.net
:: http://gsmp.sf.net
:.........................:: ~/$ [email protected] :

2002-02-11 19:14:09

by Kristian Peters

[permalink] [raw]
Subject: Re: APIC error on CPU0

Zwane Mwaikambo <[email protected]> wrote:
>
> Mikael Pettersson submitted a patch which fixed that for me, its
> definately in 2.4 mainline. Which kernel is in Debian 3.0?

Hm... That's strange. When I disable serial console on ttyS0 (in inittab) linux will suspend correctly. Although this APIC error on CPU0: 00(40) appears though. Also my one and only fan in my power supply spins down completely. So the box will get quite hot after some minutes in standby mode... Maybe a hardware problem...

Thanks anyway. ;-)

*Kristian

:... [snd.science] ...:
::
:: http://www.korseby.net
:: http://gsmp.sf.net
:.........................:: ~/$ [email protected] :