LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2003, 12:24 AM   #1
bennyp
Member
 
Registered: Apr 2003
Posts: 43

Rep: Reputation: 15
DVD DMA Dillema


so i've got this DVD-ROM/CD-RW combo drive made by LG, only problem is, i can't enable dma in linux!!! I managed to enable DMA in windows 98 (or so it seems right now) but the playback was still somewhat (although rarely) choppy.
here's my fstab:
Code:
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdc5               swap                    swap    defaults        0 0
/dev/hdb1               /mnt/D                  vfat    defaults,umask=0000 0 0
/dev/hda2               /mnt/C                  vfat    defaults,umask=0000 0 0
/dev/hdc                /mnt/dvd                iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu, 0 0
i know form watching my bios boot up that both cd drives are UDMA 33
and that DMA whatsits in the BIOS is set to auto (while IRQ seems to be set up 'manually' with a big list of irqs)
and looky here!
Code:
[root@elmer bennyp]# /sbin/hdparm -d /dev/hda /dev/hdb /dev/hdc /dev/hdd

/dev/hda:
 using_dma    =  1 (on)
/dev/hdb:
 using_dma    =  1 (on)
/dev/hdc:
 using_dma    =  0 (off)
/dev/hdd:
 using_dma    =  0 (off)
IDE1 = hard disks
IDE2 = CDs

I read some mailing list backups on google that told me about a wild series of adventures in frustration and tearing computers apart that ended up helping this one guy, but fsck that!
i've tried switching the IDE cables to no avail. I think it's probably a software problem but i can't be sure, it could be hardware.

as I say, i watched my movie in win98 and it did much better. in linux it was skipping every second, in windows only occasionally and not that badly (which could be accounted for by windows' shittyness)

anyways i want to fix this up nice asap.
now i'm off to see if i can at least get the burner working.

edit: could this have something to do with which files point to which inside /dev/ ?? refresh my memory on how to take control of the wild jungle that is the dev section

Last edited by bennyp; 05-01-2003 at 12:25 AM.
 
Old 05-01-2003, 04:16 AM   #2
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
you can enable dma for your dvd drive like this: hdparm -d1 /dev/hdc
(you have to be in a root console to use the hdparm command). add
this command to your startup script so that it is executed when you
boot your system.
 
Old 05-01-2003, 10:33 AM   #3
bennyp
Member
 
Registered: Apr 2003
Posts: 43

Original Poster
Rep: Reputation: 15
that's no good, i get HDIO_SET_DMA not permitted or whatever the error is
 
  


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
No DMA on DVD Drive cootetom Linux - Hardware 12 06-01-2006 09:38 AM
can't get DMA to CD and DVD writers 2.6.10 miquelo Linux - Hardware 1 02-14-2005 04:56 PM
How do I enable DMA for my DVD jbasement Debian 2 10-14-2004 08:55 PM
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 05:58 AM
dma and dvd MightyKC Linux - General 11 07-04-2003 09:29 AM


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