Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 11 Nov 2002 18:13:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 11 Nov 2002 18:13:22 -0500 Received: from polaris.galacticasoftware.com ([206.45.95.222]:12292 "EHLO polaris.galacticasoftware.com") by vger.kernel.org with ESMTP id ; Mon, 11 Nov 2002 18:13:17 -0500 From: Adam Majer Date: Mon, 11 Nov 2002 17:11:26 -0600 To: Alan Cox Cc: Linux Kernel Mailing List Subject: Re: Promise Ultra100 TX2 driver problems Message-ID: <20021111231126.GA1689@galacticasoftware.com> References: <20021111192648.GA31966@galacticasoftware.com> <1037054288.2887.49.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037054288.2887.49.camel@irongate.swansea.linux.org.uk> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4574 Lines: 129 On Mon, Nov 11, 2002 at 10:38:08PM +0000, Alan Cox wrote: > On Mon, 2002-11-11 at 19:26, adamm@galacticasoftware.com wrote: > > Hi all, > > > > There seems to be a major problem with the promise drivers. > > It is detected and seems to work, but there is a very > > large number of interrupts being generated: > > Im dubious those interrupts are coming from the TX2 - what happens if > you boot with the "noapic" option ? Yes, you are right. It is the APIC problem... polaris:/proc# cat interrupts CPU0 CPU1 0: 155563 0 XT-PIC timer 1: 2510 0 XT-PIC keyboard 2: 0 0 XT-PIC cascade 5: 3421 0 XT-PIC eth0 8: 23 0 XT-PIC rtc 9: 26243 0 XT-PIC sym53c8xx, eth1 10: 301052 0 XT-PIC ide2, ide3 NMI: 0 0 LOC: 155501 155500 ERR: 1427 MIS: 0 I'm not sure if the following will make the problem abvious for people that know anything about the APIC, but here it goes. The following are the relevant boot message for APIC. It was fine with all of the cards in there except for that Promise controller. Maybe the interrupt should have triggered on edge not on level? PS. This is for 2.4.18 kernel dmesg snip: Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: COMPAQ Product ID: PROLIANT APIC at: 0xFEE00000 Processor #1 Pentium(tm) Pro APIC version 16 Processor #0 Pentium(tm) Pro APIC version 16 I/O APIC #2 Version 17 at 0xFEC00000. [...] 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-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 ..MP-BIOS bug: 8254 timer not connected to IO-APIC ...trying to set up timer (IRQ0) through the 8259A ... ..... (found pin 0) ...works. number of MP IRQ sources: 16. number of IO-APIC #2 registers: 24. testing the IO APIC....................... IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 .... register #01: 00170011 ....... : max redirection entries: 0017 ....... : PRQ implemented: 0 ....... : IO APIC version: 0011 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 003 03 0 0 0 0 0 1 1 31 01 003 03 0 0 0 0 0 1 1 39 02 000 00 1 0 0 0 0 0 0 00 03 003 03 0 0 0 0 0 1 1 41 04 003 03 0 0 0 0 0 1 1 49 05 003 03 1 1 0 1 0 1 1 51 06 003 03 0 0 0 0 0 1 1 59 07 003 03 0 0 0 0 0 1 1 61 08 003 03 0 0 0 0 0 1 1 69 09 003 03 1 1 0 1 0 1 1 71 0a 003 03 1 1 0 1 0 1 1 79 0b 003 03 0 0 0 0 0 1 1 81 0c 003 03 0 0 0 0 0 1 1 89 0d 003 03 0 0 0 0 0 1 1 91 0e 003 03 0 0 0 0 0 1 1 99 0f 003 03 0 0 0 0 0 1 1 A1 10 000 00 1 0 0 0 0 0 0 00 11 000 00 1 0 0 0 0 0 0 00 12 000 00 1 0 0 0 0 0 0 00 13 000 00 1 0 0 0 0 0 0 00 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ11 -> 0:11 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 179.6287 MHz. ..... host bus clock speed is 59.8760 MHz. cpu: 0, clocks: 598760, slice: 199586 CPU0 cpu: 1, clocks: 598760, slice: 199586 CPU1 checking TSC synchronization across CPUs: passed. Waiting on wait_init_idle (map = 0x2) All processors have done init_idle - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/