Hi,
I have Gentoo linux running fine. I used to use a SATA drive only but I had to attach an IDE one (80 GB Maxtor) recently and realized that it's very slow. I googled a lot and found out that I should have DMA enabled but I don't, so I tried to fix it, read dozens of posts with no luck yet.
Some additional info:
Code:
$ lspci | grep IDE
00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
Code:
$ grep "_VIA" /usr/src/linux/.config
# CONFIG_VIA_FIR is not set
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_SATA_VIA=y
# CONFIG_PATA_VIA is not set
CONFIG_HW_RANDOM_VIA=y
# CONFIG_AGP_VIA is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_SENSORS_VIA686A is not set
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SOUND_VIA82CXXX=m
# CONFIG_MIDI_VIA82CXXX is not set
Code:
a$ grep "_IDE" /usr/src/linux/.config
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDEACPI is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
When I try to enable DMA using hdparm, i get the following error:
Code:
a$ hdparm -d1 /dev/hdb
/dev/hdb:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
DMA and some other (possibly related) things are recognized and enabled in my BIOS, I've checked that. I must be missing something. Does anyone know what the problem might be?
Thanks in advance.