DMA Problems

Kelly L. Fulks kfulks at knology.net
Thu Apr 27 12:00:15 UTC 2006


Gabriel Dragffy wrote:
> I type the "mount" command, and find my CD drive as so:
> /dev/hdb on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=~)
> 
> 
> I then check the DMA status as follows:
> ~@kokslick110:~$ hdparm /dev/hdb
> /dev/hdb:
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  0 (off)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  HDIO_GETGEO failed: Invalid argument
> 
> 
> It's off so I switch it on:
> ~@kokslick110:~$ sudo hdparm -d1 /dev/hdb
> Password:
> /dev/hdb:
>  setting using_dma to 1 (on)
>  using_dma    =  1 (on)
> 
> 
> OK, next I open up the hdparm conf to set it permanently:
> kdesu kwrite /etc/hdparm.conf
> 
> 
> And make sure it contains the following:
> /dev/hdb {
> 	dma = on		   
> #	write_cache = on
> }
> 
> 
> These are the steps as prescribed in the Wiki HowTo but dma doesn't seem to 
> stay turned on after a reboot.  Can anyone see what the problem might be with 
> what I have done?
> 
> Regards,
> Gabe
> 

I also tried that and it didn't seem to work for me.  With a little more
probing and looking around I discovered that the following does work.
It isn't as elegant as the solution which you mention, but at least it
works.

command_line {
       hdparm -d1 /dev/hdb
}

-- 
Kelly L. Fulks
Home Account
near Huntsville, AL




More information about the kubuntu-users mailing list