RE: DVD DMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Keith Winston [mailto:kwinston@twmi.rr.com]
> Sent: Thu, January 09, 2003 8:08 PM
> To: psyche-list@redhat.com
> Subject: Re: DVD DMA
> 
> 
> On Thu, 2003-01-09 at 12:29, Anton Piatek wrote:
> > Hi, i am trying to enable dma in Redhat 8 on my dvd drive, so i can
> > watch dvds. mplayer plays them, except that they are jerky 
> when the dvd
> > has to keep reading, then pauses between reads. I tried 
> adjusting cache
> > options for mplayer with no luck, and tried adjusting the 
> speed of the
> > drive.
> > 
> > does anyone know why 
> > 
> > |# hdparm -d1 /dev/cdrom
> > |
> > |/dev/cdrom:
> > | setting using_dma to 1 (on)
> > | HDIO_SET_DMA failed: Operation not permitted
> > | using_dma    =  0 (off)
> > 
> > fails. the dvd drive is a fairly nice (panasonic?) dvd 
> drive, that plays
> > dvds admirably in windows (when media player will let it...)
> 
> I had the same problem initially.  By default, Red Hat does not allow
> DMA on for _some_ IDE CD-ROMs and DVDs.  To allow DMA to be turned on,
> add this line to the /etc/modules.conf file:
> 
> options ide-cd dma=1 

Another way may be to copy /etc/sysconfig/harddisks to
/etc/sysconfig/harddiskhd<your cdrom dev>
and change the line
#USE_DMA=0
to
USE_DMA=1

I don't remember why you can't change DMA in run-time, I think it related to
disk being mounted/unmounted, but not sure.

Pavel.
> 
> It fixed my performance problems.
> 
> Best Regards,
> Keith
> -- 
> LPIC-2, MCSE, N+
> We drive on this highway of fire
> Got spam? Get spastic http://spastic.sourceforge.net
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list
> 



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux