PDA

View Full Version : setting dma mode on cdrom drive?


holr
2006-05-27, 04:03 PM CDT
hi, trying to enable dma on my cdrom/dvdwriter drive, as the whole system stutters greatly whenever I make use of it (burning a cd, or even reading from one).

I have tried using this command: /sbin/hdparm -d1 /dev/hdc on my t43p laptop, and i get the fillowing output:
[root@localhost etc]# /sbin/hdparm -d1 /dev/hdc

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

How can I set this to "on" successfully? This command worked for me under ubuntu ages ago, I guess im missing a yum package or something? Thanks!

*******************
edit
*******************
More info about my dvd-drive:
[root@localhost etc]# /sbin/hdparm -I /dev/hdc

/dev/hdc:

ATAPI CD-ROM, with removable media
Model Number: MAT****ADVD-RAM UJ-822S
Serial Number:
Firmware Revision: 1.61
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
HW reset results:
CBLID- below Vih
Device num = 1

linmix
2006-05-27, 04:42 PM CDT
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
As far as I know the setting preceded by an * is the one that is actually set: in other words, you have dma enabled.

Forget that:
open /etc/modprobe.conf and add the following line:
options ide-cd dma=1

holr
2006-05-31, 04:55 PM CDT
thanks for the suggestion! i think its something to with the pata to sata bridge. I added this extra boot option "ide1=noprobe" and that seened to get rid of the jitteryness i was experiencing.