View previous topic :: View next topic |
Author |
Message |
swtaarrs n00b


Joined: 15 Apr 2003 Posts: 29 Location: Eastern Massachusetts
|
Posted: Sat Apr 19, 2003 2:10 am Post subject: Enabling DMA |
|
|
I just got gentoo installed, and I'm in it running lynx right now. How do I check if DMA is enabled on my hard drives and enable it if it's disabled? |
|
Back to top |
|
 |
valheru-m n00b

Joined: 19 Apr 2003 Posts: 3
|
Posted: Sat Apr 19, 2003 2:41 am Post subject: |
|
|
As root, run hdparm /dev/hda (if that's your hard drive). That will give you the statistics including dma. If you want to set DMA on, run hdparm /dev/hda -d1. Take a look at section 3.4 of the gentoo install guide for more details about hdparm. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20589
|
Posted: Sat Apr 19, 2003 11:37 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sat Apr 19, 2003 2:58 pm Post subject: |
|
|
valheru-m wrote: | As root, run hdparm /dev/hda (if that's your hard drive). That will give you the statistics including dma. If you want to set DMA on, run hdparm /dev/hda -d1. Take a look at section 3.4 of the gentoo install guide for more details about hdparm. |
The option should appear before the device:
Code: | # hdparm -d1 /dev/hda |
_________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
swtaarrs n00b


Joined: 15 Apr 2003 Posts: 29 Location: Eastern Massachusetts
|
Posted: Tue Apr 22, 2003 12:25 am Post subject: |
|
|
I tried hdparm -d1 /dev/hda, but it didn't work. I know that my drive supports dma, it was enabled and working in Windows, and it's a fairly new drive. Any ideas? |
|
Back to top |
|
 |
Valen Apprentice

Joined: 18 Aug 2002 Posts: 197 Location: Toronto, Ontario, Canada
|
Posted: Tue Apr 22, 2003 2:05 am Post subject: |
|
|
Did you compile support for your motherboard chipset into your kernel?
If not, it can be found under ATA/IDE/MFM/RLL support ---> in the kernel configuration. |
|
Back to top |
|
 |
|