IDE DMA setting not available on 2.4.23 as a module

From: Santiago Garcia Mantinan (lkml_at_manty.net)
Date: 11/30/03

  • Next message: William Lee Irwin III: "Re: Oops with tmpfs on both 2.4.22 & 2.6.0-test11"
    Date:	Sun, 30 Nov 2003 20:58:15 +0100
    To: linux-kernel@vger.kernel.org
    
    

    Hi!

    Yesterday I started to upgrade my systems to 2.4.23, some of them were
    already running pre or rc versions, but when I tried my Pentium MMX wich
    boots out of SCSI and on which I like to have IDE driver as a module, I
    found that the DMA setting was not working, hdparm was saying:

     setting using_dma to 1 (on)
     HDIO_SET_DMA failed: Operation not permitted

    So I changed the driver option to set DMA by default to ON, but nothing
    changed, still the same problem, then I tried to compile the IDE driver into
    the kernel instead of having it as a module and then the dma support started
    to work, either having the driver enable it by default or by setting it with
    hdparm.

    The motherboard uses a 430TX chipset, thus with a PIIX4 IDE controller.

    Is this a bug or is this a known and accepted limitation of having the IDE
    driver as a module?

    If you want me to test any patch to see if we can fix this, or need any more
    info, don't hesitate to contact me.

    Regards...

    -- 
    Manty/BestiaTester -> http://manty.net
    -
    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: William Lee Irwin III: "Re: Oops with tmpfs on both 2.4.22 & 2.6.0-test11"

    Relevant Pages

    • Re: [PATCH] PCI: Add pci shutdown ability
      ... >> spin with irqs off for a couple of seconds so the DMA and IRQs stop. ... > This is the main reason the longhaul cpufreq driver is currently busted. ... ->start - begins transactions ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What are the general causes of frozen system?
      ... > system has frozen whenever I load the driver. ... TX DMA was OK. ... Another common cause is a stale interrupt, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH/Example] using dma_get_required_mask() in sym2
      ... having to have it compiled in to the driver). ... * We may want to use segment registers for 64 bit DMA. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: IDE DMA setting not available on 2.4.23 as a module
      ... Do you have piix.o module loaded or PIIX support compiled-in? ... > boots out of SCSI and on which I like to have IDE driver as a module, ... > So I changed the driver option to set DMA by default to ON, ...
      (Linux-Kernel)
    • Re: [Panic] ieee1394 HD when moving files
      ... > port), The kernel sytematically panic and crashed with the same error. ... > The problem seems to come from the DMA part of the OHCI1394 driver and affect ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)