[ltp] Enabling DMA for T41?
Yip Wai Peng
linux-thinkpad@linux-thinkpad.org
Wed, 23 Jun 2004 04:48:22 +0800
Hi,
I would like to know whether anybody has enabled DMA for T41 yet. I can't
seems to do it.
root # hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
kernal is already
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
HD info are as follows
root # hdparm -i /dev/hda
/dev/hda:
Model=FUJITSU MHT2040AH, FwRev=006C, SerialNo=NP0JT4527113
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=71123954
IORDY=yes, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
I would like to know whether anybody has gotten a working configuration, and
can you post the results of hdparm -Tt /dev/hda as compared to mine?
/dev/hda:
Timing buffer-cache reads: 1780 MB in 2.00 seconds = 888.36 MB/sec
Timing buffered disk reads: 22 MB in 3.14 seconds = 7.02 MB/sec
Thanks,
Waipeng