Subject: Re: kern/30531: lsilogic raid array crawls
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-bugs
Date: 06/30/2005 09:28:02
The following reply was made to PR kern/30531; it has been noted by GNATS.
From: Patrick Welche <prlw1@newn.cam.ac.uk>
To: thorpej@shagadelic.org
Cc: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/30531: lsilogic raid array crawls
Date: Thu, 30 Jun 2005 10:27:24 +0100
I am not plugged into a PCIX slot.
[re the bug system: I only just checked the bug database because I was about
to report that this patch:
Index: mpt_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/mpt_pci.c,v
retrieving revision 1.5
diff -u -r1.5 mpt_pci.c
--- mpt_pci.c 27 Feb 2005 00:27:33 -0000 1.5
+++ mpt_pci.c 30 Jun 2005 09:17:01 -0000
@@ -210,7 +210,20 @@
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, reg);
/*
- * Ensure that the ROM is diabled.
+ * quirk from mptbase.c,mptlinux-3.03.02-src.tar.gz
+ * Disable split transactions for rev < 8.
+ * XXX here be magic constants...
+ */
+ if ((PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SYMBIOS_1030)
+ && (PCI_REVISION(pa->pa_class) < 0x08)) {
+ aprint_normal("%s: applying 1030 quirk\n",mpt->sc_dev.dv_xname);
+ reg = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x6a);
+ reg &= 0x8f;
+ pci_conf_write(pa->pa_pc, pa->pa_tag, 0x6a, reg);
+ }
+
+ /*
+ * Ensure that the ROM is disabled.
*/
reg = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM);
reg &= ~1;
@@ -253,7 +266,7 @@
* Hard resets are known to screw up the BAR for diagnostic
* memory accesses (Mem1).
*
- * Using Mem1 is know to make the chip stop responding to
+ * Using Mem1 is known to make the chip stop responding to
* configuration cycles, so we need to save it now.
*/
mpt_pci_read_config_regs(mpt);
achieves nothing. Had I actually received Jason's mail that would have
saved much head scratching!]