From owner-freebsd-stable Fri May 24 08:11:18 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA16213 for stable-outgoing; Fri, 24 May 1996 08:11:18 -0700 (PDT) Received: from freefall.freebsd.org (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA16200; Fri, 24 May 1996 08:11:14 -0700 (PDT) Message-Id: <199605241511.IAA16200@freefall.freebsd.org> To: George Simunovich cc: freebsd-stable@freebsd.org, Gianmarco Giovannelli Subject: Re: Problem with Adaptec 2940UW. In-reply-to: Your message of "Thu, 23 May 1996 22:59:50 MDT." <199605240459.WAA31320@gallup.cia-g.com> Date: Fri, 24 May 1996 08:11:14 -0700 From: "Justin T. Gibbs" Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Hello again, > >Thanks for the fast reply. > >I just did a sup and recompiled the kernel. The problem is still there. Do you have an option to disable the boot time bus reset in SCSI-Select? One thing I notice in your dmesg output is that the card did not perform a bus reset before probing for devices and that may be your problem. I added code a few revisions ago to honor the information in the SEEPROM that tells us to reset the bus or not. On my 2940UW, I can't change the bus reset value via SCSI-Select (its always on), but that may only be a limitation of the BIOS rev (1.21) I have on my card. If you can't change this value, try the following patch and see if it solves your problem. The dmesg output should say "Reseting channel A" either way. -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations =========================================== Index: pci/aic7870.c =================================================================== RCS file: /usr/cvs/src/sys/pci/aic7870.c,v retrieving revision 1.35 diff -c -r1.35 aic7870.c *** aic7870.c 1996/05/23 15:02:18 1.35 --- aic7870.c 1996/05/24 15:05:06 *************** *** 547,553 **** scsi_conf = (host_id & 0x7); if(sc.adapter_control & CFSPARITY) scsi_conf |= ENSPCHK; ! if(sc.adapter_control & CFRESETB) scsi_conf |= RESET_SCSI; if(ahc->type & AHC_ULTRA) { --- 547,553 ---- scsi_conf = (host_id & 0x7); if(sc.adapter_control & CFSPARITY) scsi_conf |= ENSPCHK; ! /* if(sc.adapter_control & CFRESETB) */ scsi_conf |= RESET_SCSI; if(ahc->type & AHC_ULTRA) {