Subject: kern/1934: tandberg 3600 w/emulation firmware still responds on all LUNs
To: None <gnats-bugs@gnats.netbsd.org>
From: Ken Raeburn <raeburn@raeburn.org>
List: netbsd-bugs
Date: 01/12/1996 00:07:31
>Number:         1934
>Category:       kern
>Synopsis:       tandberg 3600 w/emulation firmware still responds on all LUNs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 12 01:20:02 1996
>Last-Modified:
>Originator:     Ken Raeburn
>Organization:

>Release:        ?
>Environment:
System: NetBSD kr-pc.cygnus.com 1.1_ALPHA NetBSD 1.1_ALPHA (RAEBURN) #3: Sat Dec 30 16:48:46 EST 1995 root@kr-pc.cygnus.com:/red/sys/arch/i386/compile/RAEBURN i386


>Description:

Some time ago, in the early days of the SCSI driver under NetBSD (or
was it 386BSD then?) I got a Tandberg 3600 tape drive, which wouldn't
work with *BSD or with SunOS.  Tandberg replaced the firmware with
something that would work on SunOS, and I got it to work on BSD too.
It identifies itself as an Archive Viper drive, but still responds on
all LUNs.  So NetBSD thinks it has lots of tape drives attached....

>How-To-Repeat:

Buy one of these tape drives and get Tandberg to install the
non-standard firmware.

>Fix:

Patch to scsi/scsiconf.c:

--- scsiconf.c~	Fri Oct 13 22:55:27 1995
+++ scsiconf.c	Sat Dec 30 08:09:41 1995
@@ -328,6 +328,9 @@ struct scsi_quirk_inquiry_pattern scsi_q
 	/* XXX: QIC-36 tape behind Emulex adapter.  Very broken. */
 	{T_SEQUENTIAL, T_REMOV,
 	 "        ", "                ", "    ", SDEV_NOLUNS},
+	/* Tandberg 3600 with emulation firmware, still broken.  */
+	{T_SEQUENTIAL, T_REMOV,
+	 "ARCHIVE ", "VIPER 150  21247", "",     SDEV_NOLUNS},
 	{T_SEQUENTIAL, T_REMOV,
 	 "EXABYTE ", "EXB-8200        ", "",     SDEV_NOLUNS},
 	{T_SEQUENTIAL, T_REMOV,
>Audit-Trail:
>Unformatted: