From tundra@eskimo.industry.net  Fri Jun 21 08:00:55 1996
Received: from eskimo.industry.net (eskimo.industry.net [206.150.208.254])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA19242
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jun 1996 08:00:53 -0700 (PDT)
Received: (from root@localhost) by eskimo.industry.net (8.6.12/8.6.12) id KAA02489; Fri, 21 Jun 1996 10:06:12 -0500
Message-Id: <199606211506.KAA02489@eskimo.industry.net>
Date: Fri, 21 Jun 1996 10:06:12 -0500
From: tundra@tundrware.com
Reply-To: tundra@tundraware.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Bug fix for SCSI tape
X-Send-Pr-Version: 3.2

>Number:         1341
>Category:       kern
>Synopsis:       Fix Timeout On SCSI DAT Tape Erase
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 08:10:01 PDT 1996
>Closed-Date:    Sat Jun 22 17:00:26 MET DST 1996
>Last-Modified:  Sat Jun 22 17:01:02 MET DST 1996
>Originator:     Bourne-again Superuser
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
TundraWare
>Environment:

Intel DX-II/66, Adaptec 1542CP, Sony SDT-5000

>Description:

The SCSI tape driver code does not leave enough time for "long" erase times
such as those required for DAT tape.

>How-To-Repeat:

Do an 'mt erase' on a dat and wait.

>Fix:
	

In st.c change line #1878 (within the st_erase() function) to read:

immed : 5000 ? 12000000,

This allows up to 200 minutes for tape erase and makes the problem go away.




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Jun 22 17:00:26 MET DST 1996 
State-Changed-Why:  
Suggested fix applied to rev 1.69 and rev. 1.36.4.4 of sys/scsi/st.c. 

>Unformatted:
 
