RE: IDE DMA with SATA, 2.6 kernels

From: Aleksey Gorelov
Date: Thu May 26 2005 - 10:40:52 EST


>Disk Setup:
>
>/dev/sda is a 200GB Maxtor SATA drive containing /boot,/, and swap
>/dev/hda is a DVD-ROM/CD-RW driver (IDE)
>/dev/hdc is a 160GB Maxtor IDE drive containing ThatOtherOS(TM)
>
>The SATA drive works superbly, in UDMA133 mode. No complaints there.
>However, it appears that the generic IDE driver grabs the IDE drives
>before the Via driver can get them. This prevents me from using DMA on
>those drivers, so, for instance, ripping CDs is really painful. I can
>rip at about 2x on a good day, versus 40x+ ripping in Exact Audio Copy
>under XP.
>
>You can find the relevant portion of my dmesg (and hdparm) at
>http://cg2.org/dmesg.txt
>
>Any assistance would be very much appreciated.

Do you have .config handy? Make shure you've got
CONFIG_BLK_DEV_IDEDMA_PCI
enabled there. In most cases you should be able to control DMA with
generic
driver.
Another thing to double check is that DMA is on in your BIOS.

Aleks.
>
>-
>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/
>
-
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/