Categories: CategoryHardware

DMA is used for faster access to your discs.

Install the debian package: hdparm. Enable the kernel option "Generic PCI bus-master DMA support". You also need to to enable the right IDE-Chipset, e.a. the via chipset.

$ hdparm -i /dev/hda      # shows infos
$ hdparm -d /dev/hda      # shows if dma is active
$ hdparm -d1 /dev/hda     # activate dma
$ hdparm -d0 /dev/hda     # deactivate dma

You can set the kernel option "use dma by default" to enable dma permanently. Or start it at boot-time with boot.local script.

On my laptop I had to set in /etc/modules.conf:

options ide-cd dma=1

Or edit the /etc/hdparm.conf and add the lines

/dev/hdc {
   dma = on