LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2007, 01:20 AM   #1
ankit_mcgill
Member
 
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Rep: Reputation: 15
DMA for SATA disk


Hi all,

I am trying to set up my linux to read dvd movies .. i have install all the libraries and the codecs.

Now my computer reads the DVD but its very jerky .. so i realized i needed to turn on the DMA on for th drive

however when i issued the command i got :

Code:
ANKIT-LAPTOP:/dev # hdparm -d1 /dev/dvd

/dev/dvd:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
did a bit of googling and found out that hdparm does not support SATA drives ....

now my question is what can i do to turn on the DMA ? right now it takes over an hour to burn a DVD ?!

thanks for all the help
a
 
Old 10-08-2007, 06:33 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
You may want to start by checking your BIOS settings.
 
Old 10-08-2007, 08:13 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Jerky?

More than drive access parameters can give you choppy video. Check your video card setting and make sure you have some sort of video acceleration enabled for the video card. Video was jerky on my system till I re-install the video drivers.
 
Old 10-08-2007, 08:29 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Sata uses sdparm although for some reason I still have to use hdparm for my SATA disks (it seems to me that my motherboard isn't fully supported yet). optical drives, by the way, don't support the high DMA modes that hard drives do. I can get DMA7 for my hard drives but no more than 3 for the optical drives.

As pointed out above, it could just as well be a video driver issue. Play around with the output options (xv, gl, etc.) to see whether it makes a difference. But that wouldn't explain why it takes an hour to burn a dvd, that does seem a DMA issue.

Last edited by jay73; 10-08-2007 at 08:30 PM.
 
  


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
SATA drives and DMA SilverEagle Linux - Hardware 6 10-11-2007 09:39 AM
Disk (SCSI/SATA/ATA) Host Bus Adapter DMA weshutchins Linux - General 2 08-16-2006 10:18 AM
sata dma problem matrixon Linux - Software 2 02-01-2006 08:03 AM
SATA drive != DMA CyberIron Linux - Hardware 6 10-05-2005 06:05 PM
sata segate dma problems...still talkinggoat Linux - Hardware 1 02-14-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration