LinuxQuestions.org
Help answer threads with 0 replies.
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 08-17-2003, 03:37 PM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
Harddisk in DMA mode


I've seen a thread where it is stated that to ensure good performance (in terms of speed) the harddisk should be in DMA mode. i therefore ask 2 questions:

(1) how can i know whether my hd is operating in DMA or not (I'm using RH9)

(2) if it is not enabled, how can i do it, and does it involve risks?

THanks.
 
Old 08-17-2003, 08:06 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Do (shouldn't need to be root)

% hdparm /dev/hdc (or whatever your drive is)

and look for a line:

using_dma = 1 (on)

If it's off, log in as root and do 'hdparm -d1 /dev/hdc'. Then you should be OK. You can use 'hdparm -tT' to test performance. DMA makes a huge difference in disk performance.

Apparently DMA can cause problems and destroy data. I'm not sure how to check your hardware, other than by trying it out. I think it is mainly a problem with older systems. All hardware I've tried going back maybe 6-7 years gave no problems.
 
Old 08-17-2003, 08:13 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
you should have to be root to issue the command hdparm, unless you have given a normal user privledges to issue this command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Dma Disabled devansh Linux - Hardware 4 06-17-2005 12:17 AM
Harddisk DMA error? aiza Linux - Hardware 1 09-23-2004 05:46 AM
Howto activate DMA Mode on HardDisk Drive krasi Linux - Software 3 07-05-2004 03:59 PM
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
how to turn off dma for harddisk? bejamex Linux - Newbie 1 06-13-2003 11:18 AM

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

All times are GMT -5. The time now is 12:18 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