LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD-Rom DMA (https://www.linuxquestions.org/questions/linux-hardware-18/cd-rom-dma-34839/)

Tnadrev 11-07-2002 01:36 PM

CD-Rom DMA
 
I am running RedHat 8 /w kernel 2.4.18 and i am trying to get dvds to play... i am using xine, and everything is working except the video is incredibly choppy, and my dvd reads very infrequently, i tried reading the "imrpove performance" faq for xine, and it says to enable DMA on my dvd... only thing is, i have tried everything and can't get it to work, i get the error :
HDIO_SET_DMA failed: Operation not permitted
from hdparm

any ideas?

acid_kewpie 11-07-2002 01:44 PM

you are root i presume?

p.s. xine sucks, use http://mplayerhq.hu

Tnadrev 11-07-2002 01:48 PM

yeah...

motorheadabega 11-07-2002 09:26 PM

I am having the same issue with Red Hat 8.

Enabling DMA should have nothing to do with which player app you use though. I have tried Xine, mplayer (still the best), and now I'm playing with videolan (not so great). I still can't imagine the player has much to do with it.

My other searches have only turned up arcane mailing list postings regarding this issue, but no one has suggested a solution I can act on.

The next thing I intend to try is a BIOS update, but I don't hold out much hope for that either.

Enough other people are experiencing this issue. I hope somebody here has some ideas. I'm all tapped out for now.

Anyway, here's my relevant system details:
  • MSI 745 Mainboard
  • Athlon 2000XP+
  • DDU1621 DVD-ROM drive (Matsushita I think)
  • Red Hat 8.0
Please let me know if you think I left out something important

chemist109 11-08-2002 10:18 PM

Enable DMA in RH 8.0
 
I had the same problem. Here's the solution from Red Hat's web site:

NOTE: As with the 8.0 release, IDE DMA on CD-ROM drives is disabled by
default. If you are sure that your CD-ROM drive is capable of IDE
DMA, place the following line in the /etc/modules.conf file:

options ide-cd dma=1

I did it and now DVD is smooth as silk.

Chameleon 11-08-2002 10:22 PM

http://linux.oreillynet.com/pub/a/li...29/hdparm.html

Tnadrev 11-09-2002 02:13 AM

Quote:

Originally posted by Chameleon
http://linux.oreillynet.com/pub/a/li...29/hdparm.html
did you read my post?

hdparm wasn't working!
also thought it was funny because i posted that link about a week ago...

http://www.linuxquestions.org/questi...&pagenumber=13

thanks chemist!! going to try that right now!

Tnadrev 11-09-2002 02:26 AM

works perfectly!!!!

thanks a whole bunch... only a few steps away until i could use linux as my full time os...

Chameleon 11-09-2002 03:57 AM

Quote:

Originally posted by Tnadrev
did you read my post?

hdparm wasn't working!

Sorry, I guess I didn't read it close enough.
:(

Quote:

also thought it was funny because i posted that link about a week ago...

I just joined yesterday.
:rolleyes:

Tnadrev 11-09-2002 09:33 AM

sorry if you thought i was flaming...
anyways, that was a good article... thanks for the thought... my dvds work perfectly now so i am :cool:

i think that that enable dma thing should be more obviously documented....

Chameleon 11-09-2002 06:47 PM

It would be nice if it was an option during install.

chemist109 11-09-2002 09:08 PM

Linux as full-time OS...
 
Tnadrev:

Glad I could help! I myself have been 100% Linux on my home machine for two weeks today.

Here are a few of my favorite links that helped with my transition. Be warned, they are RedHat 8.0 specific:

Make it pretty:
http://www.kde-look.org/
(the crystal icons are awesome!)

Get MP3, DVD, Package Management:
http://www.osnews.com/story.php?news_id=1890

Browse NTFS without recompiling Kernel:
http://linux-ntfs.sourceforge.net/info/redhat.html

Get a better screensaver if you are using KDE (like me!):
http://www.jwz.org/xscreensaver/man1.html#12

Get a working CD burner:
http://www.xcdroast.org/
(Update: I found a burner that I like even better-- K3B)
http://k3b.sourceforge.net/

Install Mozilla (1.2.1)with Excellent Anti-aliased Fonts:
http://ftp.mozilla.org/pub/mozilla/r...xft/RPMS/i386/

(You should read the Release Notes for 1.2.1 at http://www.mozilla.org/releases/mozilla1.2.1/ Also, this:
http://www-uxsup.csx.cam.ac.uk/~jw35/docs/ms-fonts.html will be helpful in setting up TrueType fonts)

Warlock|USKTA| 01-03-2003 04:23 AM

I have the VERY same issue however when I turned the options dma thing on in my modules.conf file , dvd's don't play at all.

I have been hitting up the ogle user-list and everything they have suggested helps but not that much.

Any clues as to what else I can try?

Video is super choppy without dma turned on but when I turn dma on, dvd's wont play at all. Every program seg-faults out. (every program = every dvd playing program 'ogle/xine/vlc')

acid_kewpie 01-03-2003 04:30 AM

use mplayer.

Warlock|USKTA| 01-03-2003 05:06 AM

hehe, if things were only so simple...

After I installed mplayer, the comand line version works but not the gui. I get fatal errors in the gui of mplayer.

Also,
when I play in cli... video is not choppy but it's all garbled..


All times are GMT -5. The time now is 11:52 AM.