From owner-aic7xxx Tue Sep 9 19:00:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA25025 for aic7xxx-outgoing; Tue, 9 Sep 1997 19:00:51 -0700 (PDT) Received: from dledford.dialnet.net (root@dledford.dialnet.net [206.65.249.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA25018 for ; Tue, 9 Sep 1997 19:00:45 -0700 (PDT) Received: from dledford.dialnet.net (localhost [127.0.0.1]) by dledford.dialnet.net (8.8.5/8.8.4) with ESMTP id VAA25436; Tue, 9 Sep 1997 21:00:31 -0500 Message-Id: <199709100200.VAA25436@dledford.dialnet.net> X-Mailer: exmh version 1.6.9 05/05/96 To: "Steven N. Hirsch" cc: adaptec drivers , linux-kernel@vger.rutgers.edu Subject: Re: Followup on 274xT Adaptec In-reply-to: Your message of "Tue, 09 Sep 1997 21:14:13 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 09 Sep 1997 21:00:31 -0500 From: Doug Ledford Sender: owner-aic7xxx@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk -------- > Ok, per Doug's request I hacked up the driver to panic just before > scanning Chan. A. Here's what transpires: Thanks :) > > aic7xxx: at EISA 2 > aic7xxx: BIOS enabled, IO Port 0x2c00, IRQ11 (level sensitive) Rev <= C > aic7xxx: Extended translation disabled. > aic7xxx: Twin Channel, A SCSI ID 7, B SCSI ID 7, 4/4 SCBs, Qfull 4, \ > QMask 0x7 This is what I wanted to see. We are setting the p->bus_type = AIC_TWIN prior to our call to loadseq(); > aic7xxx: Downloading sequencer code... 378 Instructions downloaded My 2842 only downloads 369 instructions, so this looks like we are getting the twin channel sequencer support. > scsi0: Adaptec AHA274X/284X/294X (EISA/VLB/PCI - Fast SCSI) 4.1/3.2 > scsi: 1 host > Kernel panic <6>scsi0: Scanning Channel A for devices Justing, according the the books on these chipsets, what exact conditions can cause the settings of SIMODE0 and 1 to get changed, and does it matter if we set the conditions prior to enabling the bus drivers? Could the fact that we are doing the outb(ENABLE, p->base + BCTL); after we set the SIMODE? registers be causing the B channel settings not to take? Also, I wonder how a completely absent cable and termination would effect how the card handles these things. Steve, if you go ahead and put a device on the second channel, does it work then? I think I recall you saying there currently isn't anything on the second channel. -- ***************************************************************************** * Doug Ledford * Unix, Novell, Dos, Windows 3.x, * * dledford@dialnet.net 873-DIAL * WfW, Windows 95 & NT Technician * * PPP access $14.95/month ***************************************** * Springfield, MO and surrounding * Usenet news, e-mail and shell account.* * communities. Sign-up online at * Web page creation and hosting, other * * 873-9000 V.34 * services available, call for info. * *****************************************************************************