Subject: UltraDMA (was Re: Hotrod + 60GB Maxtor)
To: Jarkko Teppo <jarkko.teppo@er-grp.com>
From: Jarkko Teppo <jarkko.teppo@er-grp.com>
List: port-alpha
Date: 04/03/2003 11:11:05
Jarkko Teppo said:
> Any ideas if the UltraDMA-problem is related to the controller or the
> drive (or NetBSD) ?

OK, I tried another controller, Innovision EIO-1680 Ultra ATA 133 RAID,
based on Sil 0680.

pciide0 at pci0 dev 12 function 0: Silicon Image 0680 (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using kn20aa irq 4 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Maxtor 4D060H3>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58627 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 120069936 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)

Now that's the fastest mode I could get the drive to function. If
I try to configure wd with flags 0x0000 it starts to use UDMA mode 5
but immediately when I hit the disk with disklabel, mount, whatever it
starts to generate errors, including CRC and degenerates into plain
PIO without DMA.

With flags 0xfac I get approx. 2000+ KB/s. If I try to use UltraDMA
in any way (automatic, forcing flags to UDMA1 etc.) it falls back to
plain PIO and then I get approx. 1MB/s.

I've tried an Alphastation 500 and a 600, with 1.6L, 1.6M and 1.6Q. I've
changed the cables a few times. It's not a PSU-problem (at least not with
the AS 600).

Does anyone have any ideas what to do ? In general I'm not picky but
trust me, 2MB/s is sloooow.

TIA,
-- 
jht