Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 1996 08:11:14 -0700
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        George Simunovich <george@cia-g.com>
Cc:        freebsd-stable@freebsd.org, Gianmarco Giovannelli <gmarco@masternet.it>
Subject:   Re: Problem with Adaptec 2940UW. 
Message-ID:  <199605241511.IAA16200@freefall.freebsd.org>
In-Reply-To: Your message of "Thu, 23 May 1996 22:59:50 MDT." <199605240459.WAA31320@gallup.cia-g.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605241511.IAA16200>