Subject: kern/4171: some scsi quirk table additions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@tater.mines.edu>
List: netbsd-bugs
Date: 09/27/1997 15:00:19
>Number:         4171
>Category:       kern
>Synopsis:       some scsi quirk table additions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 14:05:00 1997
>Last-Modified:
>Originator:     Jim Bernard
>Organization:
	Speaking for myself
>Release:        Sept. 27, 1997
>Environment:
System: NetBSD zoo 1.2G NetBSD 1.2G (ZOO) #0: Sat Jul 19 12:48:58 MDT 1997 jim@zoo:/jaz/home/local/compile/sys/arch/i386/compile/ZOO i386

>Description:
	A couple of ancient (still running after >7.5 years) Hitachi DK515C
	drives respond with "non-media hardware failure" in response to a
	start-unit command.  I have two different revisions that exhibit
	this behavior, but can't speak for others.

	A Cipher ST150S (1/4 in, QIC-150) tape drive (also ancient) doesn't
	support LUNs (and identifies itself as an Archive Viper 1500 21247).

>How-To-Repeat:
	Attach said devices.

>Fix:
--- scsiconf.c-dist	Sat Sep 20 05:20:31 1997
+++ scsiconf.c	Sat Sep 20 09:16:21 1997
@@ -439,10 +439,15 @@
 
 	{{T_DIRECT, T_FIXED,
 	 "DEC     ", "RZ55     (C) DEC", ""},     SDEV_AUTOSAVE},
 	{{T_DIRECT, T_FIXED,
 	 "EMULEX  ", "MD21/S2     ESDI", "A00"},  SDEV_FORCELUNS|SDEV_AUTOSAVE},
+	/* Gives non-media hardware failure in response to start-unit command */
+	{{T_DIRECT, T_FIXED,
+	 "HITACHI", "DK515C",		"CP16"},  SDEV_NOSTARTUNIT},
+	{{T_DIRECT, T_FIXED,
+	 "HITACHI", "DK515C",		"CP15"},  SDEV_NOSTARTUNIT},
 	{{T_DIRECT, T_FIXED,
 	 "IBMRAID ", "0662S",		 ""},     SDEV_AUTOSAVE},
 	{{T_DIRECT, T_FIXED,
 	 "IBM     ", "0663H",		 ""},     SDEV_AUTOSAVE},
 	{{T_DIRECT, T_FIXED,
@@ -526,10 +531,13 @@
 	{{T_SEQUENTIAL, T_REMOV,
 	 "TANDBERG", " TDC 3600       ", ""},     SDEV_NOLUNS},
 	/* Following entry reported as a Tandberg 3600; ref. PR1933 */
 	{{T_SEQUENTIAL, T_REMOV,
 	 "ARCHIVE ", "VIPER 150  21247", ""},     SDEV_NOLUNS},
+	/* Following entry for a Cipher ST150S */
+	{{T_SEQUENTIAL, T_REMOV,
+	 "ARCHIVE ", "VIPER 1500 21247", "2.2G"}, SDEV_NOLUNS},
 	{{T_SEQUENTIAL, T_REMOV,
 	 "ARCHIVE ", "Python 28454-XXX", ""},     SDEV_NOLUNS},
 	{{T_SEQUENTIAL, T_REMOV,
 	 "WANGTEK ", "5099ES SCSI",      ""},     SDEV_NOLUNS},
 	{{T_SEQUENTIAL, T_REMOV,
>Audit-Trail:
>Unformatted: