2003-09-18 10:07:41

by Aki Tossavainen

[permalink] [raw]
Subject: PROBLEM: Unable to enable DMA mode on 2.4.22 (was able to do that before)

I attemted to set DMA mode on with kernel 2.4.22 using
hdparm -d 1 /dev/hda
and I got:

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

HDPARM version is 5.4

Before updating kernel I had no problems with this.

Please ask any missing details, will be happy to provide them.

Attached files:
System / enviroment details
Kernel .config file


Attachments:
sysinfo (7.58 kB)
System and enviroment info
sys_kern_config (20.75 kB)
Kernel .config file
Download all attachments

2003-09-18 10:39:36

by Petr Vandrovec

[permalink] [raw]
Subject: Re: PROBLEM: Unable to enable DMA mode on 2.4.22 (was able to do that before)

On Thu, Sep 18, 2003 at 01:06:59PM +0300, Aki Tossavainen wrote:
> I attemted to set DMA mode on with kernel 2.4.22 using
> hdparm -d 1 /dev/hda
> and I got:
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> HDPARM version is 5.4
>
> Before updating kernel I had no problems with this.
>
> 00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
> (prog-if 8a [Master SecP PriP])

> # CONFIG_BLK_DEV_VIA82CXXX is not set

Hi Aki,
what do you expect without enabling driver for your IDE chipset?
Enable it, and hdparm will work...

You are supposed to run 'make oldconfig' after each kernel upgrade,
and answer all new questions it asks you... Otherwise you'll not
notice that IDE driver got split to the couple of chipset modules.
Best regards,
Petr Vandrovec
[email protected]