enable dma

Duane Attaway dattaway at attaway.net
Sun Aug 18 17:26:48 CDT 2002


On Sun, 18 Aug 2002, Fred McFeeters wrote:

> Hello,
>    My name is Fred Mcfeeters. I have a P4 1.6 Running RedHat 7.3, and
> I'm trying to get DMA enabled on my disk drives. I tried hdparm -d1
> /dev/had and hdparm -d /dev/hdc and both return the same error:
>  
> "HDIO_SET_DMA: failed operation not permitted"

HDIO_SET_DMA means the kernel could not set the resources and a quick
search for others who had this problem yielded these clues:

"> HDIO_SET_DMA failed: Operation not permitted

Whatever your IDE chipset is, support for it is not in the kernel you're
using.  You need to find out what your IDE chipset is, and then you might
be able to compile a kernel with support for your chipset."

"It might may sound like a dumb question but anyway: Did you enable the
DMA in your BIOS configuration?"

"the easy thing is to install the new Red hat7.3 kernel 2.4.18-5"

"The problem is the 8233A disk controller, which your kernel apparently 
does not support. To enable DMA, you need this patch (the patch works 
fine for me under RH7.3):"

"The BIOS fails to assign the resources...Yep. Your BIOS didnt assign 
them."

"I had the exact same problem myself with a brand new Compaq N600c
laptop. It was fixed for me by using Andre's patch from
http://linuxdiskcert.org/"




More information about the Kclug mailing list