Re: Problem with ide=nodma

From: Ken Moffat (ken_at_kenmoffat.uklinux.net)
Date: 10/09/04

  • Next message: Arnd Bergmann: "Re: [PATCH x86_64]: Add TCSBRKP ioctl translation for arch/x86_64/ia32"
    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/
    

  • Next message: Arnd Bergmann: "Re: [PATCH x86_64]: Add TCSBRKP ioctl translation for arch/x86_64/ia32"

    Relevant Pages

    • (no subject)
      ... You can't expect users to play with hdparm and it's quite ... turn your DMA off on the CD. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Alpha: ALi 15x3 DMA completely broken now
      ... but hdparm could turn it on afterwards. ... nothing will turn on DMA; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Kernel Patch for ATI 9100 RS300
      ... I got the graphics card workin but my problem is that I cannot set the DMA. ... hdparm -d1 /dev/hda0 always gives me an error sayint this operation is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Problem in 2.6.0-test9-mm1 with siimage+hdparm
      ... Since siimage 1.06 drvier. ... I have DMA without using ... > hdparm, but it is not as fast as in windows. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Problem with ide=nodma
      ... I'm trying a sii 0680 disk controller at the moment, ... But although dmesg shows that dma has been turned off, ... das eine Mal als Tragödie, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)