Re: 2.6.24-rc4-mm1 and Very Slow PCMCIA Compact Flash

Zan Lynx
2007-12-09T03:03:16Z

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

On Sat, 2007-12-08 at 02:07 -0800, Andrew Morton wrote:
> On Fri, 07 Dec 2007 22:01:33 -0700 Zan Lynx <zlynx@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@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]
> 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.

Linus' tree is also broken.

I tried a Linus 2.6.24-rc4 and it acts the same way, with a very slow
transfer rate.

I also tried 2.6.24-rc4 with the older not-libata PATA drivers and it is
broken. dmesg had a line about the CF card detected as hda,
but /sys/block did not have hda and /dev/hda did not function.

I will try the patches you mentioned, but I think I may also have to
work backward through kernel versions until I find the last one where
the PCMCIA hd{a,b,c,d,e} drivers worked.