LinHES Forums http://forums.linhes.org/ |
|
unable to activate DMA http://forums.linhes.org/viewtopic.php?f=2&t=1036 |
Page 1 of 1 |
Author: | iceheart78 [ Sun Mar 21, 2004 9:37 pm ] |
Post subject: | unable to activate DMA |
Hi, I read a lot of messages in this forum and realized that activating the DMA on the IDE is a common solution when we're talking of performance issues. I personnally experiency choppy video with Myth TV. The first thing I checked was the DMA setting, and it is, obviously DISABLED. I try to enable it with the hdparm utility but when I try it, it give me an error like: /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) The other options (32 bit and multicount to 16) works but it only improve the performance from 226/2.xx Mb/s to 450/4.xx Mb/s.. WAY TOO SLOW! The linux world is new for me. I made some searches on google to find out what can be the cause of this problem.. would it be possible that I have to recompile the Kernel to support my Motherboard chipset? Can anyone help me out with this problem? My motherboard is: Asus P4R800-VM thank you! |
Author: | cesman [ Sun Mar 21, 2004 9:45 pm ] |
Post subject: | |
What switches are you using? Are you trying to set this as root? |
Author: | iceheart78 [ Sun Mar 21, 2004 11:44 pm ] |
Post subject: | re |
cesman wrote: What switches are you using? Are you trying to set this as root?
the exact command I'm trying to execute is: hdparm -d1 /dev/hda And i'm logged as root. I don't think it's a permission issue. (I succeed to change other switches. For example, this command works: hdparm -X66 -m16 -c3 /dev/hda ) thanks if anyone can help me I'll keep you inform if I found something! |
Author: | Grooby [ Mon Mar 22, 2004 7:16 am ] |
Post subject: | |
check your Bios setting that DMA is enabled. |
Author: | iceheart78 [ Mon Mar 22, 2004 12:48 pm ] |
Post subject: | re |
In the bios, it is set to AUTO. I guess it is the correct setting? I read something about the support of ATI IXP IDE on linux. Can it be related to my problem ? http://mirror.hamakor.org.il/archives/l ... /8991.html If it's my problem, is it possible to run KnoppMyth on kernel 2.6.3 ?? I'm currently using Kernel 2.4.21 (installed from the knoppmyth cd) |
Author: | Xsecrets [ Mon Mar 22, 2004 1:05 pm ] |
Post subject: | |
if you are using a motherboard with that chipset it could well be your problem. Knoppmyth will run with the newer kernel. you will just have to download the source and build it yourself. then you will have to make sure you build the lirc stuff also, and rebuild any other special kernel modules you may have. so short answer yes you can run kernel 2.6.x but not easily. |
Author: | adrianbc [ Fri Mar 26, 2004 7:09 am ] |
Post subject: | |
You may want to consider adding an off-board IDE Controller as suggested here : http://mysettopbox.tv/phpBB2/viewtopic.php?p=5320#5320 |
Author: | iceheart78 [ Fri Mar 26, 2004 9:05 am ] |
Post subject: | FIXED! |
adrianbc wrote: You may want to consider adding an off-board IDE Controller as suggested here :
http://mysettopbox.tv/phpBB2/viewtopic.php?p=5320#5320 Thanks for the advice, but I finally fixed my problem with a kernel 2.6.3 installation and a ATI IXP patch. http://www.kernel.org/pub/linux/kernel/ ... tiixp_ide/ DMA is now enabled. I get better performance result now with hdparm (40 mb/s instead of 4 mb/s). Now, I must solve the new problems I got with this new kernel ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |