Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 14:42:03 -0800
From:      "Justin T. Gibbs" <gibbs@freefall.freebsd.org>
To:        Keith Mitchell <kmitch@unix.guru.org>
Cc:        scsi@freebsd.org
Subject:   Re: SCB paging is most dangerous option now! 
Message-ID:  <199611132242.OAA22553@freefall.freebsd.org>
In-Reply-To: Your message of "Wed, 13 Nov 1996 17:32:31 EST." <199611132232.RAA00558@unix.guru.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I upgraded to the 11/12 current today (from 10/17) and am experiencing major
>SCSI lockup problems with the new driver.  The computer will lockup with
>the SCSI light solid usually during the bootup (while its starting all of
>the daemons).

Can you see if this patch to current affects that behavior at all?
--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================


Index: aic7xxx.seq
===================================================================
RCS file: /home/ncvs/src/sys/dev/aic7xxx/aic7xxx.seq,v
retrieving revision 1.48
diff -c -r1.48 aic7xxx.seq
*** aic7xxx.seq	1996/11/11 05:16:36	1.48
--- aic7xxx.seq	1996/11/13 22:38:44
***************
*** 540,546 ****
  	mvi	CLRSINT1,CLRATNO			/* drop ATN */
  p_mesgout_outb:
  	dec	DINDEX
! 	or	CLRSINT1, CLRREQINIT
  	mov	SCSIDATL,SINDIR
  	
  p_mesgout4:
--- 540,546 ----
  	mvi	CLRSINT1,CLRATNO			/* drop ATN */
  p_mesgout_outb:
  	dec	DINDEX
! 	mvi	CLRSINT1, CLRREQINIT
  	mov	SCSIDATL,SINDIR
  	
  p_mesgout4:
***************
*** 839,851 ****
  
  /*
   * Bus free phase.  It might be useful to interrupt the device
!  * driver if we aren't expecting this.  For now, make sure that
!  * ATN isn't being asserted and look for a new command.
   */
  p_busfree:
! 	mvi	CLRSINT1,CLRATNO
! 	clr	LASTPHASE
! 
  /*
   * if this is an immediate command, perform a psuedo command complete to
   * notify the driver.
--- 839,848 ----
  
  /*
   * Bus free phase.  It might be useful to interrupt the device
!  * driver if we aren't expecting this.
   */
  p_busfree:
! 	mvi	LASTPHASE, P_BUSFREE
  /*
   * if this is an immediate command, perform a psuedo command complete to
   * notify the driver.
***************
*** 901,907 ****
   */
  
  inb_next:
! 	or	CLRSINT1, CLRREQINIT
  	mov	NONE,SCSIDATL			/*dummy read from latch to ACK*/
  inb_next_wait:
  	test	SSTAT1,REQINIT	jz inb_next_wait /* wait for next byte */
--- 898,904 ----
   */
  
  inb_next:
! 	mvi	CLRSINT1, CLRREQINIT
  	mov	NONE,SCSIDATL			/*dummy read from latch to ACK*/
  inb_next_wait:
  	test	SSTAT1,REQINIT	jz inb_next_wait /* wait for next byte */
***************
*** 910,916 ****
  	mov	DINDEX,SINDEX
  	mov	DINDIR,SCSIBUSL	ret		/*read byte directly from bus*/
  inb_last:
! 	or	CLRSINT1, CLRREQINIT
  	mov	NONE,SCSIDATL ret		/*dummy read from latch to ACK*/
  
  mesgin_phasemis:
--- 907,913 ----
  	mov	DINDEX,SINDEX
  	mov	DINDIR,SCSIBUSL	ret		/*read byte directly from bus*/
  inb_last:
! 	mvi	CLRSINT1, CLRREQINIT
  	mov	NONE,SCSIDATL ret		/*dummy read from latch to ACK*/
  
  mesgin_phasemis:
Index: aic7xxx_reg.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/aic7xxx/aic7xxx_reg.h,v
retrieving revision 1.16
diff -c -r1.16 aic7xxx_reg.h
*** aic7xxx_reg.h	1996/11/11 05:16:41	1.16
--- aic7xxx_reg.h	1996/11/13 22:40:12
***************
*** 681,686 ****
--- 681,688 ----
  #define MSG5			0x03a
  
  #define LASTPHASE		0x03b
+ #define		P_BUSFREE	0x01
+ 
  #define ARG_1			0x03c
  #define RETURN_1		0x03c
  #define		SEND_MSG	0x80



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