Re: Are WDC AC33100H & AC31600H DMA-safe?

David Whysong (dwhysong@physics.ucsb.edu)
Thu, 21 Jan 1999 13:46:19 -0800 (PST)


On Thu, 21 Jan 1999, Koby Kahane wrote:

>I have recently upgraded from 2.0.36 to 2.2.0-pre9
>
>I've noticed that my boot messages say that DMA is disabled for my
>2nd and 3rd hard disks. Is it safe for me to enable DMA (via hdparm)
>for these drive models or should I stick to none-DMA mode?

I don't know about the AC33100H, but my AC31600H has worked perfectly with
DMA for about 3 years. I don't know why it has been blacklisted...

[root@Sleepy dwhysong]# grep '/dev/hdb' /etc/rc.d/rc.local
hdparm -m16 -u1 -c1 -d1 /dev/hdb

[root@Sleepy dwhysong]# hdparm -i /dev/hdb

/dev/hdb:

Model=WDC AC31600H, FwRev=23.16U73, SerialNo=WD-WT289
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=3148/16/63, TrkSize=57600, SectSize=600, ECCbytes=22
BuffType=3(DualPortCache), BuffSize=128kB, MaxMultSect=16, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
(maybe): CurCHS=787/64/63, CurSects=3173184, LBA=yes, LBAsects=3173184
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
IORDY=on/off, tPIO={min:160,w/IORDY:120}, PIO modes: mode3 mode4

[root@Sleepy dwhysong]# hdparm /dev/hdb

/dev/hdb:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 787/64/63, sectors = 3173184, start = 0

Dave

David Whysong dwhysong@physics.ucsb.edu
Astrophysics graduate student University of California, Santa Barbara
PGP public keys available at http://www.physics.ucsb.edu/~dwhysong/pgpkey.asc
DSS PGP Key 0x903F5BD6 : FE78 91FE 4508 106F 7C88 1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91 : BC33 0F36 FCCD E72C 441F 663A 72ED 7FB7 5DAB 0F91

-
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/