LinHES Forums
http://forums.linhes.org/

R5F1 Dvd issue *Fixed*
http://forums.linhes.org/viewtopic.php?f=2&t=15597
Page 1 of 1

Author:  Daved [ Tue Jun 12, 2007 6:36 pm ]
Post subject:  R5F1 Dvd issue *Fixed*

I am getting choppy dvd playback with any movie. First thing I check for is if the drive is using DMA. Well it's not. So I turn it on with the following command:

Code:
hdparm -qd 1 /dev/dvd


also tried

Code:
hdparm -qd 1 /dev/hdc


It shows that DMA is enabled. However, when I play the movie, it's still choppy and hdparm shows it's not enabled. I've tried it with and without the movie playing but still get the same results.

Anyone have a hint on how I can get DMA to work properly. I didn't have this issue with R5E50 and the same hardware.

Author:  tjc [ Tue Jun 12, 2007 8:16 pm ]
Post subject: 

This thread may give you some things to check... http://mysettopbox.tv/phpBB2/viewtopic.php?t=15413&highlight=hdparm

Author:  Daved [ Tue Jun 12, 2007 9:27 pm ]
Post subject: 

Thanks tjc for the link. I did all the suggestions in that thread, however, still not showing dma enabled. It's still disabled when I play the dvd.

Author:  tjc [ Wed Jun 13, 2007 5:32 pm ]
Post subject: 

You made sure something else wasn't turning it off as described there?

Author:  Daved [ Wed Jun 13, 2007 7:47 pm ]
Post subject: 

I disabled the hdparm init script, then tried. Still happening.

Another symptom, if dma is enabled on the dvd and put a movie, it plays for about 30 seconds the kicks me back to the menu. When I issue "hdparm -qd1 /dev/hdc" while the movie is playing, it also kicks back to the menu.

Author:  manicmike [ Thu Jun 14, 2007 12:06 am ]
Post subject: 

Daved wrote:
I disabled the hdparm init script, then tried. Still happening.

Another symptom, if dma is enabled on the dvd and put a movie, it plays for about 30 seconds the kicks me back to the menu. When I issue "hdparm -qd1 /dev/hdc" while the movie is playing, it also kicks back to the menu.


Try adding

Quote:
/dev/hda {
dma = on
}


to /etc/hdparm.conf

Then reboot the machine.

Author:  tophee [ Thu Jun 14, 2007 3:59 am ]
Post subject: 

This is probably really obvious and perhaps not necessary any more (?) but have you added he other DMA optimisations?

They're on the wiki
Here's the important bit:
Quote:
open up /etc/init.d/bootmisc.sh

look at the section at the end titled # Enable DMA

here is what mine looks like

# enable DMA
/sbin/hdparm -qd1c1u1m16 /dev/hda
/sbin/hdparm -qd1c1u1 /dev/hdc
/sbin/hdparm -qd1c1u1m16 /dev/hdb

note: /dev/hdc is my dvd drive; you can't set m16 on it.

The full article is here: http://www.knoppmythwiki.org/index.php?page=Optimize+Hard+Drive+Performance

Author:  slowtolearn [ Thu Jun 14, 2007 8:03 am ]
Post subject: 

manicmike wrote:
Try adding

Quote:
/dev/hda {
dma = on
}


to /etc/hdparm.conf

Then reboot the machine.
ITYM /dev/hdc

Author:  Daved [ Thu Jun 14, 2007 12:27 pm ]
Post subject: 

Quote:
Try adding

Quote:
/dev/hda {
dma = on
}


to /etc/hdparm.conf

Then reboot the machine.


Just got done trying this. Still no avail

Also , tried this

Quote:
open up /etc/init.d/bootmisc.sh

look at the section at the end titled # Enable DMA

here is what mine looks like

# enable DMA
/sbin/hdparm -qd1c1u1m16 /dev/hda
/sbin/hdparm -qd1c1u1 /dev/hdc
/sbin/hdparm -qd1c1u1m16 /dev/hdb

note: /dev/hdc is my dvd drive; you can't set m16 on it.


I wonder if I need to do the same as this chap http://mysettopbox.tv/phpBB2/viewtopic.php?t=14046?

Author:  Daved [ Mon Sep 03, 2007 10:12 am ]
Post subject: 

Just a follow up. I found the problem with the DMA issue I was having. It ended up being a bad IDE cable. All that time spent troubleshooting, never thought about replacing a brand new cable.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/