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
|