Subject: Re: Weird SCSI device LUN problem...
To: Peter Seebach <seebs@solon.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 08/20/1995 11:48:11
On Sun, 20 Aug 1995 10:02:06 -0500 
 Peter Seebach <seebs@solon.com> wrote:

 > I seem to recall seeing people commenting that "such-and-such has the LUN
 > problem" and adding it to a table.  I have a tape drive (Commodore 3070,
 > 150 meg QIC) which cannot be recognized by the system, but goes through an
 > ugly hang involving problems with all 8 LUNs, is this the right sort of thing
 > for this fix, and if so, what table do I add it to, and how do I do it?

When the tape is configured, there is a 3-part ID string displayed.  What 
you need to do is place that ID and some other information the quirks 
table in sys/scsi/scsiconf.c.  the quirk you'll need is SDEV_NOLUNS.  The 
place you'll want to add it is at or near line 328 of:

	$NetBSD: scsiconf.c,v 1.38 1995/08/06 00:04:00 mycroft Exp $

The format is pretty self-explanitory.

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939