lkml.org 
[lkml]   [2007]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: How to Switch DMA off for only one Harddisk at Kernelboot
From
On Sun, Dec 16, 2007 at 07:06:04PM +0100, Oliver Joa wrote:
> how can I tell the kernel not to probe DMA for a specific harddisk (e.g.
> hda). My first Drive (hda) is a Compact-Flash Card which can not do DMA.
> The kernel tries at boot to switch to DMA but fails. If I use ide=nodma,
> the kernel boots about 2 minutes faster, but then I can not switch on
> DMA for the second Drive (hdc) which is a normal Harddisk. Do I have to
> live with this 2 minutes waiting time or is there another solution? I
> did not find any kernel-parameter for this purpose.
>
> Sorry if I ask here, but I can not find any solution, and I asked
> already in other groups.

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.

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.

--
Len Sorensen


\
 
 \ /
  Last update: 2007-12-17 23:35    [from the cache]
©2003-2011 Jasper Spaans