Re: How to Switch DMA off for only one Harddisk at Kernelboot

From: Oliver Joa
Date: Mon Dec 17 2007 - 18:49:20 EST


Hi,

Lennart Sorensen wrote:

[...]

Isn't it more a matter of having a CF card that does do DMA and a
controller that does DMA, but a CF to IDE adapter that does not do DMA?

If it is really a case of a CF card that claims to do DMA but is
unstable if you try (I have found one model that does so), then it
should simply be added to the ide dma blacklist instead.

Maybe I will try this also, but for the moment it is running.

I blacklisted 'SMART CF' on my system since they have random read errors
and other i/o errors whenever DMA is enabled (while other cards work
fine with DMA enabled). They claim to do DMA, but sure don't seem to do
so reliably on this system. SiliconDrive CF works perfectly with DMA on
the same system.

It is working now with "hda=nodma" on kernel 2.6.24-rc5. Thanks to Bartlomiej Zolnierkiewicz who gave me the hint to use the newest kernel.

Thanks to all.

Olli
--
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/