[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-smp
Subject:    kernel: APIC error on CPU
From:       Lars Callenbach <larsc () leopold ! Physik ! Uni-Augsburg ! DE>
Date:       2000-10-05 20:04:42
[Download RAW message or body]

Hallo,

Iīm trying the 2.4-9 kernel and sometimes it crashes. I havenīt found any hint for \
the crashes but Iīve got messages like the following one in /var/log/messages:
> > > > > > 
Oct  5 19:34:01 localhost kernel: APIC error on CPU1: 00(02)
Oct  5 19:34:01 localhost kernel: APIC error on CPU0: 00(02)
Oct  5 19:58:15 localhost -- MARK --
Oct  5 20:10:54 localhost kernel: APIC error on CPU1: 02(02)
Oct  5 20:10:54 localhost kernel: APIC error on CPU0: 02(02) ...    
<<<<<<
In the file arch/i386/kernel/apic.c there is a remark that this messages should never \
appear. You can see that there is more than half an hour between the two messages for \
                both cpus. What does this error message mean and is this a big  \
                problem?
/proc/interrupts looks as follows:
> > > > > > 
           CPU0       CPU1
  0:     496180     526506    IO-APIC-edge  timer
  1:      16188      19325    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  5:          0          1    IO-APIC-edge  soundblaster
  7:          0          1    IO-APIC-edge  parport1
  8:          0          2    IO-APIC-edge  rtc
 12:      60080      65464    IO-APIC-edge  PS/2 Mouse
 13:          0          0          XT-PIC  fpu
 16:     193771     195423   IO-APIC-level  aic7xxx, aic7xxx
 17:      49323      49241   IO-APIC-level  aic7xxx
NMI:    1022611    1022611
LOC:    1022530    1022529
ERR:          6  
<<<<<<        
At boot time there are the following messages (long list for APIC):
> > > > > > 
 ID 2, APIC INT 08
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 09, APIC ID 2, APIC INT 09
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0a, APIC ID 2, APIC INT 0a
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0b, APIC ID 2, APIC INT 0b
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0c, APIC ID 2, APIC INT 0c
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0d, APIC ID 2, APIC INT 0d
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0e, APIC ID 2, APIC INT 0e
<4>Int: type 0, pol 0, trig 0, bus 2, IRQ 0f, APIC ID 2, APIC INT 0f
<4>Int: type 0, pol 3, trig 3, bus 0, IRQ 1c, APIC ID 2, APIC INT 13
<4>Int: type 0, pol 3, trig 3, bus 0, IRQ 24, APIC ID 2, APIC INT 11
<4>Int: type 0, pol 3, trig 3, bus 0, IRQ 2c, APIC ID 2, APIC INT 13
<4>Int: type 0, pol 3, trig 3, bus 0, IRQ 30, APIC ID 2, APIC INT 10
<4>Int: type 0, pol 3, trig 3, bus 0, IRQ 31, APIC ID 2, APIC INT 10
<4>Int: type 2, pol 3, trig 1, bus 2, IRQ 00, APIC ID 2, APIC INT 17
<4>Lint: type 3, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 00
<4>Lint: type 1, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 01
<4>Processors: 2
<4>mapped APIC to ffffe000 (fee00000)
<4>mapped IOAPIC to ffffd000 (fec00000)
<4>Kernel command line: BOOT_IMAGE=linus ro root=900
<4>Initializing CPU#0
<4>Detected 795.910 MHz processor.
<4>Console: colour VGA+ 80x25
<4>Calibrating delay loop... 1589.25 BogoMIPS
<4>Memory: 383968k/393152k available (1582k kernel code, 8796k reserved, 100k data, \
180k init, 0k highmem) <4>Dentry-cache hash table entries: 65536 (order: 7, 524288 \
bytes) <4>Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
<4>Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
<4>Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
<6>Enabling fast FPU save and restore... done.
<6>Enabling unmasked SIMD FPU exception support... done.
<6>Checking 'hlt' instruction... OK.
<4>POSIX conformance testing by UNIFIX
<4>mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
<4>CPU0: Intel Pentium III (Coppermine) stepping 03
<4>per-CPU timeslice cutoff: 732.02 usecs.
<4>Getting VERSION: 40011
<4>Getting VERSION: 40011
<4>Getting ID: 0
<4>Getting ID: f000000
<4>Getting LVT0: 700
<4>Getting LVT1: 400
<4>enabled ExtINT on CPU#0
<4>ESR value before enabling vector: 00000000
<4>ESR value after enabling vector: 00000000
<4>CPU present map: 3
<4>Booting processor 1/1 eip 2000
<4>Setting warm reset code and vector.
<4>1.
<4>2.
<4>3.
<4>Asserting INIT.
<4>Waiting for send to finish...
<4>+Deasserting INIT.
<4>Waiting for send to finish...
<4>+#startup loops: 2.
<4>Sending STARTUP #1.
<4>After apic_write.
<4>Startup point 1.
<4>Waiting for send to finish...
<4>+Initializing CPU#1
<4>CPU#1 (phys ID: 1) waiting for CALLOUT
<4>Sending STARTUP #2.
<4>After apic_write.
<4>Startup point 1.
<4>Waiting for send to finish...
<4>+After Startup.
<4>Before Callout 1.
<4>After Callout 1.
<4>CALLIN, before setup_local_APIC().
<4>masked ExtINT on CPU#1
<4>ESR value before enabling vector: 00000000
<4>ESR value after enabling vector: 00000000
<4>Calibrating delay loop... 1589.25 BogoMIPS
<4>Stack at about d7fedfbc
<4>OK.
<4>CPU1: Intel Pentium III (Coppermine) stepping 03
<4>CPU has booted.
<4>Before bogomips.
<6>Total of 2 processors activated (3178.50 BogoMIPS).
<4>Before bogocount - setting activated=1.
<4>Boot done.
<4>ENABLING IO-APIC IRQs
<6>...changing IO-APIC physical APIC ID to 2 ... ok.
<4>Synchronizing Arb IDs.
<7>init IO_APIC IRQs
<7> IO-APIC (apicid-pin) 2-0, 2-18, 2-20, 2-21, 2-22, 2-23 not connected.
<6>..TIMER: vector=49 pin1=2 pin2=0
<6>activating NMI Watchdog ... done.
<7>number of MP IRQ sources: 22.
<7>number of IO-APIC #2 registers: 24.
<6>testing the IO APIC.......................
<4>
<7>IO APIC #2......
<7>.... register #00: 02000000
<7>.......    : physical APIC id: 02
<7>.... register #01: 00170011
<7>.......     : max redirection entries: 0017
<7>.......     : IO APIC version: 0011
<7>.... register #02: 00000000
<7>.......     : arbitration: 00
<7>.... IRQ redirection table:
<7> NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
<7> 00 000 00  1    0    0   0   0    0    0    00
<7> 01 003 03  0    0    0   0   0    1    1    39
<7> 02 003 03  0    0    0   0   0    1    1    31
<7> 03 003 03  0    0    0   0   0    1    1    41
<7> 04 003 03  0    0    0   0   0    1    1    49
<7> 05 003 03  0    0    0   0   0    1    1    51
<7> 06 003 03  0    0    0   0   0    1    1    59
<7> 07 003 03  0    0    0   0   0    1    1    61
<7> 08 003 03  0    0    0   0   0    1    1    69
<7> 09 003 03  0    0    0   0   0    1    1    71
<7> 0a 003 03  0    0    0   0   0    1    1    79
<7> 0b 003 03  0    0    0   0   0    1    1    81
<7> 0c 003 03  0    0    0   0   0    1    1    89
<7> 0d 000 00  1    0    0   0   0    0    0    00
<7> 0e 003 03  0    0    0   0   0    1    1    91
<7> 0f 003 03  0    0    0   0   0    1    1    99
<7> 10 003 03  1    1    0   1   0    1    1    A1
<7> 11 003 03  1    1    0   1   0    1    1    A9
<7> 12 000 00  1    0    0   0   0    0    0    00
<7> 13 003 03  1    1    0   1   0    1    1    B1
<7> 14 000 00  1    0    0   0   0    0    0    00
<7> 15 000 00  1    0    0   0   0    0    0    00
<7> 16 000 00  1    0    0   0   0    0    0    00
<7> 17 000 00  1    0    0   0   0    0    0    00
<7>IRQ to pin mappings:
<7>IRQ0 -> 2
<7>IRQ1 -> 1
<7>IRQ3 -> 3
<7>IRQ4 -> 4
<7>IRQ5 -> 5
<7>IRQ6 -> 6
<7>IRQ7 -> 7
<7>IRQ8 -> 8
<7>IRQ9 -> 9
<7>IRQ10 -> 10
<7>IRQ11 -> 11
<7>IRQ12 -> 12
<7>IRQ13 -> 13
<7>IRQ14 -> 14
<7>IRQ15 -> 15
<7>IRQ16 -> 16
<7>IRQ17 -> 17
<7>IRQ19 -> 19
<6>.................................... done.
<4>calibrating APIC timer ...
<4>..... CPU clock speed is 795.9622 MHz.
<4>..... host bus clock speed is 99.4950 MHz.
<4>cpu: 0, clocks: 994950, slice: 331650
<4>CPU0<T0:994944,T1:663280,D:14,S:331650,C:994950>
<4>cpu: 1, clocks: 994950, slice: 331650
<4>CPU1<T0:994944,T1:331632,D:12,S:331650,C:994950>
<4>checking TSC synchronization across CPUs: passed.
<4>Setting commenced=1, go go go
<4>mtrr: your CPUs had inconsistent fixed MTRR settings
<4>mtrr: probably your BIOS does not setup all CPUs
<4>PCI: PCI BIOS revision 2.10 entry at 0xfb290, last bus=1
<4>PCI: Using configuration type 1
<4>PCI: Probing PCI hardware
<4>PCI: Using IRQ router PIIX [8086/7000] at 00:07.0
<4>PCI->APIC IRQ transform: (B0,I7,P3) -> 19
<4>PCI->APIC IRQ transform: (B0,I9,P0) -> 17
<4>PCI->APIC IRQ transform: (B0,I11,P0) -> 19
<4>PCI->APIC IRQ transform: (B0,I12,P0) -> 16
<4>PCI->APIC IRQ transform: (B0,I12,P1) -> 16
<<<<<<<

Perhaps someone can help.

Lars

-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo@vger.kernel.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic