canīt enable DMA-Mode why?
Hello,
I have SuSE 8.1 with KDE 3.1.something ;-) running. When I try to enable DMA-Mode with Systemadministration by YaST for either the harddisks and the DVD-Rom. Yast tells me "error - couldnīt set device hda (and hdc and hdd; everyone after another) to value `1ī. And so when i start yast again i see the current state is all of them are DMA-disabled. Is there another way or what could it be? I have also an SuSE 8.1 one withe the original KDE 3.0 running and it does not function either. Thanks a lot Odan |
from the c0ommand line
as root hdparm -d1 /dev/hda this is the command to enable dma if it responds ok (under mandrake and redhat) i add that line to the end of /etc/rc.local (i also add -c1 (to switch 32bit support on) and -k1 (tells it to keep settings after a reset)) |
hdparm
Thanks,
but hdparm does not work either. it just tells thatit canīt set hda with DMA on. Could there be another way or a bios thing or something Thanks Odan |
If you've got bleeding edge hardware or a bleeding edge motherboard, you'll probably need a newer kernel to support the hardware. I'd give that a try first.
|
I know when I was using Slackware 9 with the default kernel 2.4.20 I couldn't get proper hard drive settings to work either. I was getting 3mb/s disk reads. Compiled 2.4.22, did hdparm, and got 40mb/s disk reads.
|
Yeah, you need to have ultra-dma enabled in the kernel, I had this problem too.
First thing to check -- Is 32 bit LBA operation enabled? see if this works: hdparm -c1 /dev/hda That'll switch it 32 (i know it's already mentioned above, but I wanted to stress it.) IF that goes through, then try hdparm -d1 /dev/hda IF neither go through, you'll need to recompile your kernel with dma support. -Shade |
root@darkstar:/home/h1tman# hdparm -c1 /dev/hda
/dev/hda: setting 32-bit IO_support flag to 1 IO_support = 1 (32-bit) root@darkstar:/home/h1tman# hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) root@darkstar:/home/h1tman# |
compiling
Hi guys,
i get the same with hdparm as "h1tman" does. So, how do i compile the kernel? Thanks Odan |
Please,
how do i recompile the kernel with DMA support? Thanks Odan |
I am having the same problem. However DMA is compiled into my kernel, and I am running 2.4.22.
Please refer to >http://www.linuxquestions.org/questi...hreadid=104957 For more of my system information. |
slackware 9 has dma support
i've installed it and used it before and hdparm worked first time is it worth checking the BIOS to see if DMA is turned off? |
Well, DMA is enabled by the BIOS and e.g. Windows is using the DMA-Mode.
So how do i figure out my kernel and get a DMA Support compiled, sorry, but i just donīt know. Thanks |
All times are GMT -5. The time now is 03:50 AM. |