[ltp] Enabling DMA for T41?

Rich Smrcina linux-thinkpad@linux-thinkpad.org
Tue, 22 Jun 2004 16:08:39 -0500


Back when I was on RedHat 9, I had to get a new kernel RPM from RH to be
able to do this.  I run SuSE 9 now and don't have any problem.

On Tue, 2004-06-22 at 15:48, Yip Wai Peng wrote:
> 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
-- 
Rich Smrcina
illustro Systems International
rsmrcina at illustro.com

Catch the WAVV!
Update your zSeries skills in 4 days.
WAVV 2005 in Colorado Springs, CO
May 20-24, 2005
For details see http://www.wavv.org