DMA for DVD/CD drive not working.
I went to burn a dvd today to test out burning in linux and I set it to burn at 8x and was only getting about a .6 average burn speed... After 1 hour it was only 50% done. I checked hdparm and saw that dma was off. I tried turning it on but it wont allow it.
Defualt settings when booted up:
Code:
GenLap ~ # hdparm /dev/hdc
/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
Tried to turn on but gave error. Also tried hdparm -d1 –X udma2 /dev/hdc with same results.
Code:
GenLap ~ # hdparm -d1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Output of dmesg. There was another error dmesg gave but I cleared that up by commenting out all_args="-d1" in /etc/conf.d/hdparm. I have a SATA drive and dma setting with hdparm is not needed.
Code:
GenLap ~ # dmesg | grep hdc
hdc: DV-W28EADT, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 1419kB Cache
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
The drive itself is fine under windows. It burns at about 6x or so.. mostly due to the crappy program it came with. I can mount CD/DVDs in linux without any problems what so ever, and they read slow but fine.
Timed readings from a CD:
Code:
GenLap mnt # hdparm -tT /dev/hdc
/dev/hdc:
Timing cached reads: 3788 MB in 2.00 seconds = 1893.34 MB/sec
Timing buffered disk reads: 6 MB in 4.03 seconds = 1.49 MB/sec
GenLap mnt # hdparm -tT /dev/hdc
/dev/hdc:
Timing cached reads: 3824 MB in 2.00 seconds = 1910.38 MB/sec
Timing buffered disk reads: 6 MB in 4.04 seconds = 1.49 MB/sec
Detailed Specs on the Drive:http://www.teac.com/DSPD/slim_dvd-rw_drivespecs.html
Any ideas?