View previous topic :: View next topic |
Author |
Message |
swtaarrs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/6559141213e9c7ae034fb6.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
valheru-m n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
swtaarrs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/6559141213e9c7ae034fb6.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Valen Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|