?
Solved

Slow DVD Playing, CD Burning - Cant enable DMA

Posted on 2003-11-08
6
Medium Priority
?
797 Views
Last Modified: 2011-09-20
I just installed Linux around Halloween, but I am trying my best to learn. However, I've run into a few problems that I couldn't fix by reading the documentation, and I was hoping that someone could give me a few pointers as to the correct course of action to take.

First, for DVD playing. I've installed mplayer, totem, and gxine, and they all are having problems playing DVDs. Mplayer just doesn't work - sometimes it'll play the movie trailer (quite smoothly actually, but without sound), and sometimes it won't play anything. Totem and Gxine both play the DVDs fine, but with a huge amount of skipped frames. I tried using hdparm -d1 /dev/hdd (my dvdrom drive), but it said:

root@nebula dev # hdparm -d1 /dev/hdd

/dev/hdd:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)


Also, when I boot up, I receive an error about DMA on my hard drive. It tells me that DMA is not enabled on my hard drive, and that the fsck process would be slow. DMA can't be enabled on my hard drive either (with the same error). I've done some reading, and I've found out that if dma can't be enabled, then there is likely a problem with kernel settings. I've checked them over, and I can't seem to find anything wrong. Here are the settings I'm using: (this is kernel 2.6.0-test9-mm2)

<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
--- Please see Documentation/ide.txt for help/info on IDE drives
[ ] Use old disk-only driver on primary interface
<*> Include IDE/ATA-2 DISK support
[ ] Use multi-mode by default
[ ] Auto-Geometry Resizing support
<*> Include IDE/ATAPI CDROM support
< > Include IDE/ATAPI TAPE support (EXPERIMENTAL)
<*> Include IDE/ATAPI FLOPPY support
<*> SCSI emulation support
[ ] IDE Taskfile Access
[*] IDE Taskfile IO (EXPERIMENTAL)
--- IDE chipset support/bugfixes
[ ] CMD640 chipset bugfix/support
[*] PNP EIDE support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[ ] Boot off-board chipsets first support
[*] Generic PCI IDE Chipset Support
< > OPTi 82C621 chipset enhanced support (EXPERIMENTAL)
< > RZ1000 chipset bugfix/support
[*] Generic PCI bus-master DMA support
[ ] Force enable legacy 2.0.X HOSTS to use DMA
[*] Use PCI DMA by default when available
[ ] Enable DMA only for disks
[ ] ATA Work(s) In Progress (EXPERIMENTAL)


Following the ATA Work(s) in Progress item, there is a list of different chipsets to support. I couldn't find mine in there. Just in case though, my motherboard is the EPoX 8KHA+. Also, I noticed while I was looking this over that I had mistakenly overlooked a default chipset choice - the Intel PIIXn was checked. Could this be what's causing the problem? It wouldn't be a huge deal for me to recompile my kernel to remove support for this chipset if that's all that's wrong.

On a somewhat related note, I'm also having problems with CD-burning performance. when trying to use xcdroast, I'm experiencing much lower transfer speeds than my drives can support. It says that I shouldn't be using ATAPI; that I should be using SCSI Emulation. However, I've read somewhere on the internet that the new 2.6 series of kernels includes ATAPI support (and I guess it does -- it works, but much more slowly). Should I remove ATAPI Support from the kernel and add SCSI Emulation (the docs say they are mutually exclusive)? Or is this just a fault of xcdroast and/or a problem due to the above DMA problem? Any suggestions?

Thanks so much in advance for any help!
0
Comment
Question by:cloud1086
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:Omeger
ID: 9709579
I would disable:
< > Include IDE/ATAPI CDROM support
and enable:
<*> SCSI emulation support
A link you may find this link useful:
http://linux.ardynet.com/idescsi.php3
0
 
LVL 1

Author Comment

by:cloud1086
ID: 9719919
I was able to fix this problem by enabling VIA chipset support in the kernel, although the exact chipset model number does not match mine.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10301853
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ/Refund
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0
 
LVL 1

Author Comment

by:cloud1086
ID: 10302394
Hi,

Sorry.  I meant to post a request for a refund but it looks like I totally forgot about it.  My apologies for causing extra work. Will post one right now.
0
 

Accepted Solution

by:
amp072397 earned 0 total points
ID: 10339752
PAQed, with points refunded (500)

amp
Community Support Cleanup Moderator
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question