It is currently Sat, 24 Oct 2020 17:14:13 GMT



 
Author Message
 interrupt/IO-APIC problems...
I'm finding an issue with my Shuttle SS51g SiS651 chipset system where
the IO-APIC is being misprogrammed so no interrupts are received by
the network card [1], as shown repeatedly in the logs [2].

Kernel is 2.4.20-ac1, but this happens on 2.4.20 stock and all 2.4.19
(possibly even 2.4.18). The only thing that looks telling in the boot
logs is the 'APIC error on CPU0: 00(40)' message.

Full boot logs are included [3] and 'lspci -v' output too [4].

Any ideas? This is a recent(ish) motherboard, but many users are
experiencing the same issue, so I thought I should raise it,

Please cc me, and I can provide and further information/testing!

Thanks!
  Daniel

--- 1

# cat /proc/interrupts
           CPU0
  0:       3790    IO-APIC-edge  timer
  2:          0          XT-PIC  cascade
  4:        395    IO-APIC-edge  serial
  9:          0          XT-PIC  acpi
 14:       2441    IO-APIC-edge  ide0
 17:          0   IO-APIC-level  CnxAdsl
 18:          0   IO-APIC-level  eth0
NMI:          0
LOC:       3734
ERR:          1
MIS:          0

--- 2

NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 00002000. (queue head)
eth0:  Tx descriptor 1 is 00002000.
eth0:  Tx descriptor 2 is 00002000.
eth0:  Tx descriptor 3 is 00002000.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner
ability 45e1

--- 3

Linux version 2.4.20-ac1 (root@quorum) (gcc version 2.95.3 20010315
(release)) #1 Tue Dec 3 23
:09:11 GMT 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fbf0000 (usable)
 BIOS-e820: 000000001fbf0000 - 000000001fbf3000 (ACPI NVS)
 BIOS-e820: 000000001fbf3000 - 000000001fc00000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
507MB LOWMEM available.
found SMP MP-table at 000f5600
hm, page 000f5000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 130032
zone(0): 4096 pages.
zone(1): 125936 pages.
zone(2): 0 pages.
ACPI: Searched entire block, no RSDP was found.
ACPI: RSDP located at physical address c00f7050
RSD PTR  v0 [AWARD ]
__va_range(0x1fbf3000, 0x68): idx=8 mapped at ffff6000
ACPI table found: RSDT v1 [AWARD  AWRDACPI 16944.11825]
__va_range(0x1fbf3040, 0x24): idx=8 mapped at ffff6000
__va_range(0x1fbf3040, 0x74): idx=8 mapped at ffff6000
ACPI table found: FACP v1 [AWARD  AWRDACPI 16944.11825]
__va_range(0x1fbf6740, 0x24): idx=8 mapped at ffff6000
__va_range(0x1fbf6740, 0x54): idx=8 mapped at ffff6000
ACPI table found: APIC v1 [AWARD  AWRDACPI 16944.11825]
__va_range(0x1fbf6740, 0x54): idx=8 mapped at ffff6000
LAPIC (acpi_id[0x0000] id[0x0] enabled[1])
CPU 0 (0x0000) enabledProcessor #0 Pentium 4(tm) XEON(tm) APIC version
16

