Re: 2.6.23-rc9-git4: pata_pcmcia, disabling IRQ #9 and Re: libata and legacy ide pcmcia failure

2008-03-28 Thread Tejun Heo
Hello, Peter F. Patel-Schneider wrote: From: Tejun Heo [EMAIL PROTECTED] Subject: Re: 2.6.23-rc9-git4: pata_pcmcia, disabling IRQ #9 and Re: libata and legacy ide pcmcia failure Date: Wed, 26 Mar 2008 23:44:39 +0900 [Problems with PCMCIA adapter and CF card on ThinkPad T60p.] Does

Re: libata and legacy ide pcmcia failure

2007-06-25 Thread Robert de Rooy
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

Re: libata and legacy ide pcmcia failure

2007-06-25 Thread Albert Lee
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

Re: libata and legacy ide pcmcia failure

2007-06-22 Thread Robert de Rooy
Tejun Heo wrote: Albert Lee wrote: libata can do most of this too by using ATA_FLAG_PIO_POLLING (doesn't cover nodata commands tho). Hi Tejun, Polling of nodata commands was fixed in: http://marc.info/?l=linux-idem=116546272916399w=2 Right. Thanks for reminding me.

Re: libata and legacy ide pcmcia failure

2007-06-22 Thread Mark Lord
Robert de Rooy wrote: I did another try with libata pcmcia support using 2.6.22-rc5 which already includes the nodata polling fix, in combination with disable-dev_init_param-and-setxfermode-for-CFA.patch and the timing-debug.patch ... Jun 22 13:19:44 localhost kernel: ata3.00: issuing

Re: libata and legacy ide pcmcia failure

2007-06-11 Thread Mark Lord
Robert de Rooy wrote: (after applying the ide-polling experimental patch) With this I can declare success!! I was able to read and write to the card without any problems, although I did not try to stress it. Jun 12 00:19:42 localhost kernel: pccard: PCMCIA card inserted into slot 0 Jun 12

Re: libata and legacy ide pcmcia failure

2007-06-10 Thread Russell King
On Sun, Jun 10, 2007 at 11:50:52PM +0200, Robert de Rooy wrote: Mark Lord wrote: Well, at this point, I think the only way to make progress is for one of the IDE/libata gurus to actually get hold of the same card you have, meaning Alan Cox (best choice), or myself, or Bart. Or maybe

Re: libata and legacy ide pcmcia failure

2007-06-08 Thread Mark Lord
Tejun Heo wrote: Jun 7 21:10:29 localhost kernel: ata3.00: CFA: Memory Card Adapter, 20011212, max PIO1 Jun 7 21:10:29 localhost kernel: ata3.00: 253696 sectors, multi 0: LBA Jun 7 21:10:29 localhost kernel: ata3.00: issuing IDENTIFY Jun 7 21:10:29 localhost kernel: ata3.00: IDENTIFY

Re: libata and legacy ide pcmcia failure

2007-06-08 Thread Robert de Rooy
Mark Lord wrote: I still don't see much evidence that interrupts are actually functioning here. It would be good to see /proc/interrupts before/after libata tries to talk to it. Let's assume for the moment that interrupts are b0rken. The legacy IDE driver can talk to such devices

Re: libata and legacy ide pcmcia failure

2007-06-07 Thread Robert de Rooy
Tejun Heo wrote: Can you test the attached patch Here is what I get on the T41 (TI Cardbus controller) with 2.6.22-rc4 + timing-debug.patch + disable-dev_init_param-and-setxfermode-for-CFA.patch + libata-dont-test-slave-register-readiness-after-srst.patch Jun 7 21:10:28 localhost kernel:

Re: libata and legacy ide pcmcia failure

2007-05-23 Thread Alan Cox
http://thread.gmane.org/gmane.linux.kernel/530099 It seems we're losing interrupts from the CFA device. Any ideas? Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling... Not that I know of. Not devices anyway - there are embedded boxes with no IRQ

Re: libata and legacy ide pcmcia failure

2007-05-23 Thread Robert de Rooy
Alan Cox wrote: http://thread.gmane.org/gmane.linux.kernel/530099 It seems we're losing interrupts from the CFA device. Any ideas? Alan probably knows more, but ISTR some CFA PCMCIA devices that needed polling... Not that I know of. Not devices anyway - there are embedded

Re: libata and legacy ide pcmcia failure

2007-05-21 Thread Tejun Heo
Robert de Rooy wrote: Hmm, good question. I do not have any other PCMCIA device to test. The only other device I have is a Cardbus Wi-Fi adapter without Linux support (Marvell). If I insert that adapter lspci seems to list it properly, but without resorting to ndiswrapper I have no way of