IDE on 22 irq => troubles ?

From: Khimenko Victor (khim@dell.sch57.msk.ru)
Date: Wed Feb 16 2000 - 09:03:34 EST

  • Next message: Robert G. Fisher: "Re: DSL Modem?"

    I can not upgrade our server due problems with IRQ detection :-/

    2.2.5 works fine while later kernels (2.2.10,2.3.36) do not.

    Here is dmesg output from 2.2.5-ac6 (works fine here) and
    2.3.36+devfs.v152 (version without devfs does not work as well).

    2.2.5
    -- cut --
    Linux version 2.2.5-ac6 (root@nomad.ksi-linux.com) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #1 SMP Thu Apr 8 12:23:34 EEST 1999
    Intel MultiProcessor Specification v1.4
        Virtual Wire compatibility mode.
    OEM ID: DELL Product ID: PowerEdge 81 APIC at: 0xFEE00000
    Processor #0 Pentium(tm) Pro APIC version 17
    I/O APIC #1 Version 17 at 0xFEC00000.
    Processors: 1
    mapped APIC to ffffe000 (fee00000)
    mapped IOAPIC to ffffd000 (fec00000)
    Detected 349184844 Hz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 348.16 BogoMIPS
    Memory: 127756k/131072k available (1036k kernel code, 420k reserved, 1584k data, 60k init)
    VFS: Diskquotas version dquot_6.4.0 initialized
    Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.26 (19981001) Richard Gooch (rgooch@atnf.csiro.au)
    per-CPU timeslice cutoff: 100.05 usecs.
    CPU0: Intel Pentium II (Deschutes) stepping 02
    calibrating APIC timer ...
    ..... CPU clock speed is 349.1880 MHz.
    ..... system bus clock speed is 99.7676 MHz.
    Error: only one processor found.
    enabling symmetric IO mode... ...done.
    ENABLING IO-APIC IRQs
    init IO_APIC IRQs
     IO-APIC pin 0, 10, 11, 13, 14, 23 not connected.
    number of MP IRQ sources: 38.
    number of IO-APIC registers: 24.
    testing the IO APIC.......................
    .... register #00: 00000000
    ....... : physical APIC id: 00
    .... register #01: 00170011
    ....... : max redirection entries: 0017
    ....... : IO APIC version: 0011
    .... register #02: 00000000
    ....... : arbitration: 00
    .... 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 000 00 0 0 0 0 0 1 1 59
     02 0FF 0F 0 0 0 0 0 1 1 51
     03 000 00 0 0 0 0 0 1 1 61
     04 000 00 0 0 0 0 0 1 1 69
     05 000 00 0 0 0 0 0 1 1 71
     06 000 00 0 0 0 0 0 1 1 79
     07 000 00 0 0 0 0 0 1 1 81
     08 000 00 0 0 0 0 0 1 1 89
     09 000 00 0 0 0 0 0 1 1 91
     0a 000 00 1 0 0 0 0 0 0 00
     0b 000 00 1 0 0 0 0 0 0 00
     0c 000 00 0 0 0 0 0 1 1 99
     0d 000 00 1 0 0 0 0 0 0 00
     0e 000 00 1 0 0 0 0 0 0 00
     0f 000 00 0 0 0 0 0 1 1 A1
     10 0FF 0F 1 1 0 1 0 1 1 A9
     11 0FF 0F 1 1 0 1 0 1 1 B1
     12 0FF 0F 1 1 0 1 0 1 1 B9
     13 0FF 0F 1 1 0 1 0 1 1 C1
     14 0FF 0F 1 1 0 1 0 1 1 C9
     15 0FF 0F 1 1 0 1 0 1 1 D1
     16 0FF 0F 1 1 0 1 0 1 1 D9
     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
    IRQ9 -> 9
    IRQ12 -> 12
    IRQ15 -> 15
    IRQ16 -> 16
    IRQ17 -> 17
    IRQ18 -> 18
    IRQ19 -> 19
    IRQ20 -> 20
    IRQ21 -> 21
    IRQ22 -> 22
    .................................... done.
    PCI: PCI BIOS revision 2.10 entry at 0xfcd1e
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Assigning I/O space 5800-581f to device 00:3a
    PCI: Enabling I/O for device 00:3a
    PCI->APIC IRQ transform: (B0,I8,P0) -> 20
    PCI->APIC IRQ transform: (B0,I10,P0) -> 21
    PCI->APIC IRQ transform: (B2,I4,P0) -> 16
    PCI->APIC IRQ transform: (B2,I6,P0) -> 16
    Linux NET4.0 for Linux 2.2
    Based upon Swansea University Computer Society NET3.039
    NET4: Unix domain sockets 1.0 for Linux NET4.0.
    IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    Linux IP multicast router 0.06 plus PIM-SM
    Initializing RT netlink socket
    Starting kswapd v 1.5
    Detected PS/2 Mouse Port.
    Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    pty: 256 Unix98 ptys configured
    Real Time Clock Driver v1.09
    RAM disk driver initialized: 16 RAM disks of 4096K size
    PIIX4: IDE controller on PCI bus 00 dev 39
    PIIX4: device not capable of full native PCI mode
    PIIX4: device disabled (BIOS)
    TRM290: ignored by ide_scan_pci_device() (uses own driver)
    hda: TEKRAM DC-6X0X IDE cacheing controller, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 22
    hda: TEKRAM DC-6X0X IDE cacheing controller, 8063MB w/0kB Cache, CHS=16383/16/63
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a National Semiconductor PC87306
    md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
    scsi : 0 hosts.
    scsi : detected total.
    NET4: Ethernet Bridge 005 for NET4.0
    Partition check:
     hda: [PTBL] [1027/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 >
    RAMDISK: Compressed image found at block 0
    EXT2-fs warning: checktime reached, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    (scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 4/0
    (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
    (scsi0) Downloading sequencer code... 407 instructions downloaded
    (scsi1) <Adaptec AIC-7860 Ultra SCSI host adapter> found at PCI 6/0
    (scsi1) Narrow Channel, SCSI ID=7, 3/255 SCBs
    (scsi1) Downloading sequencer code... 419 instructions downloaded
    scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.13/3.2.4
           <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
    scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.13/3.2.4
           <Adaptec AIC-7860 Ultra SCSI host adapter>
    scsi : 2 hosts.
      Vendor: QUANTUM Model: QM39100TD-SCA Rev: N1K0
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
    (scsi0:0:0:0) Synchronous at 80.0 Mbyte/sec, offset 31.
      Vendor: NEC Model: CD-ROM DRIVE:465 Rev: 1.03
      Type: CD-ROM ANSI SCSI revision: 02
    Detected scsi CD-ROM sr0 at scsi1, channel 0, id 5, lun 0
    (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 15.
      Vendor: MATSHITA Model: CD-R CW-7502 Rev: 4.17
      Type: CD-ROM ANSI SCSI revision: 02
    Detected scsi CD-ROM sr1 at scsi1, channel 0, id 6, lun 0
    (scsi1:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 8.
    sr0: scsi3-mmc drive: 14x/32x cd/rw xa/form2 cdda tray
    Uniform CDROM driver Revision: 2.54
    sr1: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray
    SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783249 [8683 MB] [8.7 GB]
     sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
    VFS: Mounted root (ext2 filesystem) readonly.
    change_root: old root has d_count=1
    Trying to unmount old root ... okay
    Freeing unused kernel memory: 60k freed
    Adding Swap: 265036k swap-space (priority -1)
    eth0: OEM i82557/i82558 10/100 Ethernet at 0xdce0, 00:90:27:1F:48:11, IRQ 20.
      Board assembly 697680-002, Physical connectors present: RJ45
      Primary interface chip i82555 PHY #1.
      General self-test: passed.
      Serial sub-system self-test: passed.
      Internal registers self-test: passed.
      ROM checksum self-test: passed (0x24c9f043).
      Receiver lock-up workaround activated.
    eth1: Intel EtherExpress Pro 10/100 at 0xdcc0, 00:A0:C9:4B:B7:1E, IRQ 21.
      Board assembly 678400-001, Physical connectors present: RJ45
      Primary interface chip i82555 PHY #1.
      General self-test: passed.
      Serial sub-system self-test: passed.
      Internal registers self-test: passed.
      ROM checksum self-test: passed (0x49caa8d6).
      Receiver lock-up workaround activated.
    NET4: Linux IPX 0.38 for NET4.0
    IPX Portions Copyright (c) 1995 Caldera, Inc.
    -- cut --

    2.3.36
    -- cut --
    MP IRQ sources: 38.
    number of IO-APIC #1 registers: 24.
    testing the IO APIC.......................

    IO APIC #1......
    .... register #00: 00000000
    ....... : physical APIC id: 00
    .... register #01: 00170011
    ....... : max redirection entries: 0017
    ....... : IO APIC version: 0011
    .... register #02: 00000000
    ....... : arbitration: 00
    .... 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 0FF 0F 0 0 0 0 0 1 1 59
     02 0FF 0F 0 0 0 0 0 1 1 51
     03 0FF 0F 0 0 0 0 0 1 1 61
     04 0FF 0F 0 0 0 0 0 1 1 69
     05 0FF 0F 0 0 0 0 0 1 1 71
     06 0FF 0F 0 0 0 0 0 1 1 79
     07 0FF 0F 0 0 0 0 0 1 1 81
     08 0FF 0F 0 0 0 0 0 1 1 89
     09 0FF 0F 0 0 0 0 0 1 1 91
     0a 000 00 1 0 0 0 0 0 0 00
     0b 000 00 1 0 0 0 0 0 0 00
     0c 0FF 0F 0 0 0 0 0 1 1 99
     0d 000 00 1 0 0 0 0 0 0 00
     0e 000 00 1 0 0 0 0 0 0 00
     0f 0FF 0F 0 0 0 0 0 1 1 A1
     10 0FF 0F 1 1 0 1 0 1 1 A9
     11 0FF 0F 1 1 0 1 0 1 1 B1
     12 0FF 0F 1 1 0 1 0 1 1 B9
     13 0FF 0F 1 1 0 1 0 1 1 C1
     14 0FF 0F 1 1 0 1 0 1 1 C9
     15 0FF 0F 1 1 0 1 0 1 1 D1
     16 0FF 0F 1 1 0 1 0 1 1 D9
     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
    IRQ9 -> 9
    IRQ12 -> 12
    IRQ15 -> 15
    IRQ16 -> 16
    IRQ17 -> 17
    IRQ18 -> 18
    IRQ19 -> 19
    IRQ20 -> 20
    IRQ21 -> 21
    IRQ22 -> 22
    .................................... done.
    Initializing CPU#0
    calibrating APIC timer ...
    ..... CPU clock speed is 349.1726 MHz.
    ..... host bus clock speed is 99.7633 MHz.
    cpu: 0, clocks: 997633, slice: 498816, nr: 1.
    CPU0<C0:997632,C:498816,D:0,S:498816,C:997633>
    Setting commenced=1, go go go
    PCI: PCI BIOS revision 2.10 entry at 0xfcd1e
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Interrupt Routing Table found at 0xc00fc8d0 [router type 8086/122e]
    PCI->APIC IRQ transform: (B0,I8,P0) -> 20
    PCI->APIC IRQ transform: (B0,I10,P0) -> 21
    PCI->APIC IRQ transform: (B2,I4,P0) -> 16
    PCI->APIC IRQ transform: (B2,I6,P0) -> 16
    PCI: Cannot allocate resource region 4 of device 00:07.1
    PCI: I/O Region 00:07.1/4 too large (65456 bytes)
    PCI: Assigned addresses 00001000-0000101f to region 00:07.2/4
    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.
    IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    TCP: Hash tables configured (established 4096 bind 5461)
    Linux IP multicast router 0.06 plus PIM-SM
    Initializing RT netlink socket
    Starting kswapd v1.6
    Serial driver version 4.91 (1999-11-17) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI PCI_IOMEM enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    pty: 2048 Unix98 ptys configured
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a National Semiconductor PC87306
    md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
    NET4: Ethernet Bridge 006 for NET4.0
    early initialization of device brg0 is deferred
    brg0: network interface for Ethernet Bridge 006/NET4.0
    brg0: generated MAC address FE:FD:0A:5C:D1:E2
    brg0: attached to bridge instance 0
    Partition check:
    RAMDISK: Compressed image found at block 0
    Freeing initrd memory: 4194300k freed
    Real Time Clock Driver v1.09b
    devfs: v0.91 (19991223) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x0
    VFS: Mounted root (ext2 filesystem).
    Mounted devfs on /dev
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    (scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 4/0
    (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
    (scsi0) Downloading sequencer code... 385 instructions downloaded
    (scsi1) <Adaptec AIC-7860 Ultra SCSI host adapter> found at PCI 6/0
    (scsi1) Narrow Channel, SCSI ID=7, 3/255 SCBs
    (scsi1) Downloading sequencer code... 413 instructions downloaded
    scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.21/3.2.4
           <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
    scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.21/3.2.4
           <Adaptec AIC-7860 Ultra SCSI host adapter>
    scsi : 2 hosts.
    (scsi0:0:0:0) Synchronous at 80.0 Mbyte/sec, offset 31.
      Vendor: QUANTUM Model: QM39100TD-SCA Rev: N1K0
      Type: Direct-Access ANSI SCSI revision: 02
    Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
    (scsi1:0:5:0) Synchronous at 20.0 Mbyte/sec, offset 15.
      Vendor: NEC Model: CD-ROM DRIVE:465 Rev: 1.03
      Type: CD-ROM ANSI SCSI revision: 02
    (scsi1:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 8.
      Vendor: MATSHITA Model: CD-R CW-7502 Rev: 4.17
      Type: CD-ROM ANSI SCSI revision: 02
    SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783249 [8683 MB] [8.7 GB]
     /dev/scsi/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 >
    Uniform Multi-Platform E-IDE driver Revision: 6.21
    PIIX4: IDE controller on PCI bus 00 dev 39
    PIIX4: device not capable of full native PCI mode
    PIIX4: device disabled (BIOS)
    TRM290: IDE controller on PCI bus 00 dev 60
    TRM290: not 100% native mode: will probe irqs later
    TRM290: using default config base at 0x3df0
        ide0: BM-DMA at 0x3df4-0x3df6
    TRM290: using default config base at 0x3df0
        ide1: BM-DMA at 0x3d74-0x3d76
    hda: TEKRAM DC-6X0X IDE cacheing controller, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    hda: TEKRAM DC-6X0X IDE cacheing controller, 8063MB w/0kB Cache, CHS=16383/16/63
     /dev/ide/host0/bus0/target0/lun0:hda: lost interrupt
    hda: lost interrupt
    hda: lost interrupt
    hda: lost interrupt
     p1 p2 <hda: lost interrupt
    hda: lost interrupt
     p5hda: lost interrupt
    hda: lost interrupt
     p6hda: lost interrupt
    hda: lost interrupt
     p7hda: lost interrupt
    hda: lost interrupt
     p8 >
    VFS: Mounted root (ext2 filesystem) readonly.
    change_root: old root has d_count=1
    Mounted devfs on /dev
    Trying to unmount old root ... okay
    Freeing unused kernel memory: 156k freed
    NET4: G4KLX/GW4PTS AX.25 for Linux. Version 0.37 for Linux NET4.0
    G4KLX NET/ROM for Linux. Version 0.7 for AX25.037 Linux 2.1
    NET4: Linux IPX 0.38 for NET4.0
    IPX Portions Copyright (c) 1995 Caldera, Inc.
    NET4: AppleTalk 0.18 for Linux NET4.0
    eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
    eepro100.c: $Revision: 1.18 $ 1999/12/29 Modified by Andrey V. Savochkin <saw@msu.ru>
    eth0: OEM i82557/i82558 10/100 Ethernet at 0xc8889000, 00:90:27:1F:48:11, IRQ 20.
      Board assembly 697680-002, Physical connectors present: RJ45
      Primary interface chip i82555 PHY #1.
      General self-test: passed.
      Serial sub-system self-test: passed.
      Internal registers self-test: passed.
      ROM checksum self-test: passed (0x24c9f043).
      Receiver lock-up workaround activated.
    eth1: Intel PCI EtherExpress Pro100 at 0xc888b000, 00:A0:C9:4B:B7:1E, IRQ 21.
      Board assembly 678400-001, Physical connectors present: RJ45
      Primary interface chip i82555 PHY #1.
      General self-test: passed.
      Serial sub-system self-test: passed.
      Internal registers self-test: passed.
      ROM checksum self-test: passed (0x49caa8d6).
      Receiver lock-up workaround activated.
    -- cut --

    Any ideas ?

    P.S. I tried to specify IRQ by hand but looks like I can not do it
    properly or IDE driver just ignores my settings...

    -
    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 : Wed Feb 16 2000 - 09:34:22 EST