2.6.24-rc4-mm1 and Very Slow PCMCIA Compact Flash

Andrew Morton akpm at linux-foundation.org
Sat Dec 8 05:07:22 EST 2007


On Fri, 07 Dec 2007 22:01:33 -0700 Zan Lynx <zlynx at acm.org> wrote:

> 
> On Fri, 2007-12-07 at 15:22 -0800, Andrew Morton wrote:
> > On Fri, 07 Dec 2007 23:09:43 +0000
> > Zan Lynx <zlynx at acm.org> wrote:
> [cut] 
> > > > > Now with MM kernels 2.6.24 rc1-4 the PCMCIA adapter works again, but I
> > > > > only get read rates of 1.6 MB/s.  When it used to work in 2.6.20 I got
> > > > > at least 16 MB/s.  The card itself is capable of 30+ in the USB-2
> > > > > reader.
> [cut]
> > Maybe pata_pcmcia-minor-cleanups-and-support-for-dual-channel-cards.patch?
> > 
> > Could you try a `patch -R' of the below?
> > 
> > 
> > From: Alan Cox <alan at lxorguk.ukuu.org.uk>
> > 
> > Signed-off-by: Alan Cox <alan at redhat.com>
> > Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> > ---
> > 
> >  drivers/ata/pata_pcmcia.c |   31 +++++++++++++++++--------------
> >  1 file changed, 17 insertions(+), 14 deletions(-)
> > 
> > diff -puN drivers/ata/pata_pcmcia.c~pata_pcmcia-minor-cleanups-and-support-for-dual-channel-cards drivers/ata/pata_pcmcia.c
> [cut]
> 
> Nope, that did not change anything.  It still detects as PIO0 and still
> runs at 1.6 MB/s.

argh.  OK.  And Linus's current tree is OK, yes?

In which case we should be OK for 2.6.24 and I guess we can hope like heck
that the dud patch doesn't leak into mainline.  Hopefully Alan will get
some time to look into it before 2.6.25 opens.

<looks>

OK, there's a patch in Jeff's tree "pata_pcmcia: Add support for dumb 8bit
IDE emulations" which could be our guy.

I've uploaded two patches, against 2.6.24-rc4:

http://userweb.kernel.org/~akpm/zl.with.gz
	origin.patch + git-libata-all.patch

http://userweb.kernel.org/~akpm/zl.without.gz
	origin.patch + git-libata-all.patch - 5ddcddd4dfeb16a9509dad647f509828d6fee605

It would be great if you could test both.  If zl.with is bad and zl.without
is good then we know that 5ddcddd4dfeb16a9509dad647f509828d6fee605 caused
this problem.

Thanks.




More information about the linux-pcmcia mailing list