View previous topic :: View next topic |
Author |
Message |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Wed Jan 21, 2004 6:49 am Post subject: DMA is disabled for DVD player |
|
|
A couple of days, I realized that dma is not enabled for dvd player.
I was surprised, because the hdparm script runs during boot, with the following arguments
Code: |
disc0_args="-c1 -d1 -k1 -m16 -u1 -X69"
disc1_args="-c1 -d1 -k1 -m16 -u1 -X69"
cdrom0_args="-c1 -d1 -k1 -u1"
cdrom1_args="-c1 -d1 -k1 -u1"
|
I did not pay attention, but today I show this strange message after I run dmesg:
Code: |
ISO 9660 Extensions: Microsoft Joliet Level 3
request_module: failed /sbin/modprobe -- nls_iso8859-1. error = 256
Unable to load NLS charset iso8859-1
Unable to load NLS charset iso8859-1
ISO 9660 Extensions: RRIP_1991A
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x40LastFailedSense 0x04
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x40LastFailedSense 0x04
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x40LastFailedSense 0x04
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x40LastFailedSense 0x04
hdc: DMA disabled
hdc: ide_intr: huh? expected NULL handler on exit
hdc: ATAPI reset complete
|
Ok, I forgot to compile in the kernel support for nls_iso8869-1 ,
but why do I get the "Dma disabled" ? Could it be because of that?
I did a search on google, and I found that dma is disabled if you insert a blank dvd-r drive, but I did not do that.
Any idea is greatly appreciated
Thank you |
|
Back to top |
|
 |
pilla Bodhisattva


Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Wed Jan 21, 2004 7:33 pm Post subject: |
|
|
Are you sure that DMA is disabled? Maybe this message is before hdparm run. Try "hdparm -i /dev/hdc" _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
 |
MasterX Veteran

Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jan 22, 2004 2:30 am Post subject: |
|
|
Unfortunately it is disabled
Code: |
hdparm /dev/hdc
/dev/hdc:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 1 (on)
readonly = 1 (on)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
|
The interesting thing is that dma is disabled only for the dvd player not for the cdwriter!!
I do not know if it is going to make any difference, but I forgot to say that I am using 2.6.1 kernel. |
|
Back to top |
|
 |
Dolio l33t


Joined: 17 Jun 2002 Posts: 650
|
Posted: Sat Jan 24, 2004 3:13 pm Post subject: |
|
|
The same thing happens here.
I don't know if it happened when I had 2.4 kernels (it's been a while), but I have the same symptoms as you do.
I can hdparm the drive to turn on DMA, but as soon as I play a dvd it pops back to not having dma (which may be responsible for my choppy video).
What kind of motherboard and dvd drive do you have? I have an Aopen DVD 1640 Pro and an IWill KA266-R here (relevant IDE chipset is ALi M5229 (M15x3 driver in the kernel)).
For what it's worth, I can't use DMA in Windows either with this drive. If I set it to anything other than PIO then inserting something into the drive almost freezes windows until I eject. In other words, I'm not convinced this isn't a hardware problem for me, although I don't know whether it's a problem with the DVD-ROM or the motherboard.
It'd be nice to know the answer to all this so I could watch DVDs in Linux.  _________________ They don't have a good bathroom to do coke in. |
|
Back to top |
|
 |
|