IOAPIC (id[0x2] address[0xfec00000] global_irq_base[0x0])
INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0]
trigger[0x0])
INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x0]
trigger[0x0])
1 CPUs total
Local APIC address fee00000
Enabling the CPU's according to the ACPI table
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 1
Kernel command line: root=/dev/hda2 console=ttyS0,115200
Initializing CPU#0
Detected 1603.649 MHz processor.
Calibrating delay loop... 3198.15 BogoMIPS
Memory: 509052k/520128k available (1095k kernel code, 8516k reserved,
317k data, 236k init, 0k
 highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=63903 max_file_pages=0 max_inodes=0
max_dentries=63903
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
 IO-APIC (apicid-pin) 2-0, 2-3, 2-7, 2-9, 2-10, 2-11, 2-12, 2-15, 2-23
not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 19.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00178014
.......     : max redirection entries: 0017
.......     : PRQ implemented: 1
.......     : IO APIC version: 0014
An unexpected IO-APIC was found. If this kernel release is less than
three months old please report this to linux-...@vger.kernel.org
.... register #02: 02000000
.......     : arbitration: 02
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 000 00  1    0    0   0   0    0    0    00
 01 001 01  0    0    0   0   0    1    1    39
 02 001 01  0    0    0   0   0    1    1    31
 03 000 00  1    0    0   0   0    0    0    00
 04 001 01  0    0    0   0   0    1    1    41
 05 001 01  0    0    0   0   0    1    1    49
 06 001 01  0    0    0   0   0    1    1    51
 07 000 00  1    0    0   0   0    0    0    00
 08 001 01  0    0    0   0   0    1    1    59
 09 000 00  1    0    0   0   0    0    0    00
 0a 000 00  1    0    0   0   0    0    0    00
 0b 000 00  1    0    0   0   0    0    0    00
 0c 000 00  1    0    0   0   0    0    0    00
 0d 001 01  0    0    0   0   0    1    1    61
 0e 001 01  0    0    0   0   0    1    1    69
 0f 000 00  1    0    0   0   0    0    0    00
 10 001 01  1    1    0   1   0    1    1    71
 11 001 01  1    1    0   1   0    1    1    79
 12 001 01  1    1    0   1   0    1    1    81
 13 001 01  1    1    0   1   0    1    1    89
 14 001 01  1    1    0   1   0    1    1    91
 15 001 01  1    1    0   1   0    1    1    99
 16 001 01  1    1    0   1   0    1    1    A1
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ8 -> 0:8
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1603.6327 MHz.
..... host bus clock speed is 100.2268 MHz.
cpu: 0, clocks: 1002268, slice: 501134
CPU0<T0:1002256,T1:501120,D:2,S:501134,C:1002268>
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router SIS [1039/0008] at 00:02.0
PCI->APIC IRQ transform: (B0,I2,P0) -> 16
PCI->APIC IRQ transform: (B0,I3,P0) -> 20
PCI->APIC IRQ transform: (B0,I3,P1) -> 21
PCI->APIC IRQ transform: (B0,I3,P2) -> 22
PCI->APIC IRQ transform: (B0,I10,P0) -> 17
PCI->APIC IRQ transform: (B0,I10,P0) -> 17
PCI->APIC IRQ transform: (B0,I15,P0) -> 18
PCI->APIC IRQ transform: (B0,I16,P0) -> 19
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgo...@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
ACPI: System firmware supports S0 S1 S4 S5
Processor[0]: C0 C1 C2 C3
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xe080d000, 00:30:1b:ab:79:7c,
IRQ 18
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SiS651    ATA 133 controller
    ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:pio
hda: ST380021A, ATA DISK drive
hda: DMA disabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: host protected area => 1
hda: 156312576 sectors (80032 MB) w/2048KiB Cache, CHS=9730/255/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (4063 buckets, 32504 max) - 292 bytes per
conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 236k freed
Adding Swap: 1052216k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
eth0: Setting 100mbps full-duplex ...

read more »



 Wed, 25 May 2005 14:04:16 GMT   
 interrupt/IO-APIC problems...
Just tried booting with IO-APIC support enabled, but with the BIOS set
to deliver MPS 1.1 tables (rather than MPS 1.4) - no difference!

Has anyone experienced this before? Any feedback would be really
appreciated...

Best wishes,
  Daniel

---
...

read more »



 Thu, 26 May 2005 13:14:28 GMT   
 interrupt/IO-APIC problems...
...

read more »



 Sun, 12 Jun 2005 15:27:09 GMT   
 interrupt/IO-APIC problems...
At boot line : i try the noapic option and it works :
type at "boot: linux noapic"

if it works, you can add it to the lilo 'append' configuration.

Fran?ois.
...

read more »



 Sun, 12 Jun 2005 16:55:12 GMT   
 
   [ 4 post ] 

Similar Threads

1. IO-APIC says: unexpected IO-APIC was found

2. i810 I/O APIC (was Sticky IO-APIC problem)

3. New: ACPI interrupt storm when ACPI operates in IO-APIC-level mode

4. IO-APIC on SiS P4 messes interrupts

5. Debian (Woody) IO-APIC problem?

6. apic-io irq transform problem........

7. sis735 io-apic ide1 problem

8. CUV4X-D, io-apic problem (VIA chipset)

9. Problem with 2.4.21-pre5 &kt-400&IO-APIC

10. IO APIC + ACPI Problems.


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software