[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permissions denied when enabling DMA



    "Marc" == Marc Wilson <msw@cox.net> writes:

    Marc> Using hdparm to force DMA is a bad, bad, BAD idea.  The
    Marc> kernel usually has very good reasons for not enabling it.

This might be true for many kernel distributions, but does not apply
to Debian. The prebuilt Debian kernels will not turn on DMA for IDE
drives automatically (which is kinda cool because you can install on
systems that have DMA related bugs, but kinda sucks for newbies).

$ grep DMA /boot/config-2.4.18-k7 
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_IDEDMA_PCI_AUTO is not set
....

A "standard" procedure to turn on DMA is to install the hwtools
package and then edit /etc/init.d/hwtools to run hdparm at boot up.

Cheers!
Shyamal



Reply to: