Re: Error setting dma to hd
On Sun, 2003-02-02 at 00:20, Calber Chainy wrote:
> Before activating DMA you should check some things.
>
> See if your hard drive supports dma
>
> hdparm -i /dev/hda
>
> /dev/hda:
>
> Model=ST360021A, FwRev=3.19, SerialNo=3HR0YT2A
> Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
> RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
> BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117231408
> IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio1 pio2 pio3 pio4
> DMA modes: mdma0 mdma1 *mdma2 udma0 udma1 udma2
> AdvancedPM=no WriteCache=enabled
>
> In DMA modes you can see the actual set up of your hard drive, mine is
> set to multiword dma.
>
> Also you have to check your kernel configuration, see if you have the
> modules that correctly match your chipset, and you have the right cable,
> the 80 pin one.
>
> lspci shows you what kind of hardware you have in order to install those
> modules.
>
> Also I recomend you to read carefuly man hdparm and see other useful
> things besides DMA that speed up your HD. ( -u -c -m... )
>
> Sometimes there are no correct modules (my case) and the maximum state I
> can reach is multi word dma... but is still better than plain disk
> reading and also better than M$ reading disks.
>
> Hope I have been of some help.
>
> Chainy.
>
Thanks for the info Chainy, I got it working now :)
Elijah
Reply to: