Maxtor disk and UDMA

From: f5ibh (f5ibh@db0bm.ampr.org)
Date: Mon Apr 10 2000 - 05:04:01 EST


Thanks for all the guys who helped me.

Some information : I've check the cable, it is a 80 wires cable. BUT : I had
not the disk side end of the cable terminated. I've moved the disk to the end
of the ribbon cable. Now, I can enable DMA : the following commands work :
hdparm -X66 /dev/hda
hdparm -d1 /dev/hda

hdparm -vi gives :
 multcount = 16 (on)
 I/O support = 1 (32-bit)
 unmaskirq = 0 (off)
 using_dma = 1 (on)
 keepsettings = 0 (off)
 nowerr = 0 (off)
 readonly = 0 (off)
 readahead = 8 (on)
 geometry = 1057/255/63, sectors = 16992864, start = 0

 Model=Maxtor 90871U2, FwRev=FA570480, SerialNo=E20DVPHC
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=16
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=0
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=16992864
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 mode2 mode3 *mode4

I tried : hdparm -X67 and hdparm -X68 with no success :
[root@f5ibh] ~ # hdparm -X67 /dev/hda

/dev/hda:
 setting xfermode to 67 (UltraDMA mode3)
ide0: Speed warnings UDMA 3/4 is not functional.

[root@f5ibh] ~ # hdparm -X68 /dev/hda

/dev/hda:
 setting xfermode to 68 (UltraDMA mode4)
ide0: Speed warnings UDMA 3/4 is not functional.

BUT : the disk does not switch to dma at boot time.
I've enabled :

...
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
...
[*] Generic PCI IDE chipset support
[ ] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[ ] Boot off-board chipsets first support
[*] Use PCI DMA by default when available
...
[*] VIA82CXXX chipset support (EXPERIMENTAL)

The speed reported by hdpart -tT is now :

[root@f5ibh] ~ # hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads: 128 MB in 3.48 seconds = 36.78 MB/sec
 Timing buffered disk reads: 64 MB in 6.90 seconds = 9.28 MB/sec
 

----
Regards

Jean-Luc

email: jean-luc.coulon@fnac.net

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