2001-02-16 17:58:11

by Jason Straight

[permalink] [raw]
Subject: (2.4.1-ac15) Wont set using_dma = 1 with hdparm

With 2.2.18 I can set using_dma = 1 with hdparm on my Dell Inspiron
8000, I cannot with 2.4.1-ac15, so my HD works about 1/3 the speed with
2.4.1.

[root@jkd junfan]# hdparm -I /dev/hda

/dev/hda:

Model=IHATHC_IKD32AB2- 0 , FwRev=000E0A2D,
SerialNo= 11S59T
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=36477, SectSize=579, ECCbytes=4
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39070080
IORDY=yes, tPIO={min:400,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3
*udma4


/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

hdparm v3.9





--
Jason Straight


2001-02-16 20:50:11

by Jason Straight

[permalink] [raw]
Subject: Re: (2.4.1-ac15) Wont set using_dma = 1 with hdparm

Doh, I forgot to turn on the DMA options in the kernel.
Thanks.


Mark Hahn wrote:

> you didn't mention what ide controller you're using,
> which sort of makes a big difference. with modern kernels,
> it shouldn't be necessary to hdparm at all, since you
> can select such config at compile time.
>
>>
>
> which is normal when you haven't configured the chipset-specific
> ide code, and are using generic ide stuff.
>
>
>

--
Jason Straight