LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-05-2005, 09:25 AM   #1
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Rep: Reputation: 15
How can I check if DMA is enabled?


Hi,
Can someone tell me how to check if DMA is enabled and if not, how can I enable it?
 
Old 06-05-2005, 09:29 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
In a term as root issue "hdparm -iI /dev/hdx" where x is the device
you wish to check. Then read "man hdparm" for details.
 
Old 06-05-2005, 09:36 AM   #3
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Original Poster
Rep: Reputation: 15
Re: How can I check if DMA is enabled?

Quote:
Originally posted by LegendBreath
Hi,
Can someone tell me how to check if DMA is enabled and if not, how can I enable it?
Umm...
bash: hdparm: command not found
 
Old 06-05-2005, 09:38 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
As root, mate!
 
Old 06-05-2005, 10:32 AM   #5
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Chinaman
As root, mate!
Emmm... I know that, but, it doesn't work...
 
Old 06-05-2005, 10:43 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I don't know...maybe your distro doesn't include it.
Issue "whereis hdparm" and if it's there, then issue
the command with the entire path. If it's not there, then
get the package or get a better distro.
 
Old 06-06-2005, 03:49 AM   #7
Martin Rasch
LQ Newbie
 
Registered: Jun 2005
Location: Johnson City TN
Distribution: Suse 10.2, 10.3 Fedora Core 5 and Windows XP
Posts: 17

Rep: Reputation: 1
Smile Reserved Commands

HDPARM and other system commands are reserved and live in the folder sbin off the / root.
To get to them quickly while in a terminal windows cd /sbin
After you are in the sbin dir do a ls h* . You will see the file hdparm. Executing hdparm
by it's self will list command options. For your question do hdparm /dev/hda for the first hard drive or hdparm /dev/hdb for the second drive. The listing of commands will allow for setting and unsetting DMA access. Why do you wan't to set DMA off. Most times people go to great
pains to try and get DMA enabled for the SPEED advantages. You can also use hdparm to check if the CD drive has DMA set. If you are doing any kind of MUSIC or VIDEO the DMA being on
will be critical to get things to work correcly.

Hope this all helps.
Martin
 
Old 06-06-2005, 05:22 AM   #8
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Original Poster
Rep: Reputation: 15
Re: Reserved Commands

Quote:
Originally posted by Martin Rasch
HDPARM and other system commands are reserved and live in the folder sbin off the / root.
To get to them quickly while in a terminal windows cd /sbin
After you are in the sbin dir do a ls h* . You will see the file hdparm. Executing hdparm
by it's self will list command options. For your question do hdparm /dev/hda for the first hard drive or hdparm /dev/hdb for the second drive. The listing of commands will allow for setting and unsetting DMA access. Why do you wan't to set DMA off. Most times people go to great
pains to try and get DMA enabled for the SPEED advantages. You can also use hdparm to check if the CD drive has DMA set. If you are doing any kind of MUSIC or VIDEO the DMA being on
will be critical to get things to work correcly.

Hope this all helps.
Martin
You got me wrong... I want to enable it, well thanks
 
  


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
Harddisk Performance Problem - DMA enabled ;-) DonSam Linux - General 23 11-13-2005 06:15 PM
Slackware 10.1 -- DMA not enabled Pozican Linux - Hardware 2 06-16-2005 10:27 AM
is dma enabled? zepplin611 Linux - Hardware 3 06-09-2004 06:37 PM
DMA Enabled or not hiteshmaisheri Linux - Software 2 01-11-2004 09:02 AM
DMA not enabled during linux startup premsaggar Linux - Hardware 3 12-11-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:14 AM.

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