LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   HDIO_SET_DMA failed: Operation not permitted kernel 2.6.4 (https://www.linuxquestions.org/questions/slackware-14/hdio_set_dma-failed-operation-not-permitted-kernel-2-6-4-a-159417/)

Gaghiel 03-18-2004 10:32 AM

HDIO_SET_DMA failed: Operation not permitted kernel 2.6.4
 
Hello i just compiled succesfully the 2.6.4 stable kernel for my home pc. After exploring a bit and having booted with the new kernel i tried to activate the DMA for my hard disk using hdparm -d1 /dev/hdd and it gave me back the followin error:
/dev/hdd:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

Also the lspci output is the following:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0
00:0a.0 Ethernet controller: 3Com Corporation 3CSOHO100B-TX [910-A01] (rev 31)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3)

Also my .config is the following:
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
# CONFIG_BLK_DEV_IDEPCI is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

hp_tux 03-18-2004 11:53 AM

Hello,

well, you've forgotten to compile a driver for your IDE chipset!
Try "CONFIG_BLK_DEV_SIS5513=y" and recompile your kernel, but don't forget the spring-cleaning ("make mrproper") beforehand! ;)

cu

hp_tux

Gaghiel 03-18-2004 12:49 PM

SOLVED!!!
 
It seems that i had forgot the CONFIG_BLK_DEV_IDEDMA_PCI option and that hide all the DMA enabled chipsets from my options.Thank you very much for your help.

fujijr 03-30-2004 06:36 PM

Almost
 
Heh, my bad.
The kernel wasn't being installed right and so the new config didn't work.

:newbie:

fujijr 03-31-2004 06:18 PM

*bump*


All times are GMT -5. The time now is 09:08 AM.