From owner-freebsd-scsi Mon Nov 19 10:13:33 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 8594137B418 for ; Mon, 19 Nov 2001 10:13:27 -0800 (PST) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.51]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id fAJIDOr10475; Mon, 19 Nov 2001 19:13:24 +0100 (MET) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.11.6/8.11.6) id fAJIDMf01078; Mon, 19 Nov 2001 19:13:22 +0100 (CET) (envelope-from jose) Date: Mon, 19 Nov 2001 19:13:22 +0100 From: "Jose M. Alcaide" To: "Justin T. Gibbs" Cc: scsi@FreeBSD.ORG Subject: Re: weird problems with on-board Adaptec 7880 Message-ID: <20011119191322.F337@v-ger.we.lc.ehu.es> References: <20011119181318.C337@v-ger.we.lc.ehu.es> <200111191747.fAJHlaY86236@aslan.scsiguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111191747.fAJHlaY86236@aslan.scsiguy.com>; from gibbs@scsiguy.com on Mon, Nov 19, 2001 at 10:47:36AM -0700 X-Operating-System: FreeBSD 4.4-STABLE Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 19, 2001 at 10:47:36AM -0700, Justin T. Gibbs wrote: > >Currently I have *only* one device attached: the external DLT 4000 unit > >(fast narrow SCSI). There is a flat 50-way cable from the appropriate > >connector on the motherboard to an external micro-SCSI connector; from > >here to the DLT there is a single standard SCSI cable, and I attached an > >active terminator to the DLT's free SCSI connector, of course. Everything > >is correct. > > Ensure the DLT does not have a jumper or dip switch for internal > termination. But when I attach the DLT to the external connector of an Adaptec 2940U controller, it works just fine. OTOH, I also tried to *only* attach the internal Ultra-SCSI CD-ROM and CD-RW devices (terminating the bus using the jumper of the device at the end of the chain), and I also get low sync rates (5 MHz, 5.813 MHz). If I attach these devices to the Adaptec 2940U (using the same cable) they work fine at 20 MHz sync rates. > >I am suspecting of problems with the SEEPROM. Maybe the ahc(4) driver does > >not understand correctly the settings it reads from the SEEPROM... I don't > >know. I found a option called "AHC_DUMP_EEPROM"; I can turn it on if it > >could be useful. > > It may be useful. ahc2: port 0xe400-0xe4ff mem 0xe5903000-0xe5903fff irq 14 at device 20.0 on pci0 Serial EEPROM: 0xb0ee 0xb0ee 0xb0ee 0xb0ee 0x8629 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff 0xbfff Serial EEPROM: 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0xc3bb 0x18a6 0x1c5e 0x2807 0x10 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x98c0 Supposedly, if I set a maximum speed (e.g. 10 MB/s, narrow) for a target using SCSI-select, no higher speeds should be negotiated, isn't it? That's not the case with this controller; fiddling with these settings, sometimes I even got 10 MB/s for the DLT and 20 MB/s for the CD-ROM and CD-RW, but the transfers don't work. This is the reason for I suspect that something is broken in SCSI-select, or maybe the SEEPROM contents is corrupted (I also tried to "load defaults" in SCSI-select). > >**NOTE:** the SCSI-select utility offers only two choices for bus > >termination: "High ON/Low Auto" or "High OFF/Low OFF". If I attach devices > >to both SCSI onboard connectors (wide and narrow), the "boot -v" messages > >keep saying "Low byte termination enabled". Is that the expected behavior? > > Depends on the motherboard. Many of these systems actually control > the termination via a MB BIOS control. The SCSI Select controls were > never disabled when the SCSI BIOS was compiled. I believe that this may > be the cause of your bus instability. The motherboard has a jumper labeled "SCSI Autoterm ON", and I tried to remove it to no avail. The motherboard manual does not tell anything about this jumper, however. Thanks very much, JMA -- ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message