Skip to contentSkip to conversation

intel D865PERL and DMA for disks (IDE)?

DISCUSSION Erik Steffl 2 participants 4 messages Sep 13, 2003 – Sep 15, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 16 lines · Erik Steffl

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

Quoted 5 lines

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).

Quoted 3 lines

TIA

erik

#2 lore raw
Quoted 1 line · Bartlomiej Zolnierkiewicz

On Saturday 13 of September 2003 02:19, Erik Steffl wrote:

... Intel D965PERL and hdparm -d 1 ...

Quoted 6 lines
Quoted 2 lines

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

#3 lore raw

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

Quoted 19 lines · Erik Steffl
Quoted 1 line · Bartlomiej Zolnierkiewicz

On Saturday 13 of September 2003 02:19, Erik Steffl wrote:

... Intel D965PERL and hdparm -d 1 ...

Quoted 5 lines
Quoted 2 lines

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

Quoted 7 lines

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