[From nobody Mon Jun 25 15:11:38 2007
Message-ID: &lt;467FA93B.6010403@gmail.com&gt;
Date: Mon, 25 Jun 2007 13:38:35 +0200
From: Robert de Rooy &lt;robert.de.rooy@gmail.com&gt;
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
MIME-Version: 1.0
To: albertl@mail.com
Subject: Re: libata and legacy ide pcmcia failure
References: &lt;466718B6.4080105@gmail.com&gt; &lt;4667B39D.209@gmail.com&gt;
	&lt;46685AE5.4010908@gmail.com&gt; &lt;466900F3.7040801@gmail.com&gt;
	&lt;46694FB2.6040007@pobox.com&gt; &lt;4669D2D8.3020806@gmail.com&gt;
	&lt;4669D3F5.7040300@rtr.ca&gt; &lt;466B4D86.1020808@gmail.com&gt;
	&lt;466C631D.2000001@rtr.ca&gt; &lt;466C723C.6000300@gmail.com&gt;
	&lt;20070610221322.GA18196@flint.arm.linux.org.uk&gt;
	&lt;466C7A9F.1080700@rtr.ca&gt; &lt;466DCE55.30507@gmail.com&gt;
	&lt;466DCF43.5060304@pobox.com&gt; &lt;466E11DF.5020901@gmail.com&gt;
	&lt;466F4A27.8070309@tw.ibm.com&gt; &lt;46710CD7.9070901@gmail.com&gt;
	&lt;467BB7DB.4090004@gmail.com&gt; &lt;467BCF86.8060508@rtr.ca&gt;
	&lt;467F3EDC.2060002@tw.ibm.com&gt; &lt;467F8B8B.1000006@gmail.com&gt;
	&lt;467F95D8.6000805@tw.ibm.com&gt;
In-Reply-To: &lt;467F95D8.6000805@tw.ibm.com&gt;
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Albert Lee wrote:
&gt; The patch just workarounds the &quot;lost irq&quot; problem by polling; not real
&gt; fix. We still need to find out why irq is lost per Mark's comment:
&gt;
&gt; &quot;This proves that the device does work correctly in most respects
&gt; except for interrupt delivery.  The status bits are working and
&gt; it can be probed for, configured, and used.&quot;
&gt;
&gt; &quot;So, next step might be to try and understand the interrupt mis-delivery
&gt; problem some more.   I've lost the history of the original issue,
&gt; but we now know that everything except the actual interrupt seems good.&quot;
&gt;
&gt; I am not familiar with the PCMCIA interrupt delivery. It seems the
&gt; &quot;Dazzle 4in1 Card Adapter&quot; works under windows but somehow lost irq
&gt; under both IDE and libata. Maybe Alan/Bart or the PCMCIA developers
&gt; know better...
&gt; --
&gt; albert

I see. So this is not the ideal fix for this problem. Anything else I 
can do to debug the irq lost issue? perhaps add some debug to the pcmcia 
code?

For what its worth, I compiled a clean 2.6.22-rc5 with just the 
pio_polling patch added, and that allows me to mount the device without 
any errors in syslog. So the 
disable-dev_init_param-and-setxfermode-for-CFA.patch is not needed.


]