Bad IRQ Conflicts on Laptop (2.3.99-p4-2)

From: Jordan Mendelson (jordy@napster.com)
Date: Sat Apr 01 2000 - 19:13:20 EST

  • Next message: Wakko Warner: "Re: Bad IRQ Conflicts on Laptop (2.3.99-p4-2)"

    I'm having problems with IRQ allocation. It seems that every device is
    being allocated with IRQ 9 including both of my PCMCIA slots and
    video/sound/modem/firewire/usb. The BIOS seems to incorrectly map both
    my PCMCIA slots to IRQ 255 which Linux then remaps to IRQ 9.

    I run into problems because my sound card won't work properly when on
    the same IRQ as my CardBus ethernet controller. PNP has been disabled in
    my BIOS and I've tried switching the PCI scanning to both BIOS and
    Direct without any change.

    I'm running a Sony Vaio PCG-XG9 laptop with 2.3.99-pre4-2. Serial ports,
    IRDA, and parallel ports have been disabled in BIOS in a hope to free
    some IRQs.

    Below I've included a scan of /proc/interrupts, lspci -vxx as well as my
    bootup with full PCI debugging turned on.

    # cat /proc/interrupts
               CPU0
      0: 91618 XT-PIC timer
      1: 3805 XT-PIC keyboard
      2: 0 XT-PIC cascade
      9: 83 XT-PIC Ricoh Co Ltd RL5c478, Ricoh Co Ltd
    RL5c478 (#2), eth0
     12: 2995 XT-PIC PS/2 Mouse
     13: 1 XT-PIC fpu
     14: 3848 XT-PIC ide0
     15: 2 XT-PIC ide1
    NMI: 0
    ERR: 0

    # lspci -vxx

    00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
    (rev 03)
            Subsystem: Sony Corporation: Unknown device 804b
            Flags: bus master, medium devsel, latency 64
            Memory at 40000000 (32-bit, prefetchable) [size=16M]
            Capabilities: [a0] AGP version 1.0
    00: 86 80 90 71 06 01 10 22 03 00 00 06 00 40 00 00
    10: 08 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 4b 80
    30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00

    00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge
    (rev 03) (prog-if 00 [Normal decode])
            Flags: bus master, 66Mhz, medium devsel, latency 128
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
            Memory behind bridge: fe800000-fecfffff
            Prefetchable memory behind bridge: fd000000-fdffffff
    00: 86 80 91 71 1f 00 20 02 03 00 04 06 00 80 01 00
    10: 00 00 00 00 00 00 00 00 00 01 01 40 f0 00 a0 a2
    20: 80 fe c0 fe 00 fd f0 fd 00 00 00 00 00 00 00 00
    30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8c 00

    00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
            Flags: bus master, medium devsel, latency 0
    00: 86 80 10 71 0f 00 80 02 02 00 01 06 00 00 80 00
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
    (prog-if 80 [Master])
            Flags: bus master, medium devsel, latency 64
            I/O ports at fc90 [size=16]
    00: 86 80 11 71 05 00 80 02 01 80 01 01 00 40 00 00
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    20: 91 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
    (prog-if 00 [UHCI])
            Flags: medium devsel, IRQ 9
            I/O ports at fca0 [size=32]
    00: 86 80 12 71 01 00 80 02 01 00 03 0c 00 40 00 00
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    20: a1 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    30: 00 00 00 00 00 00 00 00 00 00 00 00 09 04 00 00

    00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
            Flags: medium devsel
    00: 86 80 13 71 03 00 80 02 03 00 80 06 00 00 00 00
    10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    00:08.0 FireWire (IEEE 1394): Sony Corporation CXD3222 iLINK Controller
    (rev 02) (prog-if 10 [OHCI])
            Subsystem: Sony Corporation: Unknown device 804d
            Flags: medium devsel, IRQ 9
            Memory at fedf7000 (32-bit, non-prefetchable) [size=2K]
            Memory at fedf7c00 (32-bit, non-prefetchable) [size=512]
            Expansion ROM at <unassigned> [disabled] [size=64K]
            Capabilities: [dc] Power Management version 1
    00: 4d 10 39 80 02 00 10 02 02 10 00 0c 08 40 00 00
    10: 00 70 df fe 00 7c df fe 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 4d 80
    30: 00 00 00 00 dc 00 00 00 00 00 00 00 09 01 04 04

    00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S
    Audio Controller] (rev 02)
            Subsystem: Sony Corporation: Unknown device 804e
            Flags: bus master, medium devsel, latency 64, IRQ 9
            Memory at fedf8000 (32-bit, non-prefetchable) [size=32K]
            I/O ports at fcc0 [size=64]
            I/O ports at fc8c [size=4]
            Capabilities: [50] Power Management version 1
    00: 73 10 10 00 07 00 10 02 02 00 01 04 00 40 00 00
    10: 00 80 df fe c1 fc 00 00 8d fc 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 4e 80
    30: 00 00 00 00 50 00 00 00 00 00 00 00 09 01 05 19

    00:0a.0 Communication controller: Rockwell International HCF 56k V90
    FaxModem (rev 01)
            Subsystem: Sony Corporation: Unknown device 805a
            Flags: medium devsel, IRQ 9
            Memory at fede0000 (32-bit, non-prefetchable) [size=64K]
            I/O ports at fc78 [size=8]
            Capabilities: [40] Power Management version 2
    00: 7a 12 05 20 03 00 90 02 01 00 80 07 00 40 00 00
    10: 00 00 de fe 79 fc 00 00 00 00 00 00 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 5a 80
    30: 00 00 00 00 40 00 00 00 00 00 00 00 09 01 00 00

    00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)
            Subsystem: Sony Corporation: Unknown device 804f
            Flags: bus master, medium devsel, latency 168, IRQ 9
            Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
            Bus: primary=00, secondary=02, subordinate=02, sec-latency=176
            Memory window 0: 10400000-107ff000 (prefetchable)
            Memory window 1: 10800000-10bff000
            I/O window 0: 00001400-000014ff
            I/O window 1: 00000000-00000003
            16-bit legacy interface ports at 0001
    00: 80 11 78 04 07 00 10 02 80 00 07 06 00 a8 82 00
    10: 00 00 00 10 dc 00 00 02 00 02 02 b0 00 00 40 10
    20: 00 f0 7f 10 00 00 80 10 00 f0 bf 10 00 14 00 00
    30: fc 14 00 00 00 00 00 00 00 00 00 00 ff 01 80 05
    40: 4d 10 4f 80 01 00 00 00 00 00 00 00 00 00 00 00
    50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    00:0c.1 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 80)
            Subsystem: Sony Corporation: Unknown device 804f
            Flags: bus master, medium devsel, latency 168, IRQ 9
            Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
            Bus: primary=00, secondary=04, subordinate=04, sec-latency=176
            Memory window 0: 10c00000-10fff000 (prefetchable)
            Memory window 1: 11000000-113ff000
            I/O window 0: 00001800-000018ff
            I/O window 1: 00000000-00000003
            16-bit legacy interface ports at 0001
    00: 80 11 78 04 07 00 10 02 80 00 07 06 00 a8 82 00
    10: 00 10 00 10 dc 00 00 22 00 04 04 b0 00 00 c0 10
    20: 00 f0 ff 10 00 00 00 11 00 f0 3f 11 00 18 00 00
    30: fc 18 00 00 00 00 00 00 00 00 00 00 ff 02 00 05
    40: 4d 10 4f 80 01 00 00 00 00 00 00 00 00 00 00 00
    50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    01:00.0 VGA compatible controller: Neomagic Corporation [MagicGraph
    256AV] (rev 20) (prog-if 00 [VGA])
            Subsystem: Sony Corporation: Unknown device 804c
            Flags: bus master, fast Back2Back, medium devsel, latency 128, IRQ 9
            Memory at fd000000 (32-bit, prefetchable) [size=16M]
            Memory at fe800000 (32-bit, non-prefetchable) [size=4M]
            Memory at fec00000 (32-bit, non-prefetchable) [size=1M]
            Capabilities: [dc] Power Management version 1
    00: c8 10 05 00 07 02 90 02 20 00 00 03 00 80 00 00
    10: 08 00 00 fd 00 00 80 fe 00 00 c0 fe 00 00 00 00
    20: 00 00 00 00 00 00 00 00 00 00 00 00 4d 10 4c 80
    30: 00 00 00 00 dc 00 00 00 00 00 00 00 09 01 10 ff

    04:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
            Subsystem: Xircom Cardbus Ethernet 10/100
            Flags: bus master, medium devsel, latency 64, IRQ 9
            I/O ports at 1800 [size=128]
            Memory at 11000000 (32-bit, non-prefetchable) [size=2K]
            Memory at 11000800 (32-bit, non-prefetchable) [size=2K]
            Expansion ROM at 10c00000 [size=16K]
            Capabilities: [dc] Power Management version 1
    00: 5d 11 03 00 07 00 10 02 03 00 00 02 00 40 00 00
    10: 01 18 00 00 00 00 00 11 00 08 00 11 00 00 00 00
    20: 00 00 00 00 00 00 00 00 07 01 00 00 5d 11 81 01
    30: 00 00 c0 10 dc 00 00 00 00 00 00 00 09 01 14 28

    Bootup:

    Linux version 2.3.99-pre4 (root@u2) (gcc version 2.95.2 20000313 (Debian
    GNU/Linux)) #8 Sat Apr 1 15:51:31 PST 2000
    e820: 0009f800 @ 00000000 (usable)
    e820: 00000800 @ 0009f800 (reserved)
    e820: 00015000 @ 000eb000 (reserved)
    e820: 07ef0000 @ 00100000 (usable)
    e820: 0000fc00 @ 07ff0000 (ACPI data)
    e820: 00000400 @ 07fffc00 (ACPI NVS)
    e820: 00080000 @ fff80000 (reserved)
    On node 0 totalpages: 32752
    zone(0): 4096 pages.
    zone(1): 28656 pages.
    zone(2): 0 pages.
    Initializing CPU#0
    Detected 134204718 Hz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 253.95 BogoMIPS
    Memory: 126748k/131008k available (912k kernel code, 3872k reserved, 68k
    data, 144k init, 0k highmem)
    Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
    VFS: Diskquotas version dquot_6.4.0 initialized
    CPU: Intel Pentium III (Coppermine) stepping 01
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
    PCI: BIOS32 Service Directory structure at 0xc00f7140
    PCI: BIOS32 Service Directory entry at 0xfd880
    PCI: BIOS probe returned s=00 hw=01 ver=02.10 l=01
    PCI: PCI BIOS revision 2.10 entry at 0xfd99e
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Scanning bus 00
    Found 00:00 [8086/7190] 000600 00
    Found 00:08 [8086/7191] 000604 01
    Found 00:38 [8086/7110] 000601 00
    Found 00:39 [8086/7111] 000101 00
    PCI: IDE base address fixup for 00:07.1
    Found 00:3a [8086/7112] 000c03 00
    Found 00:3b [8086/7113] 000680 00
    Found 00:40 [104d/8039] 000c00 00
    Found 00:48 [1073/0010] 000401 00
    Found 00:50 [127a/2005] 000780 00
    Found 00:60 [1180/0478] 000607 02
    Found 00:61 [1180/0478] 000607 02
    Fixups for bus 00
    PCI: Scanning for ghost devices on bus 0
    Scanning behind PCI bridge 00:01.0
    Scanning bus 01
    Found 01:00 [10c8/0005] 000300 00
    Fixups for bus 01
    PCI: Scanning for ghost devices on bus 1
    Bus scan for 01 returning with max=01
    Scanning CardBus bridge 00:0c.0
    Scanning CardBus bridge 00:0c.1
    Bus scan for 00 returning with max=05
    PCI: IRQ fixup
    PCI: Interrupt Routing Table found at 0xc00fdf40 [router type 8086/122e]
    b=00 d=08 s=00
    b=00 d=38 s=00
    b=00 d=40 s=00
    b=00 d=48 s=00
    b=00 d=50 s=00
    b=00 d=60 s=00
    b=00 d=80 s=00
    b=00 d=68 s=00
    00:0c.0: ignoring bogus IRQ 255
    00:0c.1: ignoring bogus IRQ 255
    IRQ for 00:0c.0(0) -> PIRQ 60, mask 0200 -> [PIIX] 09
    PCI: Found IRQ 9 for device 00:0c.0 [PIIX]
    IRQ for 00:0c.1(1) -> PIRQ 61, mask 0200 -> [PIIX] 09
    PCI: Found IRQ 9 for device 00:0c.1 [PIIX]
    PCI: Allocating resources
    PCI: Resource 40000000-40ffffff (f=1208, d=0, p=0)
    PCI: Resource 0000fc90-0000fc9f (f=101, d=0, p=0)
    PCI: Resource 0000fca0-0000fcbf (f=101, d=0, p=0)
    PCI: Resource fedf7000-fedf77ff (f=200, d=0, p=0)
    PCI: Resource fedf7c00-fedf7dff (f=200, d=0, p=0)
    PCI: Resource fedf8000-fedfffff (f=200, d=0, p=0)
    PCI: Resource 0000fcc0-0000fcff (f=101, d=0, p=0)
    PCI: Resource 0000fc8c-0000fc8f (f=10d, d=0, p=0)
    PCI: Resource fede0000-fedeffff (f=200, d=0, p=0)
    PCI: Resource 0000fc78-0000fc7f (f=109, d=0, p=0)
    PCI: Resource fd000000-fdffffff (f=1208, d=0, p=0)
    PCI: Resource fe800000-febfffff (f=200, d=0, p=0)
    PCI: Resource fec00000-fecfffff (f=200, d=0, p=0)
    PCI: Sorting device list...
    Limiting direct PCI/PCI transfers.
    Linux NET4.0 for Linux 2.3
    Based upon Swansea University Computer Society NET3.039
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 8192 bind 8192)
    Starting kswapd v1.6
    pty: 256 Unix98 ptys configured
    Uniform Multi-Platform E-IDE driver Revision: 6.30
    ide: Assuming 40MHz system bus speed for PIO modes; override with
    idebus=xx
    PIIX4: IDE controller on PCI bus 00 dev 39
    PIIX4: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xfc90-0xfc97, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0xfc98-0xfc9f, BIOS settings: hdc:DMA, hdd:pio
    hda: IBM-DARA-218000, ATA DISK drive
    hdc: TOSHIBA DVD-ROM SD-C2202, ATAPI CDROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: IBM-DARA-218000, 17301MB w/418kB Cache, CHS=2205/255/63, UDMA(33)
    Partition check:
     hda: hda1 hda3 hda4
    Linux PCMCIA Card Services 3.1.11
      options: [pci] [cardbus] [pm]
    Adding cardbus controller 0: Ricoh Co Ltd RL5c478
    Yenta IRQ list 0c98, PCI irq9
    Socket status: 30000006
    Adding cardbus controller 1: Ricoh Co Ltd RL5c478 (#2)
    Yenta IRQ list 0c98, PCI irq9
    Socket status: 30000820
    Intel PCIC probe: not found.
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 144k freed
    cs: cb_alloc(bus 4): vendor 0x115d, device 0x0003
    Found 04:00 [115d/0003] 000200 00
    PCI: Enabling device 04:00.0 (0000 -> 0003)
    Adding Swap: 127996k swap-space (priority -1)
    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
    isapnp: Scanning for Pnp cards...
    isapnp: No Plug & Play device found
    Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ
    SERIAL_PCI ISAPNP enabled
    LSR safety check engaged!
    LSR safety check engaged!
    LSR safety check engaged!
    LSR safety check engaged!
    cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
    cs: IO port probe 0x0800-0x08ff: clean.
    cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x330-0x337
    0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    shmget: shm filesystem not mounted

    # lsmod

    Module Size Used by
    xircom_tulip_cb 30696 1
    serial 41456 0 (autoclean)
    isa-pnp 27848 0 (autoclean) [serial]
    apm 9436 1

    Jordan Mendelson

    -
    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/



    This archive was generated by hypermail 2b29 : Sat Apr 01 2000 - 19:21:29 EST