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

Re: Problem to turn DMA on



On Wed, Apr 23, 2008 at 03:00:14AM -0300, Rafael Fontenelle wrote:
> Hi all.
> 
> I got a very old notebook running debian 4.0 with kernel 2.6.25 and 2.6.21.
> It has a 4GB IDE harddisk. I'm trying to enable DMA with hdparm, but it is
> not working.
> 
> The command I run and its output are:
> 
> # hdparm -qc3 -qm16 -qd1 -qX66 -qS120 /dev/hda
>  HDIO_SET_DMA failed: Operation not permitted
> 
> Did someone get this message before or know to solve it?

You could try putting:

	dma=on

as a kernel option in your /boot/grub/menu.lst (if you are using grub)

i.e.

	kernel          /boot/vmlinuz root=/dev/hda1 ro vga=791 dma=on

Reboot, then see if it is turned on. hdparm will list the settings.

-- 
Chris.
======
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed


Reply to: