Subject: Re: IDE UDMA hangs on BP6 (HPT366)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: port-i386
Date: 08/25/2000 01:53:06
   On Aug 24, 16:48, Kazushi (Jam) Marukawa wrote:
   > Subject: Re: IDE UDMA hangs on BP6 (HPT366)
   > > What happens if you use only 2 drives, both on the Ultra/66 channels ?
   > 
   > Ok.  I'll try to such configuration using 2 drives on 2
   > UDMA66 channlels.

I tested some more configurations.  The result is strange.
When I connected onle two IDE drives, it worked fine.  I
added 3rd one, then got error.  So, I guessed the reason is
more than two drives.  However, when I add three drives but
actually two kinds, it worked fine like 3rd configuration.


 1) DJNA at IDE3-1 and Max60 at IDE4-2 is OK.
 2) DJNA at IDE3-1, Max40 at IDE4-1, and Max60 at IDE4-2 is
    bad.  I got following message.  Note: pciide1 is IDE3
    since pciide0 is assigned as IDE1 and IDE2 although they
    are ignored by kernel like following dmesg output.

  pciide1:0:0: lost interrupt
          type: ata tc_bcount: 65536 tc_skip: 0
  pciide1:0:0: bus-master DMA error: missing interrupt, status=0x21

 3) DJNA at IDE3-1, Max60 at IDE3-2, and Max60 at IDE4-2 is
    OK.


Here is a part of the output from dmesg of configuration 3.


  pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
  pciide0: bus-master DMA support present
  pciide0: primary channel wired to compatibility mode
  pciide0: disabling primary channel (no drives)
  pciide0: secondary channel wired to compatibility mode
  pciide0: disabling secondary channel (no drives)
  ...
  pciide1 at pci0 dev 19 function 0: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
  pciide1: bus-master DMA support present
  pciide1: primary channel wired to native-PCI mode
  pciide1: using irq 11 for native-PCI interrupt
  wd0 at pciide1 channel 0 drive 0: <IBM-DJNA-372200>
  wd0: drive supports 16-sector pio transfers, lba addressing
  wd0: 21557 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 44150400 sectors
  wd0: 32-bit data port
  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
  wd1 at pciide1 channel 0 drive 1: <Maxtor 96147U8>
  wd1: drive supports 16-sector pio transfers, lba addressing
  wd1: 58623 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120060864 sectors
  wd1: 32-bit data port
  wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
  wd0(pciide1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (using DMA data transfers)
  wd1(pciide1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (using DMA data transfers)
  pciide2 at pci0 dev 19 function 1: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
  pciide2: bus-master DMA support present
  pciide2: primary channel wired to native-PCI mode
  pciide2: using irq 11 for native-PCI interrupt
  wd2 at pciide2 channel 0 drive 1: <Maxtor 96147U8>
  wd2: drive supports 16-sector pio transfers, lba addressing
  wd2: 58623 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120060864 sectors
  wd2: 32-bit data port
  wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
  wd2(pciide2:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (using DMA data transfers)

Regards,
-- Kazushi
"They make a desert and call it peace."
		-- Tacitus (55?-120?)