[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071217223225.GF2310@csclub.uwaterloo.ca>
Date: Mon, 17 Dec 2007 17:32:25 -0500
From: lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
To: Oliver Joa <oliver@...-a.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists