Not sure if this is the right area to post this so please let me know if there's another place that's more appropriate.
I have a Hybrid system (specs are in my sig). I'm working through some of my issues since downloading LinuxMCE and going through the install process.
I am currently using 0710 beta2 since I had quite a few problems getting the audio and video to sync up during DVD playback on 0704.
My current issue is getting playback on DVD's to smooth out. They are very choppy. After doing some research, I see that DMA is getting disabled after I put a DVD in the system. Below are the related messages from /var/log/messages.
Jan 3 21:45:08 dcerouter kernel: [ 233.728000] hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jan 3 21:45:08 dcerouter kernel: [ 233.728000] hdc: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
Jan 3 21:45:08 dcerouter kernel: [ 233.728000] ide: failed opcode was: unknown
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] ide: failed opcode was: unknown
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] ide: failed opcode was: unknown
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: cdrom_decode_status: error=0x40 { LastFailedSense=0x04 }
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] ide: failed opcode was: unknown
Jan 3 21:45:08 dcerouter kernel: [ 233.732000] hdc: DMA disabled
Jan 3 21:45:08 dcerouter kernel: [ 233.780000] hdc: ATAPI reset complete
Jan 3 21:45:09 dcerouter kernel: [ 235.000000] UDF-fs: Partition marked readonly; forcing readonly mount
This output is generated after putting a DVD in my DVD drive.
--I've checked the config of my drive with the hdparm command and below is some information that might be helpful.
linuxmce@dcerouter:~$ sudo hdparm -i /dev/hdc
[sudo] password for linuxmce:
/dev/hdc:
Model=ATAPI DVD A DH20A4P, FwRev=9P54, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 sdma? mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
Drive conforms to: Unspecified: ATA/ATAPI-4,5,6,7
* signifies the current active mode
--Here are the specific paramaters after loading a DVD
linuxmce@dcerouter:~$ sudo hdparm /dev/hdc
/dev/hdc:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
--Notice that the using_dma parameter is set to off. I turn it on and tell it to keep the settings after reboot with the following command.
linuxmce@dcerouter:~$ sudo hdparm -d1 -k1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
--After running this command and rebooting, the settings are kept until I put in a DVD and then the drive is switched to using_dma = off again.
I have verified IDE cable is connected properly and have even switched out with another one to rule that out.
Does anyone have any ideas?
Are you experiencing this as well?
Thank you in advance for you help and suggestions.
Andy