LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-08-2004, 09:03 AM   #1
Radical Edward
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
Dma


Hey anyone out there who can tell me how to turn on DMA under linux? First time I have compiled it from scratch myself and I'm not sure how to do it.
 
Old 10-08-2004, 09:21 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Code:
man hdparm
Oliv'
 
Old 10-08-2004, 09:22 AM   #3
rcrules
Member
 
Registered: Jun 2003
Location: USA
Distribution: Gentoo 2005.0
Posts: 54

Rep: Reputation: 15
(as root/su):
hdparm -d1 (device)
That's it. If you want to just find out what the setting is on currently, just do
hdparm -d (device)

It's often handy to turn on DMA in your startup scripts, too, if it isn't already on by default. If it's already on by default, you don't even need to worry about it. (a lot of times it's already on by default, but check first)

Hope this helps
 
Old 10-08-2004, 09:54 AM   #4
Radical Edward
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
What I was looking for

Well it's what I was looking for but now when I try to set the DMA to on, it just tell me that the operation is not permitted and laughs in my face. But yeah, it was very helpful. Where would I find the startup scripts anyways? This is the first time I have compiled linux from scratch myself, so the install always did it for me before (Redhat, bleah). I like doing it this way much better, works cleaner but at this point I don't know where anything is to modify it myself. Any other help would be apprecaited.
 
Old 10-08-2004, 10:12 AM   #5
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Well if your hard drive supports DMA and that Linux does not want to enable it, it means that you forgot an option in your kernel compilation... So you should look closer ATA/IDE/MFM/RLL support section and IDE, ATA and ATAPI Block devices subsection to be precise

Oliv'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
DMA works but not by default (despite "use DMA by default" kernel) mehlkelm Linux - Hardware 7 04-11-2005 03:29 PM
Dma hpcpg Linux - Hardware 4 03-10-2004 12:54 AM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
Dma InsaneBob Linux - Software 7 07-16-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration