From owner-freebsd-scsi Fri Nov 26 1:23:11 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 6D8C414FAD for ; Fri, 26 Nov 1999 01:23:07 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id KAA31645; Fri, 26 Nov 1999 10:00:03 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id KAA49959; Fri, 26 Nov 1999 10:09:54 +0100 (CET) (envelope-from wilko) From: Wilko Bulte Message-Id: <199911260909.KAA49959@yedi.iaf.nl> Subject: Re: NEWS: SYM53C1010 and Ultra3 support In-Reply-To: from Gerard Roudier at "Nov 26, 1999 1:43: 3 am" To: groudier@club-internet.fr (Gerard Roudier) Date: Fri, 26 Nov 1999 10:09:54 +0100 (CET) Cc: scsi@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Gerard Roudier wrote ... Hi Gerard, After patching the table now looks like: static struct sym_pci_chip sym_pci_dev_table[] = { {PCI_ID_SYM53C810, 0x01, "810", 4, 8, 4, 0} , {PCI_ID_SYM53C810, 0xff, "810a", 4, 8, 4, FE_CACHE_SET|FE_LDSTR|FE_PFEN|FE_BOF} , {PCI_ID_SYM53C825, 0xff, "825a", 6, 8, 4, FE_WIDE|FE_CACHE0_SET|FE_BOF|FE_DFS|FE_LDSTR|FE_PFEN|FE_RAM|FE_DIFF} , {PCI_ID_SYM53C860, 0xff, "860", 4, 8, 5, FE_ULTRA|FE_CLK80|FE_CACHE_SET|FE_BOF|FE_LDSTR|FE_PFEN} But I'm afraid it does not work like expected: a fresh kernel says: pci0: on pcib0 sym0: <810a> irq 7 at device 5.0 on pci0 sym0: No NVRAM, ID 7, Fast-10, parity checking sym0: open drain IRQ line driver CACHE TEST FAILED: script execution failed. start=47c625c8, pc=47c625d4, end=47c625e8 sym0: CACHE INCORRECTLY CONFIGURED. device_probe_and_attach: sym0 attach returned 6 Qlogic ISP Driver, FreeBSD Version 4.0, Core Version 1.11 Can I enable extra debugging output maybe to help nail it down? Cheers, Wilko > Sorry for the stupid trivial bug. The below untested change should help > for the driver to ignore the 810. > > --- sym_hipd.c.991126 Fri Nov 26 01:37:51 1999 > +++ sym_hipd.c Fri Nov 26 01:40:35 1999 > @@ -9515,6 +9515,9 @@ > #endif /* FreeBSD_4_Bus */ > > static struct sym_pci_chip sym_pci_dev_table[] = { > + {PCI_ID_SYM53C810, 0x01, "810", 4, 8, 4, > + 0} > + , > {PCI_ID_SYM53C810, 0xff, "810a", 4, 8, 4, > FE_CACHE_SET|FE_LDSTR|FE_PFEN|FE_BOF} > , -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message