From haug@dorothy.columbiasc.ncr.com  Thu Mar 21 14:25:08 1996
Received: from dorothy.columbiasc.ncr.com ([153.78.113.10])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA19902
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Mar 1996 14:24:48 -0800 (PST)
Received: (from haug@localhost) by dorothy.columbiasc.ncr.com (8.6.12/8.6.12) id MAA00547; Thu, 21 Mar 1996 12:19:12 -0500
Message-Id: <199603211719.MAA00547@dorothy.columbiasc.ncr.com>
Date: Thu, 21 Mar 1996 12:19:12 -0500
From: "Brian R. Haug" <haug@dorothy.columbiasc.ncr.com>
Reply-To: haug@conterra.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: system hang during tape rewind/aic7870 controller
X-Send-Pr-Version: 3.2

>Number:         1097
>Category:       i386
>Synopsis:       system hang during tape rewind/aic7870 controller
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gibbs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 21 14:30:01 PST 1996
>Closed-Date:    Sat Apr 19 08:20:17 PDT 1997
>Last-Modified:  Sat Apr 19 08:21:07 PDT 1997
>Originator:     Brian R. Haug
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Personal Machine
>Environment:

	aic7870 controller, WANGTEK 5525ES SCSI 75F5 tape drive

>Description:

	interrupted a cpio from tape, system locked up shortly thereafter.
	A separate window doing ls -lR / stopped producing output
	The following messages were typicly seen on the console:
		ahc0: target 1, lun 0 (sd1) timed out
		st0 (ahc0:5:0): BUS DEVICE RESET message queued
		ahc0: target 0, lun 0 (sd0) timeout
	I'm guessing the problem has something to do with a rewind operation
	taking a "long" period of time
	Attempting to debug this, I found that the macro RESTART_SEQUENCER
	at the end of ahc_reset_channel never completed


>How-To-Repeat:

	cpio -it </dev/rst0
	then interrupt after a brief period of time

	If usefull I can repeat the tests with new modules provided

>Fix:
	workaround:
	copy the files /usr/src/sys/dev/aic7xxx/* from a 2.0.5 distribution

>Release-Note:
>Audit-Trail:

From: "JULIAN Elischer" <julian@ref.tfs.com>
To: haug@conterra.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: i386/1097: system hang during tape rewind/aic7870 controller
Date: Thu, 21 Mar 1996 16:37:30 -0800 (PST)

  change the timeout on the rewind command (it's im mSecs) in /sys/scsi/st.c
 
 > 
 > 
 > 
 > >Number:         1097
 > >Category:       i386
 > >Synopsis:       system hang during tape rewind/aic7870 controller
 > 
 > >Fix:
 > 	workaround:
 > 	copy the files /usr/src/sys/dev/aic7xxx/* from a 2.0.5 distribution
 > 
 > >Audit-Trail:
 > >Unformatted:
 > 
 
State-Changed-From-To: open->feedback 
State-Changed-By: gibbs 
State-Changed-When: Sun Jun 23 23:01:06 PDT 1996 
State-Changed-Why:  
It sounds very much like your tape drive is not disconnecting 
from the bus during the rewind operation.  I don't know why 
using an older version of the driver would change the behavior. 
Do you still see this problem with more recent versions of the 
driver? 


Responsible-Changed-From-To: freebsd-bugs->gibbs 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Sun Jun 23 23:01:06 PDT 1996 
Responsible-Changed-Why:  
My driver. 
State-Changed-From-To: feedback->closed 
State-Changed-By: gibbs 
State-Changed-When: Sat Apr 19 08:20:17 PDT 1997 
State-Changed-Why:  
Submitter never responded to "feedback" on this bug. 
>Unformatted:
