lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 07 Dec 2007 22:47:57 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	Zan Lynx <zlynx@....org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, linux-pcmcia@...ts.infradead.org,
	linux-ide@...r.kernel.org
Subject: Re: 2.6.24-rc4-mm1 and Very Slow PCMCIA Compact Flash

Zan Lynx 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@....org> wrote:
>>
>>> On Fri, 2007-12-07 at 15:02 -0800, Andrew Morton wrote:
>>>> On Fri, 07 Dec 2007 20:38:24 +0000
>>>> Zan Lynx <zlynx@....org> wrote:
>>>>
>>>>> While I'm reporting problems I'll get this one out there.
>>>>>
>>>>> I normally use a USB-2 memory card reader but I also have a PCMCIA
>>>>> CompactFlash adapter that I use occasionally.  During the MM series
>>>>> kernels 2.6.22 and 23 (I am pretty sure) this didn't work at all.  I
>>>>> don't know about vanilla since I don't run that.
>>>>>
>>>>> 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]
>> Oh, OK.  Hopefully the ata guys can help out with this.
>>
>> I don't know if it actually strictly a regression?  Did libata ever support
>> that device in any earlier kernels?
> 
> That could be why it didn't work for a few kernel versions.  I
> reconfigured for a libata-only system a while back.  And, since I
> usually use the USB-2 flash reader I didn't care much about the PCMCIA.
> 
> I will try reverting that patch later tonight, in a few hours.

It looks like pata_pcmcia is always PIO mode 0:

/**
  *	pcmcia_init_one		-	attach a PCMCIA interface
  *	@pdev: pcmcia device
  *
  *	Register a PCMCIA IDE interface. Such interfaces are PIO 0 and
  *	shared IRQ.
  */

I assume that with old IDE this would use ide_cs.c, but I'm drawing a 
blank on what modes that supports..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@...pamshaw.ca
Home Page: http://www.roberthancock.com/

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