Re: Problem with ide=nodma

From: Ken Moffat
Date: Sat Oct 09 2004 - 07:21:23 EST


On Sat, 9 Oct 2004, Bartlomiej Zolnierkiewicz wrote:

> > > Is it possible that you are reading it wrong?
> >
> > I don't think so, and the box is a lot more responsive. dmesg shows
> >
> > ide_setup: ide=nodmaIDE: Prevented DMA
>
> This is misleading as drivers are free to override this setting.
>

Bart, thanks for putting me straight. Indeed, siimage.c doesn't have
'if (!autodma)' to wrap 'hwif->autodma = 1;' like some of the others
(e.g. hpt366). Easy enough for me to add it, but for reasons I'm too
dumb to understand that turns off dma even without ide=nodma in the
bootargs, and it then does a series of time out / resets if I try to
enable dma with hdparm :-(

Obviously, the sensible thing for me to do is to not touch siimage.c
and to turn dma off with hdparm until I'm ready to do extended dma
tests. It's not as if any sane platforms really want to add extra ide
controllers and then cripple them.

Thanks anyway.

Ken
--
das eine Mal als Tragödie, das andere Mal als Farce

-
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/