Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling DMA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
swtaarrs
n00b
n00b


Joined: 15 Apr 2003
Posts: 29
Location: Eastern Massachusetts

PostPosted: Sat Apr 19, 2003 2:10 am    Post subject: Enabling DMA Reply with quote

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
View user's profile Send private message
valheru-m
n00b
n00b


Joined: 19 Apr 2003
Posts: 3

PostPosted: Sat Apr 19, 2003 2:41 am    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sat Apr 19, 2003 11:37 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sat Apr 19, 2003 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
swtaarrs
n00b
n00b


Joined: 15 Apr 2003
Posts: 29
Location: Eastern Massachusetts

PostPosted: Tue Apr 22, 2003 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Valen
Apprentice
Apprentice


Joined: 18 Aug 2002
Posts: 197
Location: Toronto, Ontario, Canada

PostPosted: Tue Apr 22, 2003 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum