Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 1998 14:51:06 +0200 (CEST)
From:      Arne H Juul <arnej@math.ntnu.no>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/6781: exabyte changer doesn't grok LUNs
Message-ID:  <199805291251.OAA25573@cauchy.math.ntnu.no>

next in thread | raw e-mail | index | archive | help

>Number:         6781
>Category:       kern
>Synopsis:       exabyte changer doesn't grok LUNs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 29 06:00:02 PDT 1998
>Last-Modified:
>Originator:     Arne Henrik Juul
>Organization:
Norwegian University of Technology and Science
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	This was on a -stable kernel, with the exabyte 8mm tape+changer
	on a symbios (ncr) 810 scsi adapter, in case it matters.

>Description:

	Here's yet another SCSI-device that doesn't support LUNs.
	The "EXABYTE EXB-10i 3.1" identified as a type 8 removable SCSI 2,
	Medium-Changer 10 slots, 1 drive, 1 picker.
	I got very nice and understandable errror messages, though,
	and it doesn't really cause any problems. (I got lots of
	"offline" changers :-)

>How-To-Repeat:

	Borrow one of these antiques and connect to your FreeBSD
	system.

>Fix:
	
	It would be nice with a comment that says explicitly what
	SC_SHOWME, SC_ONE_LU and SC_MORE_LUS should be used for.
	I still don't understand what most of the entries in scsiconf.c
	are needed for at all.
	I guessed that SC_ONE_LU would inhibit probing of LUNs > 0,
	and that seems to be the case.  With the below patch I just
	get one ch0 device and no warnings/errors during boot.

Index: src/sys/scsi/scsiconf.c
===================================================================
RCS file: /usr/cvs/src/sys/scsi/scsiconf.c,v
retrieving revision 1.64.2.26
diff -u -r1.64.2.26 scsiconf.c
--- scsiconf.c	1998/03/08 06:53:13	1.64.2.26
+++ scsiconf.c	1998/05/29 12:43:30
@@ -357,6 +357,10 @@
 		T_CHANGER, T_CHANGER, T_REMOV, "SONY", "TSL-7000", "*",
 		"ch", SC_MORE_LUS
 	},
+	{
+		T_CHANGER, T_CHANGER, T_REMOV, "EXABYTE", "EXB-10i", "*",
+		"ch", SC_ONE_LU
+	},
 #endif /* NCH */
 #if NCD > 0
 #ifndef UKTEST	/* make cdroms unrecognised to test the uk driver */
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805291251.OAA25573>