IDE disks with DMA modes (?): why DMA disabled ?

Riccardo Facchetti (fizban@mbox.vol.it)
Thu, 29 May 1997 08:14:05 +0200 (MET DST)


Hello,
this is for IDE gurus. I have these four IDE devices attached to my
Tomcat IIID, PIIX3 (hdd is a CDROM):

/dev/hda:

Model=QUANTUM LPS270A, FwRev=A57.E700, SerialNo=18240279
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs }
RawCHS=944/14/40, TrkSize=20480, SectSize=512, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=96kB, MaxMultSect=8, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=944/14/40, CurSects=528640, LBA=no
tDMA={min:150,rec:150}, DMA modes: sword0 sword1 *sword2 mword0 *mword1
IORDY=on/off, tPIO={min:333,w/IORDY:180}, PIO modes: mode3

/dev/hdb:

Model=ST51080A, FwRev=09.09.01, SerialNo=EAN55440
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=2100/16/63, TrkSize=65535, SectSize=987, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=32, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
CurCHS=2100/16/63, CurSects=2116800, LBA=yes, LBAsects=2116800
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 *mword0 mword1 mword2
IORDY=yes, tPIO={min:180,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdc:

Model=ST32132A, FwRev=12.12.03, SerialNo=GCG58213
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=4095/16/63, TrkSize=36240, SectSize=584, ECCbytes=16
BuffType=3(DualPortCache), BuffSize=120kB, MaxMultSect=16, MultSect=4
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=4095/16/63, CurSects=4127760, LBA=yes, LBAsects=4127760
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 *mword0 mword1 mword2
IORDY=yes, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdd:

Model=LTN106A, FwRev=1.30, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=0kB, MaxMultSect=0
DblWordIO=no, maxPIO=4(?), DMA=yes, maxDMA=1(medium)
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
tDMA={min:150,rec:150}, DMA modes: *mword0 mword1
IORDY=yes, tPIO={min:227,w/IORDY:180}, PIO modes: mode3

At boot I receive:

PIIX3: bus-master IDE device on PCI bus 0 function 57
ide0: BM-DMA at 0xf000-0xf007
ide0 master: sample_CLKs=5, recovery_CLKs=4
master: fastDMA=no PreFetch=off IORDY=off fastPIO=off
slave : sample_CLKs=3, recovery_CLKs=1
slave : fastDMA=yes PreFetch=on IORDY=on fastPIO=on
ide1: BM-DMA at 0xf008-0xf00f
ide1 master: sample_CLKs=3, recovery_CLKs=1
master: fastDMA=yes PreFetch=on IORDY=on fastPIO=on
slave : sample_CLKs=3, recovery_CLKs=3
slave : fastDMA=yes PreFetch=on IORDY=on fastPIO=on

All these four devices have DMA modes. Why only the first one is working
with DMA ?
hdb, hdc and hdd are all "DMA disabled" during boot.
I suspect this have something to do with the fastDMA=yes, but I have no
idea about the real behavior of my hardware.

Ciao,
Riccardo.