Re: Problem with ide=nodma
From: Ken Moffat (ken_at_kenmoffat.uklinux.net)
Date: 10/09/04
- Previous message: Colin Phipps: "Re: UDP recvmsg blocks after select(), 2.6 bug?"
- In reply to: Bartlomiej Zolnierkiewicz: "Re: Problem with ide=nodma"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 9 Oct 2004 13:17:24 +0100 (BST) To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Colin Phipps: "Re: UDP recvmsg blocks after select(), 2.6 bug?"
- In reply to: Bartlomiej Zolnierkiewicz: "Re: Problem with ide=nodma"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|