Re: [Patch] io-apic-patch-2.1.85-A

Daniel Bergstrom (daniel@futurniture.se)
Sun, 8 Feb 1998 00:23:03 +0100


On Thu, Feb 05, 1998 at 12:17:48AM +0100, MOLNAR Ingo wrote:
>
> This 2.1.85 based patch fixes an already existing workaround. There exists
> a nasty problem with certain older SMP boards, the mptable claims to have
> IRQ 0 (timer) connected, but in reality the timer IRQ is only connected to
> the 8259A-style PIC ...
>
> the 'old' solution was to use IRQ0 always as a 8259A interrupt.
> Unfortunately, some newer boards like the Dell PowerEdge 6100 seem to
> disable timer IRQs towards the 8259A when the IO-APIC is activated ...
> resulting in a hang during bootup.
>
> the workaround is to 'probe' for timer IRQs as bootup. Now the default
> operation for timer IRQs is IO-APIC, but if for some reason there are no
> timer IRQs arriving, we switch back to 8259A type timer interrupts.
>
> the patch also contains some other minor fixes.
>
> This Dell PowerEdge was the last failing board, and now it seems 100% of
> all boards tested work with the new autodetection code. Unless i've missed
> some failure reports, i'd say we should make IO-APIC+autodetect the
> default bootup mode? [even with this patch it's still necessary to use
> pirq=0 to get autodetection running]
>
> there seem to be problems with aha1542 hardware and the new SMP IRQ
> handling code [SCSI hw related lockups], plus there was one report of
> 'jumpy' PS/2 mouse, and one report of 'lost PS/2 mouse/keyboard'. Is
> anyone else experiencing other types of problems with the new IO-APIC
> code?
>
> -- mingo
>

Firstly I'm not a kernel hacker, but rather a 'power user' that perhaps
can help out with testing and in that way contribute to the linux-community.

This weekend i got some spare time and downloaded 2.1.85, on the first
try i hanged on 'scsi0: Scanning channel A for devices.', i.e. when it
tried to use the first pci-device.

Then i saw your patch and applied it, on reboot i got the following,
have tried w/o pirq-line, w/ pirq=0 and w/ pirq=0x0b,0x0a,0x0b,0x0b all
with the same result:

(written down by hand)

mapping IO APIC from standard address.
new virtual address c8802000.
enabling Symetric IO mode ... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0, 2, 10, 11, 13, 19, 20, 21, 22, 23 not connected.
init IO_APIC IRQs
IO-APIC pin 0, 2, 10, 11, 13, 19, 20, 21, 22, 23 not connected.
Kernel panic: IO-APIC + timer doesn't work!
In swapper task - not syncing

I have got a dual ppro w/ Intel Providence (PR440FX) motherboard

cheers!
/daniel

-- 
Do more than anyone expects, and pretty soon everyone will expect more.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu