linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Lee <albertcc@tw.ibm.com>
To: Robert de Rooy <robert.de.rooy@gmail.com>
Cc: Mark Lord <liml@rtr.ca>, Tejun Heo <htejun@gmail.com>,
	Mark Lord <mlord@pobox.com>, Jeff Garzik <jeff@garzik.org>,
	bzolnier@gmail.com, linux-pcmcia@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: libata and legacy ide pcmcia failure
Date: Mon, 25 Jun 2007 18:15:52 +0800	[thread overview]
Message-ID: <467F95D8.6000805@tw.ibm.com> (raw)
In-Reply-To: <467F8B8B.1000006@gmail.com>

Robert de Rooy wrote:
> Albert Lee wrote:
> 
>> Mark Lord wrote:
>>  
>>
>>> ...
>>>
>>> Mmm.. I don't know about the first failure there,
>>> but after that it gets into the "stuck DRQ" state
>>> which libata makes no attempt to handle at present.
>>>
>>>     
>>
>>
>> It seems the pata_pcmcia driver is using IRQ driven PIO. Maybe Robert
>> could try the following pio_polling patch first.
>>   
> 
> 
> I did not get the chance to try Marks patch, but the pio_polling patch
> from Albert works!!
> 
> 

The patch just workarounds the "lost irq" problem by polling; not real
fix. We still need to find out why irq is lost per Mark's comment:

"This proves that the device does work correctly in most respects
except for interrupt delivery.  The status bits are working and
it can be probed for, configured, and used."

"So, next step might be to try and understand the interrupt mis-delivery
problem some more.   I've lost the history of the original issue,
but we now know that everything except the actual interrupt seems good."

I am not familiar with the PCMCIA interrupt delivery. It seems the
"Dazzle 4in1 Card Adapter" works under windows but somehow lost irq
under both IDE and libata. Maybe Alan/Bart or the PCMCIA developers
know better...
--
albert


      reply	other threads:[~2007-06-25 10:16 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 18:59 libata pcmcia failure Robert de Rooy
2007-05-17  8:42 ` Robert de Rooy
2007-05-17 20:15   ` libata and legacy ide " Robert de Rooy
2007-05-20 11:31     ` Tejun Heo
2007-05-20 21:13       ` Robert de Rooy
2007-05-21 11:50         ` Tejun Heo
2007-05-21 12:37           ` Alan Cox
2007-05-21 12:42             ` Tejun Heo
2007-05-21 15:10           ` Robert de Rooy
2007-05-21 15:18             ` Tejun Heo
2007-05-21 16:11               ` Robert de Rooy
2007-05-21 16:22                 ` Tejun Heo
2007-05-21 17:16                   ` Robert de Rooy
2007-05-21 21:12                   ` Jeff Garzik
2007-05-22 19:37                     ` Robert de Rooy
2007-05-23 14:02                     ` Alan Cox
2007-05-23 18:47                       ` Robert de Rooy
2007-06-06 20:27                       ` Robert de Rooy
2007-06-07  7:28                         ` Tejun Heo
2007-06-07 19:22                           ` Robert de Rooy
2007-06-08  7:10                             ` Tejun Heo
2007-06-08 12:46                               ` Mark Lord
2007-06-08 22:06                                 ` Robert de Rooy
2007-06-08 22:11                                   ` Mark Lord
2007-06-10  1:01                                     ` Robert de Rooy
2007-06-10 20:46                                       ` Mark Lord
     [not found]                                         ` <466C723C.6000300@gmail.com>
     [not found]                                           ` <20070610221322.GA18196@flint.arm.linux.org.uk>
     [not found]                                             ` <466C7A9F.1080700@rtr.ca>
2007-06-11 22:36                                               ` Robert de Rooy
2007-06-11 22:40                                                 ` Mark Lord
2007-06-12  3:24                                                   ` Tejun Heo
2007-06-13  1:36                                                     ` Albert Lee
2007-06-14  9:39                                                       ` Tejun Heo
2007-06-22 11:51                                                         ` Robert de Rooy
2007-06-22 13:32                                                           ` Mark Lord
2007-06-25  4:04                                                             ` Albert Lee
2007-06-25  9:31                                                               ` Robert de Rooy
2007-06-25 10:15                                                                 ` Albert Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467F95D8.6000805@tw.ibm.com \
    --to=albertcc@tw.ibm.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=albertl@mail.com \
    --cc=bzolnier@gmail.com \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pcmcia@lists.infradead.org \
    --cc=mlord@pobox.com \
    --cc=robert.de.rooy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).