Re: Can't activate dma on ide/sata under 2.6.5/9 + Intel E7520 chipset

From: Edward Broustinov
Date: Thu Dec 23 2004 - 06:07:08 EST


On Wed, 22 Dec 2004 15:18:01 -0500, Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
> Edward Broustinov wrote:
> > Hi,
> > hdparm -d1 /dev/hda (or /dev/sda) returns "HDIO_SET_DMA failed:
> > Operation not permitted" on both disks.
> > Is it possible that there's no (full?) support for ICH5-R in those kernels?
> > The motherboard is Intel SE7520BD2, exact kernel versions which were
> > tried are:
> > 2.6.9-1.667smp #1 SMP Tue Nov 2 15:09:11 EST 2004 x86_64 x86_64 x86_64
> > GNU/Linux (FC3 64bit)
> > 2.6.5-1.358smp #1 SMP Sat May 8 09:28:14 EDT 2004 x86_64 x86_64 x86_64
> > GNU/Linux (FC2 64bit)
> >
> > 2.4.21/22 (RH9) and 2.6.7* (AS3.0) do not show this problem on the board.
> >
> > Does anybody have any idea/patch/hack?
>
> If you are using libata (/dev/sdX), then DMA is unconditionally enabled.
>
> Jeff
>
I'm pretty sure I do use libata, because /dev/sda is present, and I
see libata in 'lsmod' output.
I was wrong in my previous post. /dev/sda has dma enabled indeed, like
you said. I get this error only when I try to set dma on /dev/hda
disk.
I took vanilla 2.6.9 from kernel.org, compiled in nearly everything I
could just relate to IDE/ATA thing - no luck. I then took 2.6.10.rc3
and got the same result.
What am I missing here?

Please help,
Ed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/