Amanda-Users

Re: hdd makes problems --> dma

2004-09-21 11:21:25
Subject: Re: hdd makes problems --> dma
From: Eric Sproul <esproul AT ntelos DOT net>
To: Sebastian Kösters <skoesters AT sino DOT de>
Date: Tue, 21 Sep 2004 11:10:24 -0400
On Tue, 2004-09-21 at 03:07, Sebastian Kösters wrote:

> Hdparm –d1 /dev/hda 
> 
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)

Hi Sebastian,
In my experience, this is caused by not having your specific IDE chipset
driver loaded.  The kernel is simply operating with the lowest common
denominator IDE support (PIO).  Presuming you know what IDE chipset you
have (Intel PIIX is very common), try modprobing for the correct driver:

# modprobe piix
or
# modprobe serverworks

or whatever driver seems most appropriate for your hardware.

Without knowing your specific distribution or kernel version, it's hard
to say what modules you have, but if it's something recent/well-known
(Redhat, SuSE, Debian etc.) there should be complete support for
anything the mainline kernel supports.  Look in
/lib/modules/<KERNEL-VERSION>/kernel/drivers/ide/pci/ for chipset
modules.  Check your dmesg output after modprobing to see what
succeeded.  Then do whatever your distribution needs to ensure that
module gets loaded at boot time.

After you load the correct IDE chipset module, your hdparm settings
should be accepted.

Cheers,
Eric


<Prev in Thread] Current Thread [Next in Thread>