LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DMA problem (https://www.linuxquestions.org/questions/linux-hardware-18/dma-problem-523332/)

Akuji 01-27-2007 04:40 PM

DMA problem
 
I just installed a new dvd burner, a NEC AD-7170A, and for some reason DMA doesn't work. When I check the settings of the drive with "hdparm /dev/hdc" I get the following output
Code:

/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: Inappropriate ioctl for device

I can change the DMA settings with "hdparm -d1 /dev/hdc" and then DMA is turned on. However, when I try to copy something from a dvd, DMA is automatically disabled after a few seconds :eek: The drive is spinning really fast for a few seconds, but then the speed is lowered and the desktop starts to hang :cry:

This is the output op dmesg
Code:

ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0xd1 { IllegalLengthIndication LastFailedSense=0x0d }
ide: failed opcode was: unknown
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x44 { AbortedCommand LastFailedSense=0x04 }
ide: failed opcode was: unknown
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x44 { AbortedCommand LastFailedSense=0x04 }
ide: failed opcode was: unknown
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x44 { AbortedCommand LastFailedSense=0x04 }
ide: failed opcode was: unknown
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x44 { AbortedCommand LastFailedSense=0x04 }
ide: failed opcode was: unknown
hdc: DMA disabled
hdc: ide_intr: huh? expected NULL handler on exit
hdc: ATAPI reset complete
VFS: busy inodes on changed media.

Does anybody know what could cause this?

Akuji 01-27-2007 05:29 PM

Never mind, I found the problem: there's a cable that needs to be replaced. I should have checked that before I bought the new drive because the old one stopped working :p


All times are GMT -5. The time now is 07:56 AM.