lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ISAPNP using an invalid IO_APIC IRQ
    Linus Torvalds wrote:
    >
    > The irq is still there, it's just that it's mapped somewhere else. The MP
    > table should give the mapping.
    >
    > Please find the "mptable" program, and run it. If you don't already have
    > it on your system, search for it on google or something.. It will print
    > out your whole MP table, and that might give a better clue about where irq
    > 5 has gone, and what we should do inside the ISA PnP code to find the
    > right irq..
    >

    Currently the system is using IRQ5 for the NE card since I specified it as ISA
    in BIOS. Therefore the BIOS has chosen IRQ9, IRQ10 & IRQ11 for internal use.

    currently running a UP kernel w/IO_APIC enabled, can switch back to SMP if needed.

    dmesg & mptable output below

    Martin


    MPTABLE
    ===============================================================================

    MPTable, version 2.0.12

    -------------------------------------------------------------------------------

    MP Floating Pointer Structure:

    location: BIOS
    physical address: 0x000f5ae0
    signature: '_MP_'
    length: 16 bytes
    version: 1.4
    checksum: 0x7d
    mode: Virtual Wire

    -------------------------------------------------------------------------------

    MP Config Table Header:

    physical address: 0xf1400
    signature: 'PCMP'
    base table length: 276
    version: 1.4
    checksum: 0x29
    OEM ID: 'OEM00000'
    Product ID: 'PROD00000000'
    OEM table pointer: (nil)
    OEM table size: 0
    entry count: 26
    local APIC address: 0xfee00000
    extended table length: 0
    extended table checksum: 0

    -------------------------------------------------------------------------------

    MP Config Base Table Entries:

    --
    Processors: APIC ID Version State Family Model Step Flags
    0 0x11 BSP, usable 6 6 5 0xfbff
    1 0x11 AP, usable 6 6 5 0xfbff
    --
    Bus: Bus ID Type
    0 PCI
    1 PCI
    2 ISA
    --
    I/O APICs: APIC ID Version State Address
    2 0x11 usable 0xfec00000
    --
    I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID I
    NT#
    ExtINT conforms conforms 2 0 2 0
    INT conforms conforms 2 1 2 1
    INT conforms conforms 2 0 2 2
    INT conforms conforms 2 3 2 3
    INT conforms conforms 2 4 2 4
    INT conforms conforms 2 5 2 5
    INT conforms conforms 2 6 2 6
    INT conforms conforms 2 7 2 7
    INT active-hi edge 2 8 2 8
    INT conforms conforms 2 12 2 12
    INT conforms conforms 2 13 2 13
    INT conforms conforms 2 14 2 14
    INT conforms conforms 2 15 2 15
    INT active-lo level 0 7:D 2 19
    INT active-lo level 0 19:A 2 18
    INT active-lo level 0 19:B 2 18
    INT active-lo level 1 0:A 2 16
    SMI conforms conforms 2 0 2 23
    --
    Local Ints: Type Polarity Trigger Bus ID IRQ APIC IDtINT#
    ExtINT conforms conforms 0 0:A 255 0
    NMI conforms conforms 0 0:A 255 1

    -------------------------------------------------------------------------------

    kmsg output:



    ---------------
    scanpci output:


    pci bus 0x0 cardnum 0x00 function 0x0000: vendor 0x8086 device 0x7190
    Intel 82443BX Host

    pci bus 0x0 cardnum 0x01 function 0x0000: vendor 0x8086 device 0x7191
    Intel 82443BX AGP

    pci bus 0x0 cardnum 0x07 function 0x0000: vendor 0x8086 device 0x7110
    Intel 82371AB PIIX4 ISA

    pci bus 0x0 cardnum 0x07 function 0x0001: vendor 0x8086 device 0x7111
    Intel 82371AB PIIX4 IDE

    pci bus 0x0 cardnum 0x07 function 0x0002: vendor 0x8086 device 0x7112
    Intel 82371AB PIIX4 USB

    pci bus 0x0 cardnum 0x07 function 0x0003: vendor 0x8086 device 0x7113
    Intel 82371AB PIIX4 ACPI

    pci bus 0x0 cardnum 0x13 function 0x0000: vendor 0x1103 device 0x0004
    Device unknown

    pci bus 0x0 cardnum 0x13 function 0x0001: vendor 0x1103 device 0x0004
    Device unknown

    pci bus 0x1 cardnum 0x00 function 0x0000: vendor 0x1002 device 0x5246
    ATI Rage 128 RF


    -----------------
    /proc/pci output:

    PCI devices found:
    Bus 0, device 0, function 0:
    Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 3).
    Master Capable. Latency=32.
    Prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
    Bus 0, device 1, function 0:
    PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 3).
    Master Capable. Latency=64. Min Gnt=136.
    Bus 0, device 7, function 0:
    ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 2).
    Bus 0, device 7, function 1:
    IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
    Master Capable. Latency=32.
    I/O at 0xf000 [0xf00f].
    Bus 0, device 7, function 2:
    USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
    IRQ 19.
    Master Capable. Latency=32.
    I/O at 0xd000 [0xd01f].
    Bus 0, device 7, function 3:
    Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 2).
    Bus 0, device 19, function 0:
    Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev 1).
    IRQ 18.
    Master Capable. Latency=248. Min Gnt=8.Max Lat=8.
    I/O at 0xd400 [0xd407].
    I/O at 0xd800 [0xd803].
    I/O at 0xdc00 [0xdcff].
    Bus 0, device 19, function 1:
    Unknown mass storage controller: Triones Technologies, Inc. HPT366 (#2) (rev
    1).
    IRQ 18.
    Master Capable. Latency=248. Min Gnt=8.Max Lat=8.
    I/O at 0xe000 [0xe007].
    I/O at 0xe400 [0xe403].
    I/O at 0xe800 [0xe8ff].
    Bus 1, device 0, function 0:
    VGA compatible controller: ATI Technologies Inc Rage 128 RF (rev 0).
    IRQ 16.
    Master Capable. Latency=32. Min Gnt=8.
    Prefetchable 32 bit memory at 0xd4000000 [0xd7ffffff].
    I/O at 0xc000 [0xc0ff].
    Non-prefetchable 32 bit memory at 0xd9000000 [0xd9003fff].

    ------------------------
    /proc/interrupts output:

    CPU0
    0: 3761622 IO-APIC-edge timer
    1: 13748 IO-APIC-edge keyboard
    2: 0 XT-PIC cascade
    5: 104829 IO-APIC-edge NE2000
    6: 69 IO-APIC-edge floppy
    8: 0 IO-APIC-edge rtc
    12: 120937 IO-APIC-edge PS/2 Mouse
    13: 0 XT-PIC fpu
    14: 623 IO-APIC-edge ide0
    15: 6 IO-APIC-edge ide1
    NMI: 3761586
    ERR: 0

    ===============================================================================


    excerpts from DMESG

    Bus #2 is ISA
    I/O APIC #2 Version 17 at 0xFEC00000.
    Int: type 3, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 00
    Int: type 0, pol 0, trig 0, bus 2, IRQ 01, APIC ID 2, APIC INT 01
    Int: type 0, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 02
    Int: type 0, pol 0, trig 0, bus 2, IRQ 03, APIC ID 2, APIC INT 03
    Int: type 0, pol 0, trig 0, bus 2, IRQ 04, APIC ID 2, APIC INT 04
    Int: type 0, pol 0, trig 0, bus 2, IRQ 05, APIC ID 2, APIC INT 05
    Int: type 0, pol 0, trig 0, bus 2, IRQ 06, APIC ID 2, APIC INT 06
    Int: type 0, pol 0, trig 0, bus 2, IRQ 07, APIC ID 2, APIC INT 07
    Int: type 0, pol 1, trig 1, bus 2, IRQ 08, APIC ID 2, APIC INT 08
    Int: type 0, pol 0, trig 0, bus 2, IRQ 0c, APIC ID 2, APIC INT 0c
    Int: type 0, pol 0, trig 0, bus 2, IRQ 0d, APIC ID 2, APIC INT 0d
    Int: type 0, pol 0, trig 0, bus 2, IRQ 0e, APIC ID 2, APIC INT 0e
    Int: type 0, pol 0, trig 0, bus 2, IRQ 0f, APIC ID 2, APIC INT 0f
    Int: type 0, pol 3, trig 3, bus 0, IRQ 1f, APIC ID 2, APIC INT 13
    Int: type 0, pol 3, trig 3, bus 0, IRQ 4c, APIC ID 2, APIC INT 12
    Int: type 0, pol 3, trig 3, bus 0, IRQ 4d, APIC ID 2, APIC INT 12
    Int: type 0, pol 3, trig 3, bus 1, IRQ 00, APIC ID 2, APIC INT 10
    Int: type 2, pol 0, trig 0, bus 2, IRQ 00, APIC ID 2, APIC INT 17
    Lint: type 3, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 00
    Lint: type 1, pol 0, trig 0, bus 0, IRQ 00, APIC ID ff, APIC LINT 01
    ...
    init IO_APIC IRQs
    IO-APIC (apicid-pin) 2-0, 2-9, 2-10, 2-11, 2-17, 2-20, 2-21, 2-22, 2-23 not con
    nected.
    ..TIMER: vector=49 pin1=2 pin2=0
    activating NMI Watchdog ... done.
    number of MP IRQ sources: 18.
    ...
    .... 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 001 01 0 0 0 0 0 1 1 41
    04 001 01 0 0 0 0 0 1 1 49
    05 001 01 0 0 0 0 0 1 1 51
    06 001 01 0 0 0 0 0 1 1 59
    07 001 01 0 0 0 0 0 1 1 61
    08 001 01 0 0 0 0 0 1 1 69
    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 001 01 0 0 0 0 0 1 1 71
    0d 000 00 1 0 0 0 0 0 0 00
    0e 001 01 0 0 0 0 0 1 1 79
    0f 001 01 0 0 0 0 0 1 1 81
    10 001 01 1 1 0 1 0 1 1 89
    11 000 00 1 0 0 0 0 0 0 00
    12 001 01 1 1 0 1 0 1 1 91
    13 001 01 1 1 0 1 0 1 1 99
    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 -> 2
    IRQ1 -> 1
    IRQ3 -> 3
    IRQ4 -> 4
    IRQ5 -> 5
    IRQ6 -> 6
    IRQ7 -> 7
    IRQ8 -> 8
    IRQ12 -> 12
    IRQ13 -> 13
    IRQ14 -> 14
    IRQ15 -> 15
    IRQ16 -> 16
    IRQ18 -> 18
    IRQ19 -> 19
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:38    [W:0.036 / U:31.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site