• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DMA settings

Scheduled Pinned Locked Moved Hardware
4 Posts 2 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 8
    8buttons
    last edited by Dec 12, 2013, 6:10 PM

    Hi all,

    I've been building up a new router and I've ran into a slight issue. My system is booting from a 4GB compact flash card which is requiring me to switch of ATA DMA using 'hw.ata.ata_dma=0'. Without it, the system wont boot (the usual compact flash dma probs). I also have a 120GB drive installed for use as a squid cache.

    My question is can I enable DMA for the hard drive but leave it disabled for the compact flash card?

    The BIOS for my mainboard does let me enable/disable DMA for each drive but it either doesn't work for me, when pfsense boots it still shows DMA enabled when it's disabled in the BIOS.

    pfsense sees my drives as…

    ad0 - CF Card
    ad1 - Hard Drive

    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Dec 12, 2013, 10:02 PM

      You can use atacontrol. You can put it in a Shellcmd so it runs everytime at boot. See this thread:
      http://forum.pfsense.org/index.php/topic,67823.msg383566.html#msg383566

      Steve

      1 Reply Last reply Reply Quote 0
      • 8
        8buttons
        last edited by Dec 15, 2013, 3:17 AM

        Thanks Steve that's exactly what I was looking for!

        I had been messing around with the atacontrol command but was using dmesg to see info about the drives which was still showing PIO4 for the sata drive. I've done more reading and now get what dmesg does…doh! I'm a complete noob so still learning :)

        Thanks again for the help.

        P.S. Sorry for the late reply, my projects PSU went up in smoke, put a bit of a spanner in the works

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Dec 15, 2013, 1:57 PM

          @8buttons:

          my projects PSU went up in smoke, put a bit of a spanner in the works

          Spanner in the PSU will do it! Try to keep the magic smoke in.  :P

          Steve

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received