Subject: kern/762: sys/scsi/scsiconf.c needs more quirks
To: None <gnats-admin@NetBSD.ORG>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: netbsd-bugs
Date: 01/28/1995 15:50:07
>Number:         762
>Category:       kern
>Synopsis:       sys/scsi/scsiconf.c needs more quirks for TANDBERG tapes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 28 15:50:03 1995
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        1.0A
>Environment:
	
System: NetBSD kolvir 1.0A NetBSD 1.0A (KOLVIR) #4: Sat Jan 28 16:42:05 EST 1995 jtk@kolvir:/u1/NetBSD-current/src/sys/arch/i386/compile/KOLVIR i386


>Description:

My TANDBERG TDC 3600 needs to be in the exceptions list (it locks the
SCSI bus when asked about LUN 1).  There is a TDC 3600 in the list
already, but with a different version number.

>How-To-Repeat:
Use a TDC 3600 with rev "-07:" (yeah, it's a strange rev number, huh!)

>Fix:

One of:
(a) recast the exceptions to allow multiple revisions for same unit to be
recognized with a single entry,

or (b) apply this patch:

--- 1.1	1995/01/28 16:43:25
+++ sys/scsi/scsiconf.c	1995/01/28 16:43:42
@@ -304,6 +304,8 @@
 	{T_SEQUENTIAL, T_REMOV,
 	 "TANDBERG", " TDC 3600       ", "U07",  SDEV_NOLUNS},
 	{T_SEQUENTIAL, T_REMOV,
+	 "TANDBERG", " TDC 3600       ", "-07:",  SDEV_NOLUNS},
+	{T_SEQUENTIAL, T_REMOV,
 	 "SONY    ", "SDT-2000        ", "2.09", SDEV_NOLUNS},
 
 	{T_SEQUENTIAL, T_REMOV,

>Audit-Trail:
>Unformatted: