LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-01-2002, 03:00 PM   #1
Morpheusman
LQ Newbie
 
Registered: Aug 2002
Location: Salt Lake City Utah
Distribution: Several.
Posts: 3

Rep: Reputation: 0
DMA for a DVD Drive?


How do I configure Linux to enable DMA on start-up for a DVD drive.

I've installed Ogle so that I can use my computer to watch DVDs, however, the playback stutters terribly. From some searches I've done on the web it looks like I need to use a "hdparm" command, but I don't know how or where to input the command to enable DMA at start-up.

Operating System: Red Hat 7.3
Processor: Celeron 566@850
Memory: 96MB of Junk Memory
Video Card: Radeon 32MB DDR LE
DVD: ASUS E616 (capable of UDMA100)
Hard Drive: IBM GXP75 - 45GB
 
Old 08-01-2002, 03:22 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
read man hdparm for the correct parameters to use.

WARNING: I am no expert at this and only use hdparm on my hard drives with no obvious speed boost. This may not fix your prob and may rodger things in a good and proper fashion. Read the texts first so you can decide on the safety of the procedure yourself.

from my reading this is what you need. you'll need to be root by typing su and then the root password (this is all done at the command line)
Code:
hdparm -x34 d1 /dev/yourdvddrive
If that work ok then put it in your start up script rc.local. I don't use red hat so only know that this file is somewhere in /etc/rc.d/

to check it is working use the following commands before and then after the previous command (not sure whether this works with DVD drives [not sure any of this does] but you'll definately need a data cd in it of some description).

Code:
hdparm -tT /dev/DVDdevice
This will give you information about the throughput of the ide device.

That may work though that last command will need to be done several times to get an average (preferably with as few processes running as possible) of the speed of your drive interface.

On a side note, what may make things wizz a long at a better pace would be to make sure that your ide bus is nipping along at its fastest capable speed. ask if you need more help on how to do this (if not dfone already).

Alex

P.S. wow, 300 posts now......

Last edited by webtoe; 08-01-2002 at 03:27 PM.
 
Old 08-01-2002, 04:58 PM   #3
Morpheusman
LQ Newbie
 
Registered: Aug 2002
Location: Salt Lake City Utah
Distribution: Several.
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Webtoe, I'll try it.
 
Old 08-02-2002, 04:56 PM   #4
Morpheusman
LQ Newbie
 
Registered: Aug 2002
Location: Salt Lake City Utah
Distribution: Several.
Posts: 3

Original Poster
Rep: Reputation: 0
Got it working last night. If anyone is interested, the actual command for my system was:

hdparm -d1 /dev/cdrom

(Red Hat sees my DVD as a cdrom, although it still plays DVDs)

Thanks again Webtoe!
 
  


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
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
No DMA on DVD Drive cootetom Linux - Hardware 12 06-01-2006 08:38 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 and dvd MightyKC Linux - General 11 07-04-2003 08:29 AM

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

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