Slow DVD Playing, CD Burning - Cant enable DMA
Hi :)
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: Quote:
Quote:
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. :Pengy: |
you could try to have your dvd drive scsi-emulated on boot. what bootloader are you using? grub or lilo? i'm using grub, so adding the option to the line in bold will use scsi emulation for that drive. in my grub.conf, my dvd drive is /dev/hdc and my cdrw is /dev/hdb.
Code:
title Red Hat Linux 7.3 (2.4.18-10) now doing this will wreak havoc with your /dev links as this device will no longer mount as /dev/hdd, but as /dev/scd0 (if this is the only cd/dvd/cdrw/dvdrw drive you have) or as /dev/scd1 (if you have let's say a cdburner or cdrom on your first ide channel). also if kudzu is running at boot, it will most likely add /dev/cdrom3 which will point to this new device label (/dev/scd0 or /dev/scd1). anyway, you can figure out which dvd/cdromX (where X is a differentiating number) points to which device by right clicking on the link and going into it's properties where it will have a "Points to" field. you need to delete the /dev/cdromX that points to the old device, /dev/hdd and rename the /dev/cdromY (the other cdrom device where Y is it's number) pointing to the /dev/scd1 (or scd0, but my guess is because it's on the second ide channel, it will be /dev/scd1) to /dev/cdromX. you'll then need to delete your /dev/dvd link and create a new link to /dev/cdromX that points to /dev/scd1. after doing this, now try to enable dma the same way you did before (hdparm -d1 /dev/hdd). anyway, this technique works for laptops whose cd/cdrw/dvd/etc.. peripherals won't enable dma. |
Thanks so much for the quick reply! I appreciate it greatly :D
Sorry, I think I should have been a little more specific though :( In addition to my dvdrom drive, I can't enable DMA on my hard disk (ide) nor my cdrw drive. Would scsi-emulation allow me to then enable DMA when I couldn't before? |
for you cdrw it would. i'm not so sure about your hard drive, though. usually ide hard drives should enable dma just fine. it could be that you don't have enable dma in your kernel, in which case you'd have to create a custom kernel. i would wait on suggestions for that though before doing anything like the scsi emulation thingy. although, if you do the scsi emulation and you still can't enable dma on your dvd or cdrw drive, then i'm apt to think your kernel version doesn't have dma support set.
|
Thanks :)
Yeah I agree with you... I think I'll wait to make sure my kernel is configured correctly (it *should* be, but I've been know to make mistakes ;) ). If that doesn't work, then at least I know I have a backup solution that should work for my peripherals. So .. is there any more info needed on my kernel configuration besides what I've given above? :) |
Any other solutions?
Also, could it possibly be a setting in the BIOS? Windows worked fine with these drives, however. |
if it worked with winblows it is a problem with your linux config
|
Hi,
I've been trying to enable the SCSI emulation on my plextor DVD-rom drive. I have plextor dvd+/-rw (scsi emulated, hdc) and my dvd-rom drive is hdd. I just wanted to ask where I should add the "hdd=ide-scsi"-line? My lilo.conf: boot=/dev/hda vga=normal default="Mandrake9.2" keytable=/boot/fi-latin1.klt prompt nowarn timeout=50 message=/boot/message menu-scheme=wb:bw:wb:bw disk=/dev/hdg bios=0x83 disk=/dev/hde bios=0x82 image=/boot/vmlinuz-2.4.22-10mdk label="Mandrake9.2" root=/dev/hdb1 initrd=/boot/initrd-2.4.22-10mdk.img append="devfs=mount splash=silent hdc=ide-scsi acpi=ht resume=/dev/hdb5" vga=788 read-only other=/dev/hda1 label="Win2000" table=/dev/hda other=/dev/fd0 label="floppy" unsafe Thanks! :) |
Use "lspci" to find out what ide controller you have.
One of the lines of output will look something like: Code:
00:xx.x IDE interface: Manufacturer controllername blah blah blah |
Daliz, please do not hijack other irrelevant threads, your question is not related to the initial question, and is just confusing things.
I have no idea if this old thread (which was quite happily dead) was resolved or not, but you may well want to enable the amd74xx module or similar, i need this module in order to have DMA on my nforce2 board. |
I'm having similar problems with DMA on my nforce2 board, I tried to enable scsi emulation but get the error:
FATAL: Module ide_mod not found. when it attepts to set hdc and hdd to scsi I tried loading the amd74xx module before this, no dice. my main hd is SATA, it runs fine, I just can't get my optical drives to enable dma (both pioneer DVDs) cheers for any ideas guys |
All times are GMT -5. The time now is 07:07 AM. |