Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA11282; Sat, 30 Sep 95 15:10:01 EDT
Received: from SUN-LAMP.PC.CS.CMU.EDU by MIT.EDU with SMTP
	id AA12387; Sat, 30 Sep 95 15:09:33 EDT
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id PAA10880; Sat, 30 Sep 1995 15:09:35 -0400
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.9/8.6.9) id NAA11351; Sat, 30 Sep 1995 13:11:24 -0400
Received: from sun-lamp.pc.cs.cmu.edu by pain.lcs.mit.edu (8.6.9/8.6.9) with ESMTP id NAA11328 for <netbsd-bugs@pain.lcs.mit.edu>; Sat, 30 Sep 1995 13:05:09 -0400
Received: (from gnats@localhost) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) id NAA10006; Sat, 30 Sep 1995 13:05:05 -0400
Resent-Date: Sat, 30 Sep 1995 13:05:05 -0400
Resent-Message-Id: <199509301705.NAA10006@sun-lamp.pc.cs.cmu.edu>
Resent-From: gnats@NetBSD.ORG (GNATS Management)
Resent-To: gnats-admin@sun-lamp.pc.cs.cmu.edu
Resent-Cc: gnats-admin@sun-lamp.pc.cs.cmu.edu, netbsd-bugs@NetBSD.ORG
Resent-Reply-To: gnats-bugs@NetBSD.ORG, rhealey@kas.helios.mn.org
Received: from kksys.skypoint.net (kksys.skypoint.net [199.86.32.5]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with SMTP id MAA09906 for <gnats-bugs@gnats.netbsd.org>; Sat, 30 Sep 1995 12:59:00 -0400
Received: by kksys.skypoint.net (Smail3.1.29.1 #2)
	id m0sz5E1-0000UmC; Sat, 30 Sep 95 11:57 CDT
Received: (from rhealey@localhost) by kas.helios.mn.org (8.6.12/Helios-1.0) id LAA08030; Sat, 30 Sep 1995 11:43:23 -0500
Message-Id: <199509301643.LAA08030@kas.helios.mn.org>
Date: Sat, 30 Sep 1995 11:43:23 -0500
From: rhealey@kas.helios.mn.org (Rob Healey)
Reply-To: rhealey@kas.helios.mn.org
To: gnats-bugs@gnats.netbsd.org
X-Send-Pr-Version: 3.95
Subject: kern/1550: Another wacky tape device for scsiconf.c
Sender: owner-netbsd-bugs@NetBSD.ORG
Precedence: list
X-Loop: netbsd-bugs@NetBSD.ORG


>Number:         1550
>Category:       kern
>Synopsis:       Caliper SCSI QIC-150 tape drive needs NOLUNS flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 30 13:05:02 1995
>Last-Modified:
>Originator:     Rob Healey
>Organization:
	Home system in Minnesota near the polar circle...
>Release:        September 30th sup of NetBSD-current
>Environment:
		Any NetBSD the tape drive is attached to.
System: NetBSD kas.helios.mn.org 1.0A NetBSD 1.0A (KAS) #0: Thu Sep 21 11:48:13 CDT 1995 rhealey@kas.helios.mn.org:/usr/src/bsd/src/sys/arch/amiga/compile/KAS amiga
Architecture: amiga

>Description:
	Caliper tape drive is too stupid to only respond to LUN 0 so the
	NOLUNS flag needs to be set.
>How-To-Repeat:
	Plug in a Caliper SCSI tape drive and watch it squirm
>Fix:
	Apply the following diff to src/sys/scsi/scsiconf.c

*** scsiconf.c.dist	Sat Sep 30 11:35:05 1995
--- scsiconf.c	Sat Sep 30 11:35:09 1995
***************
*** 329,334 ****
--- 329,336 ----
  	{T_SEQUENTIAL, T_REMOV,
  	 "        ", "                ", "    ", SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
+ 	 "CALIPER ", "CP150           ", "",     SDEV_NOLUNS},
+ 	{T_SEQUENTIAL, T_REMOV,
  	 "EXABYTE ", "EXB-8200        ", "",     SDEV_NOLUNS},
  	{T_SEQUENTIAL, T_REMOV,
  	 "SONY    ", "SDT-2000        ", "2.09", SDEV_NOLUNS},
>Audit-Trail:
>Unformatted:
