2004-03-29 18:16:55

by Justin Piszcz

[permalink] [raw]
Subject: Linux Kernel 2.6.4 - APIC Errors

Does anyone know what would cause these APIC errors?

# dmesg
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)
APIC error on CPU0: 40(40)

Linux l1 2.6.4 #1 Thu Mar 18 10:11:29 EST 2004 i686 unknown unknown
GNU/Linux
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.53GHz
stepping : 7
cpu MHz : 2546.123
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips : 5029.88

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0655
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
PCI-to-PCI
bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0963
(rev
04)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:07.0 Unknown mass storage controller: Promise Technology, Inc. 20269 (rev
02)
00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:08.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
07)
00:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03)
00:0f.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit
Ethernet (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4800
SE]
(rev a1)

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/


2004-03-30 11:11:59

by Justin Piszcz

[permalink] [raw]
Subject: Re: Linux Kernel 2.6.4 - APIC Errors

The motherboard has more than adequate cooling and is not touched and in a
proper cooled environment.

I do not recall seeing these in Kernel 2.6.3, although I am not 100%
certain.

Seriously, what would cause such APIC errors?


>From: Mark Gross <[email protected]>
>To: "Justin Piszcz" <[email protected]>
>Subject: Re: Linux Kernel 2.6.4 - APIC Errors
>Date: Mon, 29 Mar 2004 16:11:28 -0800
>
>On Monday 29 March 2004 10:16, Justin Piszcz wrote:
> > Does anyone know what would cause these APIC errors?
>
>Pepsi on your motherboard?
>
>--mgross
>
> >
> > # dmesg
> > APIC error on CPU0: 40(40)
> > APIC error on CPU0: 40(40)
> > APIC error on CPU0: 40(40)
> >
> > Linux l1 2.6.4 #1 Thu Mar 18 10:11:29 EST 2004 i686 unknown unknown
> > GNU/Linux
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 15
> > model : 2
> > model name : Intel(R) Pentium(R) 4 CPU 2.53GHz
> > stepping : 7
> > cpu MHz : 2546.123
> > cache size : 512 KB
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 2
> > wp : yes
> > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
>pat
> > pse36
> > clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
> > bogomips : 5029.88
> >
> > 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
>0655
> > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
> > PCI-to-PCI
> > bridge (AGP)
> > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
>0963
> > (rev
> > 04)
> > 00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
> > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
> > 00:07.0 Unknown mass storage controller: Promise Technology, Inc. 20269
> > (rev 02)
> > 00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
> > 07) 00:08.1 Input device controller: Creative Labs SB Live! MIDI/Game
>Port
> > (rev 07)
> > 00:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev
>03)
> > 00:0f.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702
>Gigabit
> > Ethernet (rev 02)
> > 01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti
> > 4800 SE]
> > (rev a1)
> >
> > _________________________________________________________________
> > Free up your inbox with MSN Hotmail Extra Storage. Multiple plans
> > available.
> >
>http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave
> >/direct/01/
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
>in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>

_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/

2004-03-30 18:43:40

by Mark Gross

[permalink] [raw]
Subject: Re: Linux Kernel 2.6.4 - APIC Errors

You stinker ;)

I replied to your email off list cuz I used to work with Al about 100 years ago in Utica NY.

I did trace the source of the kprint to the apic code. arch/i386/kernel/apic.c; smp_error_interrupt
0x40 is APIC error bit 6 "Illegal register addres" from the code comments.

The interrupt handler gets installed through some tricky BS code, see include/asm-i386/mach-arch/entry_arch.h using
a macro BUILD_INTERRUPT that insalls the error_interrupt by prefixing the "smp_" at compile time.

I'd say something strange is going on with some driver touching the APIC, but I'm no expert.

Can you reproduce it with 2.6.3 and the same .config used in your 2.6.4 version? (i.e both need to be running SMP or LOCAL_APIC kernels)

--mgross



On Tuesday 30 March 2004 03:11, Justin Piszcz wrote:
> The motherboard has more than adequate cooling and is not touched and in a
> proper cooled environment.
>
> I do not recall seeing these in Kernel 2.6.3, although I am not 100%
> certain.
>
> Seriously, what would cause such APIC errors?
>
>
> From: Mark Gross <[email protected]>
>
> >To: "Justin Piszcz" <[email protected]>
> >Subject: Re: Linux Kernel 2.6.4 - APIC Errors
> >Date: Mon, 29 Mar 2004 16:11:28 -0800
> >
> >On Monday 29 March 2004 10:16, Justin Piszcz wrote:
> > > Does anyone know what would cause these APIC errors?
> >
> >Pepsi on your motherboard?
> >
> >--mgross
> >
> > > # dmesg
> > > APIC error on CPU0: 40(40)
> > > APIC error on CPU0: 40(40)
> > > APIC error on CPU0: 40(40)
> > >
> > > Linux l1 2.6.4 #1 Thu Mar 18 10:11:29 EST 2004 i686 unknown unknown
> > > GNU/Linux
> > > processor : 0
> > > vendor_id : GenuineIntel
> > > cpu family : 15
> > > model : 2
> > > model name : Intel(R) Pentium(R) 4 CPU 2.53GHz
> > > stepping : 7
> > > cpu MHz : 2546.123
> > > cache size : 512 KB
> > > fdiv_bug : no
> > > hlt_bug : no
> > > f00f_bug : no
> > > coma_bug : no
> > > fpu : yes
> > > fpu_exception : yes
> > > cpuid level : 2
> > > wp : yes
> > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> >
> >pat
> >
> > > pse36
> > > clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
> > > bogomips : 5029.88
> > >
> > > 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
> >
> >0655
> >
> > > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
> > > PCI-to-PCI
> > > bridge (AGP)
> > > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
> >
> >0963
> >
> > > (rev
> > > 04)
> > > 00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
> > > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
> > > 00:07.0 Unknown mass storage controller: Promise Technology, Inc. 20269
> > > (rev 02)
> > > 00:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1
> > > (rev 07) 00:08.1 Input device controller: Creative Labs SB Live!
> > > MIDI/Game
> >
> >Port
> >
> > > (rev 07)
> > > 00:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev
> >
> >03)
> >
> > > 00:0f.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702
> >
> >Gigabit
> >
> > > Ethernet (rev 02)
> > > 01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti
> > > 4800 SE]
> > > (rev a1)
> > >
> > > _________________________________________________________________
> > > Free up your inbox with MSN Hotmail Extra Storage. Multiple plans
> > > available.
> >
> >http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362av
> >e
> >
> > >/direct/01/
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> >
> >in
> >
> > > the body of a message to [email protected]
> > > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > > Please read the FAQ at http://www.tux.org/lkml/
>
> _________________________________________________________________
> MSN Toolbar provides one-click access to Hotmail from any Web page FREE
> download! http://toolbar.msn.com/go/onm00200413ave/direct/01/

2004-03-30 18:47:13

by Mark Gross

[permalink] [raw]
Subject: Re: Linux Kernel 2.6.4 - APIC Errors

On Tuesday 30 March 2004 10:42, Mark Gross wrote:
> You stinker ;)
>
> I replied to your email off list cuz I used to work with Al about 100 years
> ago in Utica NY.
>
> I did trace the source of the kprint to the apic code.
> arch/i386/kernel/apic.c; smp_error_interrupt 0x40 is APIC error bit 6
> "Illegal register addres" from the code comments.
>
> The interrupt handler gets installed through some tricky BS code, see
> include/asm-i386/mach-arch/entry_arch.h using a macro BUILD_INTERRUPT that
> insalls the error_interrupt by prefixing the "smp_" at compile time.
>
> I'd say something strange is going on with some driver touching the APIC,
> but I'm no expert.

ummm, thats " 6: Received illegal vector " You have noise on your hardware.

--mgross

2004-03-31 10:51:17

by Maciej W. Rozycki

[permalink] [raw]
Subject: Re: Linux Kernel 2.6.4 - APIC Errors

On Mon, 29 Mar 2004, Justin Piszcz wrote:

> Does anyone know what would cause these APIC errors?
>
> # dmesg
> APIC error on CPU0: 40(40)
> APIC error on CPU0: 40(40)
> APIC error on CPU0: 40(40)

These (40) report an incorrect interrupt vector. Do you ever see any
other values reported? If not, then I'd suspect an APIC configuration
error. There are a few debug facilities in arch/i386/kernel/io_apic.c
that can be used to investigate that.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: [email protected], PGP key available +