2003-09-13 00:19:33

by Erik Steffl

[permalink] [raw]
Subject: intel D865PERL and DMA for disks (IDE)?

I am trying to set the DMA for ide disks but get the following error:

jojda:/home/erik# hdparm -d 1 /dev/hda

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

is it because it's not supported on given chipset or is there
something I can do?

debian unstable
2.4.21-ac4 (+ libata5 patches from Jeff Garzik)
Intel D865PERL motherboard

there are only two kernel options that I can see are relevant to
chipset I use:

CONFIG_BLK_DEV_PIIX=m
CONFIG_SCSI_ATA_PIIX=y

TIA

erik



Subject: Re: intel D865PERL and DMA for disks (IDE)?

On Saturday 13 of September 2003 02:19, Erik Steffl wrote:
> I am trying to set the DMA for ide disks but get the following error:
>
> jojda:/home/erik# hdparm -d 1 /dev/hda
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> is it because it's not supported on given chipset or is there
> something I can do?
>
> debian unstable
> 2.4.21-ac4 (+ libata5 patches from Jeff Garzik)
> Intel D865PERL motherboard
>
> there are only two kernel options that I can see are relevant to
> chipset I use:
>
> CONFIG_BLK_DEV_PIIX=m
> CONFIG_SCSI_ATA_PIIX=y

You should use CONFIG_BLK_DEV_PIIX=y
or load piix module (may not be reliable).

> TIA
>
> erik

2003-09-13 00:58:24

by Erik Steffl

[permalink] [raw]
Subject: Re: intel D865PERL and DMA for disks (IDE)?

Bartlomiej Zolnierkiewicz wrote:
> On Saturday 13 of September 2003 02:19, Erik Steffl wrote:
... Intel D965PERL and hdparm -d 1 ...
>>CONFIG_BLK_DEV_PIIX=m
>>CONFIG_SCSI_ATA_PIIX=y
>
>
> You should use CONFIG_BLK_DEV_PIIX=y
> or load piix module (may not be reliable).

wow:

jojda:/home/erik# modprobe piix
Segmentation fault

lsmod | grep piix

piix 7976 1 (initializing)

rmmod piix

piix: Device or resource busy

I guess I'll try to compile it in. thanks,

erik

2003-09-15 19:56:10

by Erik Steffl

[permalink] [raw]
Subject: SOLVED Re: intel D865PERL and DMA for disks (IDE)?

Erik Steffl wrote:
> Bartlomiej Zolnierkiewicz wrote:
>
>> On Saturday 13 of September 2003 02:19, Erik Steffl wrote:
>
> ... Intel D965PERL and hdparm -d 1 ...
>
>>> CONFIG_BLK_DEV_PIIX=m
>>> CONFIG_SCSI_ATA_PIIX=y
>>
>> You should use CONFIG_BLK_DEV_PIIX=y
>> or load piix module (may not be reliable).
>
> wow:
>
> jojda:/home/erik# modprobe piix
> Segmentation fault
>
> lsmod | grep piix
>
> piix 7976 1 (initializing)
>
> rmmod piix
>
> piix: Device or resource busy
>
> I guess I'll try to compile it in. thanks,

in addition to the above it _seems_ that trying to modprobe piix
caused netstat -ni to freeze (and so e.g. mozilla and evolution stopped
working, but not konqueror, pan ...)

I changed CONFIG_BLK_DEV_PIIX to y and it's working fine, so far (ide
disks use dma).

erik