Re: 2.4.21-rc5: DMA disabled for IDE Cdrom, works with 2.4.20

From: frahm (frahm@irsamc.ups-tlse.fr)
Date: Wed May 28 2003 - 04:07:35 EST


On 27 May, Mike Fedyk wrote:
> On Wed, May 28, 2003 at 02:03:52AM +0200, frahm@xxxxxxxxxxxxxxxxxx wrote:
>> I have now disabled "CONFIG_IDEDMA_PCI_AUTO" such that initially DMA is
>> disabled for /dev/hda and /dev/hdb. I have then enabled DMA only for
>> /dev/hdb with hdparm (keeping DMA disabled for /dev/hda) but the problem
>> persists and DMA for /dev/hdb will be disabled when I try to mount a
>> cdrom. It seems that the DMA-setting for /dev/hda has no influence on
>> this.
>
> Try using hdparm -d1 -X34 on /dev/hda and /dev/hdb
>
> This will turn on DMA and use the same DMA mode for both devices. I
> wouldn't be surprised if the new IDE was more strict (maybe more spec
> compliant?) than the previous version.

I have just tried, there is no change. DMA will be disabled when trying
to mount a cdrom while DMA for the harddisk seems ok.

Klaus Frahm

e-mail : frahm@xxxxxxxxxxxxxxxxxx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/