Re: IO-APIC and 2.1.123/2.1.124pre1

Eastep, Tom (eastep@loc1.tandem.com)
Thu, 01 Oct 1998 09:16:47 -0700


Mike Black wrote:
>
> The patch below worked for me too on 2.1.123. I guess the logic in ISA_ELCR
> is not properly detecting this.
> My hardware is Acer Altos/7000p Dual PPro 133 (EISA/PCI motherboard).
> Is there anyway I can get the following to run so we can debug this (the
> inb() SIGSEGs on me)?

At least in my case, ISA_ELCR() is returning 1 for my PCI cards. I hacked smp.c
so I could see what the event sources look like and got the following during
bootup:

Sep 30 18:39:46 hozomeen kernel: Bus #1 is ISA
Sep 30 18:39:46 hozomeen kernel: Bus #0 is PCI
Sep 30 18:39:46 hozomeen kernel: I/O APIC #16 Version 17 at 0xFEC00000.
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 1, dstapic: 255, dstirq: 1
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 0, dstapic: 255, dstirq: 2
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 3, dstapic: 255, dstirq: 3
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 4, dstapic: 255, dstirq: 4
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 5, dstapic: 255, dstirq: 5
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 6, dstapic: 255, dstirq: 6
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 7, dstapic: 255, dstirq: 7
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 8, dstapic: 255, dstirq: 8
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 9, dstapic: 255, dstirq: 9
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 10, dstapic: 255, dstirq: 10
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 11, dstapic: 255, dstirq: 11
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 12, dstapic: 255, dstirq: 12
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 13, dstapic: 255, dstirq: 13
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 14, dstapic: 255, dstirq: 14
Sep 30 18:39:46 hozomeen kernel: Interrupt Source: type: 0, flag: 0, bus: 1,
busirq: 15, dstapic: 255, dstirq: 15

So, all of the interrupts (including those for PCI cards) are associated with
bus 1 (ISA) which leads to the problem I'm seeing.

I built using 2.1.124pre2 this morning and booted successfully without patching.
I guess we'll have to wait and see if there are systems that fail with the new
code...

-Tom

-- 
Tom Eastep	
COMPAQ Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/