Re: CF flash PATA on libata failure to attach

2007-07-02 Thread Albert Lee
Alan Cox wrote: > On Fri, Jun 29, 2007 at 05:34:36PM +1000, Andrew Hall wrote: > >>Further to this the PATA to SATA bridge being used in this case is: >> >>http://www.jmicron.com/JM20330.html >> >>..as you will see only PIO and UDMA modes are supported. > > > In which case their microcontroller

Re: CF flash PATA on libata failure to attach

2007-07-02 Thread Tejun Heo
Alan Cox wrote: > On Fri, Jun 29, 2007 at 05:34:36PM +1000, Andrew Hall wrote: >> Further to this the PATA to SATA bridge being used in this case is: >> >> http://www.jmicron.com/JM20330.html >> >> ..as you will see only PIO and UDMA modes are supported. > > In which case their microcontroller in

Re: CF flash PATA on libata failure to attach

2007-06-29 Thread Alan Cox
On Fri, Jun 29, 2007 at 05:34:36PM +1000, Andrew Hall wrote: > Further to this the PATA to SATA bridge being used in this case is: > > http://www.jmicron.com/JM20330.html > > ..as you will see only PIO and UDMA modes are supported. In which case their microcontroller in the middle should be mask

Re: CF flash PATA on libata failure to attach

2007-06-29 Thread Alan Cox
On Thu, Jun 28, 2007 at 09:10:06PM -0400, Mark Lord wrote: > Here's a slightly modified hack, which should leave your SATA > drive working as well as the CF card. > > Tejun / Alan : do we really want to continue attempting mdma2 > on a modern chipset such as ICH8 ??? Thats a good question is it o

RE: CF flash PATA on libata failure to attach

2007-06-29 Thread Andrew Hall
> > Per my other email -- did you try the legacy IDE driver > instead of libata? Can you provide a boot log from that for Tejun? Further to this the PATA to SATA bridge being used in this case is: http://www.jmicron.com/JM20330.html ..as you will see only PIO and UDMA modes are supported. - T

RE: CF flash PATA on libata failure to attach

2007-06-28 Thread Andrew Hall
> You can certainly also thank Tejun and Jeff, > for making libata so easy to tune with a one-liner liner like this! > > Per my other email -- did you try the legacy IDE driver > instead of libata? Can you provide a boot log from that for Tejun? Too true.. thanks Tejun, Jeff and Alan also.. much

Re: CF flash PATA on libata failure to attach

2007-06-28 Thread Mark Lord
Andrew Hall wrote: .. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- linux/drivers/ata/ata_piix.c.orig 2007-06-10 18:58:27.0 -0400 +++ linux/drivers/ata/ata_piix.c2007-06-28 21:09:04.0 -0400 @@ -537,7 +537,7 @@ .flags = PIIX_SATA_FLAGS |

Re: CF flash PATA on libata failure to attach

2007-06-28 Thread Mark Lord
Tejun Heo wrote: Hello, Mark Lord wrote: Here's a slightly modified hack, which should leave your SATA drive working as well as the CF card. Tejun / Alan : do we really want to continue attempting mdma2 on a modern chipset such as ICH8 ??? One thing that worries me is that we have reports wh

RE: CF flash PATA on libata failure to attach

2007-06-28 Thread Andrew Hall
> Here's a slightly modified hack, which should leave your SATA > drive working as well as the CF card. > > Tejun / Alan : do we really want to continue attempting mdma2 > on a modern chipset such as ICH8 ??? > > The best mdma2 can do is the same throughput as pio4, > and the bus occupancy is so

Re: CF flash PATA on libata failure to attach

2007-06-28 Thread Tejun Heo
Hello, Mark Lord wrote: > Here's a slightly modified hack, which should leave your SATA > drive working as well as the CF card. > > Tejun / Alan : do we really want to continue attempting mdma2 > on a modern chipset such as ICH8 ??? One thing that worries me is that we have reports where the IDE

Re: CF flash PATA on libata failure to attach

2007-06-28 Thread Mark Lord
Andrew Hall wrote: Yes!! It worked.. which means you were right - forcing the channel to PIO4 and the drive was happy. The problem I have now is that we do in fact also have a SATA HDD connected to the same controller used for database and logging data - this now also is forced to use PIO4. How

RE: CF flash PATA on libata failure to attach

2007-06-28 Thread Andrew Hall
> > I'm betting that the SATA/PATA converter is getting confused with > the ata_piix driver's attempt to use MDMA2 on it. > > PIO appears to be working fine -- the BIOS uses it to boot, > and libata uses it to do the IDENTIFY operation. > > So, try this hack, which should force ata_piix to use o

Re: CF flash PATA on libata failure to attach

2007-06-28 Thread Mark Lord
Andrew Hall wrote: > Hi Mark, > > The device is a Nexcom NSA1083 appliance: > > http://www.nexcom.com/product/productshow.jsp?iid=13&pid=878 > > It's an OEM appliance that uses the Intel 965 chipset. We use it as one of > three platforms for our access control and compliance products as it has 8 >

RE: CF flash PATA on libata failure to attach

2007-06-27 Thread Andrew Hall
o look. Many thanks, > -Original Message- > From: Mark Lord [mailto:[EMAIL PROTECTED] > Sent: Thursday, 28 June 2007 12:08 AM > To: Andrew Hall > Cc: linux-ide@vger.kernel.org; [EMAIL PROTECTED] > Subject: Re: CF flash PATA on libata failure to attach > > Andrew Hall wro

Re: CF flash PATA on libata failure to attach

2007-06-27 Thread Mark Lord
Andrew Hall wrote: This looks a lot like the other CF-card problem that was being debugged here over the past week -- the one where POLLING had to be turned on. Robert de Rooy (copied) was the reporter for that one. Perhaps you two could compare notes ? Do you have a spare device you can send m

RE: CF flash PATA on libata failure to attach

2007-06-26 Thread Andrew Hall
> > This looks a lot like the other CF-card problem that was being debugged > here over the past week -- the one where POLLING had to be turned on. > Robert de Rooy (copied) was the reporter for that one. > Perhaps you two could compare notes ? > > Cheers Thanks for getting back to me. I read th

Re: CF flash PATA on libata failure to attach

2007-06-26 Thread Mark Lord
Andrew Hall wrote: Hello, I have been wrestling now for several days trying to get a Compact Flash (IDE) card detected and mounted properly under any version of Linux 2.6.x. using ICH8 hardware. My understanding is that this hardware uses a SATA to PATA bridge, and so I have tried unsuccessfully

CF flash PATA on libata failure to attach

2007-06-26 Thread Andrew Hall
Hello, I have been wrestling now for several days trying to get a Compact Flash (IDE) card detected and mounted properly under any version of Linux 2.6.x. using ICH8 hardware. My understanding is that this hardware uses a SATA to PATA bridge, and so I have tried unsuccessfully to use the newer Int