enabling dma on hda1


Forum: HD Install
Topic: enabling dma on hda1
started by: cameron20020

Posted by cameron20020 on Aug. 15 2004,06:44
how do i enable dma on my hard drive, i just did a damn small linux install on my hard drive, and i want to enable dma so it will go faster
Posted by adraker on Aug. 15 2004,07:34
cameron20020-
I think it's still the case that you
can enter "dsl dma" at boot time
to enable dma on your drives-
hitting F2 will show all the boot options.
Or the hdparm command can be used,
but off the top of my head I can't
remember the details of the switches.
Use with caution,it is safer to use the
boot option.

Posted by adraker on Aug. 15 2004,07:40
aah,sorry,just realised we're
in hdinstall,search net for manpage
of hdparm,your command will be
something like hdparm -d1 -X34 /dev/hda
check out the manpage first.

Posted by cbagger01 on Aug. 15 2004,18:07
Keeping in mind that hdparm should be run as user "root":

sudo hdparm -d 1 /dev/hda

for example.

Posted by cameron20020 on Aug. 17 2004,10:31
i tried it, my hdd is meant to be compatible with dma1 dma2 udma1 udma2, however when i type in
sudo hdparm -d 1 /dev/hda1
it says HDIO_SEYT_DMA failed:invalid argument

Posted by cbagger01 on Aug. 17 2004,11:29
Don't put the "1" at the end of your device name.

The correct command is:

sudo hdparm -d 1 /dev/hda

HTH...

Posted by clivesay on Aug. 17 2004,14:44
See this link for info about hdparm that Rob posted in the Feather forum.

Chris

< Performance Tips >

Posted by ke4nt1 on Aug. 17 2004,15:26
The command is drive based, not partition based..

"hdparm -d1 /dev/hda"

73
ke4nt

Posted by cameron20020 on Aug. 18 2004,08:08
thanks it worked from 2mb/s to 11mb/s, however my hdd is meant to work with dma2, but is only compatible with the -d1 command
Posted by cbagger01 on Aug. 18 2004,11:27
-d1 command is just the "ON" button for DMA. It does not specify the DMA/UMDA performance level.

See below for additional command line options regarding this program, especially the commentary next to the "-X" option:

< http://www.die.net/doc/linux/man/man8/hdparm.8.html >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.