IDE Problem (PDC20267 RAID, linux 2.4.0-test3, ABit dual 533)

From: Jon Morby (jon@fido.net)
Date: Thu Jul 13 2000 - 08:16:48 EST


I'm relatively new to Linux (only having been running it for a year or so,
and having been a serious BSD head before hand) so please excuse any
potentially dumb questions that follow :)

I have recently bought a Promise FastTrak 100 IDE RAID controller and 2 x
IBM Deskstar 76.8Gb IDE disks to connect to it (striped, with a view to
adding 2 as mirrors when I have some more cash)

I've been running the 2.3.99 and 2.4 test kernels for a while, and after
testing / installing the Promise standard (non RAID) ATA100 controller with
one of the Deskstars, I decided to take the plunge and upgrade to the RAID
controller and multiple drives.

Now with the standard IDE/100 controller (using the PDC20267 chipset)
everything works a treat ... however having swapped this for the RAID
version I get the following at boot time (using an ABit BP6 mobo with dual
533 celery's)

PDC20267: IDE controller on PCI bus 00 dev 78
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0xe9000000
PDC20267: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
Mode.
PDC20267: neither IDE port enabled (BIOS)

I've tried removing any and every card that's in there, save the AGP TNT2
card ...

I've tried disabling the on board IDE controllers (to free some more irqs),
but had trouble getting my root disk to boot using the on board HPT366
controller, so this part of my test is inconclusive, however as the PDC20267
based controller worked before, I'm a tad confused.

Is it IRQ based (I've seen some mention of this in the archives that I've
searched), or do I need to do something else?

I'm about ready to start hacking drivers/ide/ide-pci.c to see if I can make
things work, but though I'd ask here before I start rewriting parts of a
kernel I don't know that much about :)

Any help gratefully received!

(additional info just in case it helps ...)

[jon@tango ide]$ cat /proc/interrupts
           CPU0 CPU1
  0: 2981875 3009464 IO-APIC-edge timer
  1: 171 407 IO-APIC-edge keyboard
  2: 0 0 XT-PIC cascade
  9: 0 0 IO-APIC-edge acpi
 12: 0 0 XT-PIC PS/2 Mouse
 13: 1 0 XT-PIC fpu
 14: 89145 89977 IO-APIC-edge ide0
 17: 50649 52155 IO-APIC-level eth0
 18: 2 3 IO-APIC-level ide3
NMI: 6093170 6093170
LOC: 5991045 5991042
ERR: 4

[jon@tango ide]$ uname -a
Linux tango.home.fido.net 2.4.0-test3 #4 SMP Tue Jul 11 22:32:42 BST 2000
i686 unknown

[jon@tango ide]$ ls -la /proc/ide
total 36
dr-xr-xr-x 4 root root 0 Jul 13 15:16 ./
dr-xr-xr-x 70 root root 0 Jul 12 22:37 ../
-r--r--r-- 1 root root 0 Jul 13 15:16 drivers
lrwxrwxrwx 1 root root 8 Jul 13 15:16 hda -> ide0/hda/
lrwxrwxrwx 1 root root 8 Jul 13 15:16 hdg -> ide3/hdg/
-r--r--r-- 1 root root 0 Jul 13 15:16 hpt366
dr-xr-xr-x 3 root root 0 Jul 13 15:16 ide0/
dr-xr-xr-x 3 root root 0 Jul 13 15:16 ide3/
-r--r--r-- 1 root root 0 Jul 13 15:16 pdc202xx
-r--r--r-- 1 root root 0 Jul 13 15:16 piix

[jon@tango ide]$ cat /proc/ide/pdc202xx

                                PDC20267 Chipset.
------------------------------- General
Status ---------------------------------
Burst Mode : enabled
Host Mode : Normal
Bus Clocking : 33 PCI Internal
IO pad select : 10 mA
Status Polling Period : 15
Interrupt Check Status Polling Delay : 15
--------------- Primary Channel ---------------- Secondary
Channel -------------
                enabled enabled
66 Clocking enabled enabled
           Mode MASTER Mode MASTER
                FIFO Empty FIFO Empty
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1 ------
DMA enabled: no no no no
DMA Mode: UDMA 4 NOTSET UDMA 4 NOTSET
PIO Mode: PIO 4 NOTSET PIO 4 NOTSET

[jon@tango ide]$ cat /proc/ide/drivers
ide-cdrom version 4.58
ide-disk version 1.10

[jon@tango /proc]$ cat pci
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 0xe0000000 [0xe3ffffff].
  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 0x9000 [0x901f].
  Bus 0, device 7, function 3:
    Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 2).
  Bus 0, device 13, function 0:
    Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev
48).
      IRQ 17.
      Master Capable. Latency=32. Min Gnt=10.Max Lat=10.
      I/O at 0x9400 [0x947f].
      Non-prefetchable 32 bit memory at 0xeb020000 [0xeb02007f].
  Bus 0, device 15, function 0:
    RAID bus controller: Promise Technology, Inc. 20267 (rev 2).
      IRQ 16.
      Master Capable. Latency=32.
      I/O at 0x9800 [0x9807].
      I/O at 0x9c00 [0x9c03].
      I/O at 0xa000 [0xa007].
      I/O at 0xa400 [0xa403].
      I/O at 0xa800 [0xa83f].
      Non-prefetchable 32 bit memory at 0xeb000000 [0xeb01ffff].
  Bus 0, device 19, function 0:
    Unknown mass storage controller: Triones Technologies, Inc. HPT366 (rev
1).
      IRQ 18.
      Master Capable. Latency=120. Min Gnt=8.Max Lat=8.
      I/O at 0xac00 [0xac07].
      I/O at 0xb000 [0xb003].
      I/O at 0xb400 [0xb4ff].
  Bus 0, device 19, function 1:
    Unknown mass storage controller: Triones Technologies, Inc. HPT366 (#2)
(rev 1).
      IRQ 18.
      Master Capable. Latency=120. Min Gnt=8.Max Lat=8.
      I/O at 0xb800 [0xb807].
      I/O at 0xbc00 [0xbc03].
      I/O at 0xc000 [0xc0ff].
  Bus 1, device 0, function 0:
    VGA compatible controller: nVidia Corporation Riva TnT2 Ultra [NV5] (rev
17).
      IRQ 16.
      Master Capable. Latency=32. Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xe4000000 [0xe4ffffff].
      Prefetchable 32 bit memory at 0xe6000000 [0xe7ffffff].

-
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 Jul 15 2000 - 21:00:16 EST