Enabling DMA

Martin Laberge mlsoft at videotron.ca
Mon Apr 28 13:48:25 BST 2008


On Sunday 27 April 2008 18:02:21 Dotan Cohen wrote:
> I cannot enable DMA on my Dell Inspiron laptop with Ubuntu 8.04. See here:
> 
> hardy at hardy-laptop:~$ sudo hdparm /dev/sda
> [sudo] password for hardy:
> 
> /dev/sda:
>  IO_support    =  0 (default)
> 16-bit)
>  HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
>  HDIO_GET_DMA failed: Inappropriate ioctl for device
>  HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
>  readonly      =  0 (off)
>  readahead     = 256 (on)
>  geometry      = 9729/255/63, sectors = 156301488, start = 0
> hardy at hardy-laptop:~$ sudo hdparm -d1 /dev/sda
> 
> /dev/sda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Inappropriate ioctl for device
>  HDIO_GET_DMA failed: Inappropriate ioctl for device
> hardy at hardy-laptop:~$ sudo hdparm /dev/sda
> 
> /dev/sda:
>  IO_support    =  0 (default)
> 16-bit)
>  HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
>  HDIO_GET_DMA failed: Inappropriate ioctl for device
>  HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
>  readonly      =  0 (off)
>  readahead     = 256 (on)
>  geometry      = 9729/255/63, sectors = 156301488, start = 0
> hardy at hardy-laptop:~$
> 
> 
> 
> How can I fix that? Thanks in advance.
> 

try the program 'sdparm' 

apt-get install sdparm



-- 
Martin Laberge
mlsoft at videotron.ca
Tel:(418)521-6823



More information about the kubuntu-users mailing list