From curt@emergent.com  Thu Sep 28 04:44:35 1995
Received: from bluewhale.emergent.com (bluewhale.emergent.com [140.174.2.161])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA11774
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Sep 1995 04:44:35 -0700
Received: (from curt@localhost) by bluewhale.emergent.com (8.6.11/8.6.12) id EAA07512; Thu, 28 Sep 1995 04:44:34 -0700
Message-Id: <199509281144.EAA07512@bluewhale.emergent.com>
Date: Thu, 28 Sep 1995 04:44:34 -0700
From: curt@emergent.com
Reply-To: curt@emergent.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: archive tape drive does not work on 2.1 STABLE
X-Send-Pr-Version: 3.2

>Number:         753
>Category:       kern
>Synopsis:       my archive scsi tape drive does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    joerg
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 04:50:01 PDT 1995
>Closed-Date:    Tue Feb 11 17:22:26 PST 1997
>Last-Modified:  Tue Feb 11 17:24:42 PST 1997
>Originator:     Curt Mayer
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

	2.1 STABLE,. 486dx2-66, 1542cf, archive	viper 525

>Description:

	the scsi tape rogue detection is way too stupid.
	it simply does a search, and looks for exact matches.
	if you have a rogue that does not exactly match, it will
	lose.

>How-To-Repeat:

	boot any 2.1 kernel
	st -f /dev/rst0.1 rew

>Fix:
	
	patch scsi/st.c with the following lines:

*** /sys/scsi/st.c	Sat Jul 22 01:49:19 1995
--- /usr/home/curt/st.c	Thu Sep 28 04:42:42 1995
***************
*** 122,127 ****
--- 122,136 ----
  	    {0, 0, QIC_120}	/* minor  12,13,14,15 */
  	}
      },
+     {"Rev 2 of the Archive 2525", "ARCHIVE ", "VIPER 2525 25916", "-002",
+ 	0,
+ 	{
+ 	    {0, ST_Q_SNS_HLP, 0},	/* minor  0,1,2,3 */
+ 	    {0, ST_Q_SNS_HLP, QIC_525},		/* minor  4,5,6,7 */
+ 	    {0, 0, QIC_150},	/* minor  8,9,10,11 */
+ 	    {0, 0, QIC_120}	/* minor  12,13,14,15 */
+ 	}
+     },
      {"Archive  Viper 150", "ARCHIVE ", "VIPER 150", "????",
  	ST_Q_NEEDS_PAGE_0,
  	{
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->julian 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Sun May 26 23:10:31 PDT 1996 
Responsible-Changed-Why:  
...he did some code modifications in 1.53 that seemed related... 
Responsible-Changed-From-To: julian->joerg 
Responsible-Changed-By: gibbs 
Responsible-Changed-When: Sun Jun 23 22:01:01 PDT 1996 
Responsible-Changed-Why:  
Didn't you change the rogue entry for this device by adding an '*' to the 
end?  I believe that this bug can be closed. 
State-Changed-From-To: open->closed 
State-Changed-By: jmg 
State-Changed-When: Tue Feb 11 17:22:26 PST 1997 
State-Changed-Why:  
there has been patern matching in the routes section for a while now... 
and there is a entry that matches this tape drive 
>Unformatted:
