On 21/03/02 Patrick Lane did speaketh:
> blacktop:/home/mandingo# for i in a b; do hdparm -d 1 /dev/hd$i; done
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> /dev/hdb:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
> blacktop:/home/mandingo#
>
> It won't let me. Do I have to enable something in the kernel?
Possibly. I had to on my wife's computer. To a dmesg and look for your
brand of IDE controller. Make sure said controller is turned on in the kernel.
That's what I had to do to get DMA working.
Mike
--
Michael P. Soulier <msoulier@mcss.mcmaster.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort." -Harley Hahn, A Student's Guide to Unix
Attachment:
pgpDT1Dj8Rdla.pgp
Description: PGP signature