LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2008, 10:04 AM   #1
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Rep: Reputation: 15
DMA is not enabling


Hi
I have SATA hard drive and under linux it is recongnized as /dev/sda. Following is the output of my /etc/hdparm.conf file;
Code:
/dev/sda {
        mult_sect_io = 16
        write_cache = on
        dma = on
}
When I issue command "sudo hdparm -d /dev/sda", it says;
Code:
star@alpha:~$ sudo hdparm -d /dev/sda

/dev/sda:
 HDIO_GET_DMA failed: Inappropriate ioctl for device
And the command "sudo hdparm -d1 /dev/sda" says;
Code:
star@alpha:~$ sudo hdparm -d1 /dev/sda

/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
star@alpha:~$
According to my knowledge, it shows that the DMA is not enabled, also when I do certain tasks like copying files, my system is under huge burden and I can do other tasks very difficultly. Can anyone help me that how can I solve this problem?
P.S I have following hardware;
Processor: Intel Dual Core 1.8 GHz
Motherboard: Asus P5N-MX (Core 2 quad support)
RAM: 1 GB
Hard Drive: 160 GB SATA (Western Digital)
Thanks
 
Old 12-15-2008, 11:18 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is this for a pata drive or a sata drive. Sata drives are serial devices controlled by a sata controller so the dma options don't apply.
 
Old 12-15-2008, 12:22 PM   #3
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
It is SATA drive. So what are the options for SATA drive?
 
Old 12-16-2008, 04:08 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
AFAIK, dma may be integrated in the controller for the ram/controller side but the controller itself will determine the speed that it communicates with the drive. There is a sdparm program, but I think that deals with modifying scsi parameters which may not be applicable. The dma settings you are thinking of are analogous to the point settings in a carburetor. Modern cars use a different design, and don't have a carburetor with a rotor.

One thing you might want to check if you have a Western Digital drive is a jumper which reduces the speed of the drive from 3 GBs to 1.5 GBs. The sata controller in an external drive may operate at a slower rate, and probably has a WD drive with this jumper set. I think that new WD drives come with the jumper installed, so pulling it out will increase your speed if your controller can handle the faster speed.
 
Old 12-16-2008, 09:07 AM   #5
usa1234
Member
 
Registered: Aug 2004
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
One thing you might want to check if you have a Western Digital drive is a jumper which reduces the speed of the drive from 3 GBs to 1.5 GBs. The sata controller in an external drive may operate at a slower rate, and probably has a WD drive with this jumper set. I think that new WD drives come with the jumper installed, so pulling it out will increase your speed if your controller can handle the faster speed.
Thanks. I will definitely check the jumper and will post the results there
 
Old 12-16-2008, 04:29 PM   #6
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
Never heard of a carb with a rotor..lol.. I think you ment a distributor..not a carb..Cams connected to the distrubutor shaft,,rotor turns and makes contact with distributor cap..send juice to spark plug..then you have BANG..these days it controlled by the ECU..
http://en.wikipedia.org/wiki/Engine_Control_Unit

Last edited by stratotak; 12-16-2008 at 04:35 PM.
 
  


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
Enabling DMA paragkalra Linux - Hardware 10 03-31-2008 09:52 PM
problem enabling dma matrixon Linux - Hardware 2 04-30-2005 12:50 AM
Enabling DMA - tried everything? imranakbar Linux - Hardware 2 01-18-2005 02:49 AM
Enabling DMA DeadlyMuffin Slackware 4 07-19-2004 09:24 PM
Enabling DMA bizzikid Linux - Newbie 4 08-06-2003 05:56 AM

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

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