Re: Problem with ide=nodma

From: Ken Moffat
Date: Fri Oct 08 2004 - 19:46:26 EST


On Sat, 9 Oct 2004, Bartlomiej Zolnierkiewicz wrote:

> On Sat, 9 Oct 2004 00:32:01 +0100 (BST), Ken Moffat
> <ken@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > I'm trying a sii 0680 disk controller at the moment, as a possible
> > workaround for some via southbridge problems (this is on a ppc which
> > isn't yet supported by the official kernels, but it has been stable here
> > since 2.6.7 and looks nearly ready for a first review). Unfortunately,
> > DMA is a big no go at the moment so I have to pass ide=nodma in the
> > bootargs.
> >
> > I've got the drives plugged into the sii card, and ide=reverse is doing
> > its job. But although dmesg shows that dma has been turned off,
>
> 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

>
> > /proc/ide/hda/settings and hdparm show that dma is in use. This is in
> > 2.6.9-rc3.
> >
> > Doesn't ide=nodma work for off-board chipsets ?
>
> siimage host driver doesn't respect "ide=nodma".
> You can hack siimage.c and comment out "hwif->autodma = 1".
>

Ok, thanks. I'll give that a try later.

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/