Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 1995 04:44:34 -0700
From:      curt@emergent.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/753: archive tape drive does not work on 2.1 STABLE
Message-ID:  <199509281144.EAA07512@bluewhale.emergent.com>
Resent-Message-ID: <199509281150.EAA11812@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         753
>Category:       kern
>Synopsis:       my archive scsi tape drive does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 04:50:01 PDT 1995
>Last-Modified:
>Originator:     Curt Mayer
>Organization:
>Release:        FreeBSD 2.1-STABLE i386
>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,
  	{
>Audit-Trail:
>Unformatted:



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