linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libata pata_pdc2027x success on sparc64
@ 2006-07-17 23:58 Mikael Pettersson
  2006-07-18 18:07 ` Sergei Shtylyov
  0 siblings, 1 reply; 9+ messages in thread
From: Mikael Pettersson @ 2006-07-17 23:58 UTC (permalink / raw)
  To: alan; +Cc: albertcc, linux-ide, linux-kernel

Alan & Albert,

I just tried the patch-2.6.17-ide1.gz libata PATA patch
on a sparc64 box in which I had put an Ultra133TX2 PCI
card (pdc20269) and an old 80GB IBM Deskstar disk. The
results were excellent: did lots of I/O with no kernel
errors, and I got about 45MB/s read speed at udma5.

(A minor nit: the patch kit doesn't have a config option
for pata_pdc2027x, so I had to hack one in. See below.)

In contrast, the old IDE pdc202xx_new driver had lots
of problems with CRC errors causing it to disable DMA.
I wasn't able to manually tune it above udma3 without
getting more errors. This isn't sparc64-specific: I've
had similar negative experience with the old IDE Promise
drivers in a PowerMac.

/Mikael

--- linux-2.6.17/drivers/scsi/Kconfig.~1~	2006-07-17 23:30:25.000000000 +0200
+++ linux-2.6.17/drivers/scsi/Kconfig	2006-07-17 23:39:25.000000000 +0200
@@ -843,6 +843,10 @@ config SCSI_PATA_PDC_OLD
 
 	  If unsure, say N.
 
+config SCSI_PATA_PDC_NEW
+	tristate "Newer Promise PATA controller support (Raving Lunatic)"
+	depends on SCSI_SATA && PCI && EXPERIMENTAL
+
 config SCSI_PATA_QDI
 	tristate "QDI VLB PATA support"
 	depends on SCSI_SATA
--- linux-2.6.17/drivers/scsi/Makefile.~1~	2006-07-17 23:30:25.000000000 +0200
+++ linux-2.6.17/drivers/scsi/Makefile	2006-07-17 23:40:06.000000000 +0200
@@ -161,6 +161,7 @@ obj-$(CONFIG_SCSI_PATA_OPTI)	+= libata.o
 obj-$(CONFIG_SCSI_PATA_OPTIDMA)	+= libata.o pata_optidma.o
 obj-$(CONFIG_SCSI_PATA_PCMCIA)	+= libata.o pata_pcmcia.o
 obj-$(CONFIG_SCSI_PATA_PDC_OLD)	+= libata.o pata_pdc202xx_old.o
+obj-$(CONFIG_SCSI_PATA_PDC_NEW)	+= libata.o pata_pdc2027x.o
 obj-$(CONFIG_SCSI_PATA_QDI)	+= libata.o pata_qdi.o
 obj-$(CONFIG_SCSI_PATA_RADISYS)	+= libata.o pata_radisys.o
 obj-$(CONFIG_SCSI_PATA_RZ1000)	+= libata.o pata_rz1000.o

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: libata pata_pdc2027x success on sparc64
@ 2006-07-19  0:29 Mikael Pettersson
  2006-07-25 16:02 ` Alan Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Mikael Pettersson @ 2006-07-19  0:29 UTC (permalink / raw)
  To: mikpe, sshtylyov; +Cc: alan, albertcc, linux-ide, linux-kernel

On Tue, 18 Jul 2006 22:07:44 +0400, Sergei Shtylyov wrote:
>> In contrast, the old IDE pdc202xx_new driver had lots
>> of problems with CRC errors causing it to disable DMA.
>
>    Hm, from my experience it usually falls back to UltraDMA/44 and then the 
>thing startrt working...
>
>> I wasn't able to manually tune it above udma3 without
>> getting more errors. This isn't sparc64-specific: I've
>> had similar negative experience with the old IDE Promise
>> drivers in a PowerMac.
>
>    This happens because the "old" driver misses the PLL calibration code.
>    You may want to try these Albert's patches:
>
>http://marc.theaimsgroup.com/?t=110992452800002&r=1&w=2
>http://marc.theaimsgroup.com/?t=110992471500002&r=1&w=2
>http://marc.theaimsgroup.com/?t=110992490100002&r=1&w=2
>http://marc.theaimsgroup.com/?t=111019238400003&r=1&w=2
>
>    It looks like they were never considered for accepting into the kernel
>while they succesfully solve this issue. Maybe Albert could try pushing them 
>into -mm tree once more?

Thank you for these links. After fixing up whitespace damage in
these four messages the patches applied OK and more importantly
eliminated _all_ misbehaviour from pdc202xx_new on both my sparc64
and my PowerMac.

These fixes belong in Linus' kernel, not some semi-obscure
mailing list archive.

/Mikael

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-08-09 16:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 23:58 libata pata_pdc2027x success on sparc64 Mikael Pettersson
2006-07-18 18:07 ` Sergei Shtylyov
2006-07-27  4:31   ` Albert Lee
2006-07-27 16:35     ` Sergei Shtylyov
2006-08-09 15:59     ` Mikael Pettersson
2006-08-09 16:05       ` Sergei Shtylyov
2006-08-09 16:15         ` Mikael Pettersson
  -- strict thread matches above, loose matches on Subject: below --
2006-07-19  0:29 Mikael Pettersson
2006-07-25 16:02 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).