From akiyama@kme.mei.co.jp  Thu Oct 17 01:04:53 1996
Received: from vcgate1.mei.co.jp (vcgate1.mei.co.jp [202.32.14.51])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA13809
          for <freebsd-gnats-submit@freebsd.org>; Thu, 17 Oct 1996 01:04:47 -0700 (PDT)
Received: by vcgate1.mei.co.jp (5.65mei1.2g/5.9:4.9:vcgate0:960909)
	id AA24039; Thu, 17 Oct 96 17:04:33 +0900
Received: by vcmei.vanc.mei.co.jp (5.65mei1.1/5.9:4.9:vcmei:961015)
	id AA22735; Thu, 17 Oct 96 17:04:32 +0900
Received: by kmegate.kme.mei.co.jp (4.1/5.5:4.6:kmegate:960604)
	id AA09947; Thu, 17 Oct 96 16:43:31 JST
Message-Id: <9610170743.AA09947@kmegate.kme.mei.co.jp>
Date: Thu, 17 Oct 96 16:43:31 JST
From: akiyama@kme.mei.co.jp
Reply-To: akiyama@kme.mei.co.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: KONICA MO drive configured multiply.
X-Send-Pr-Version: 3.2

>Number:         1829
>Category:       kern
>Synopsis:       KONICA MO drive configured multiply.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 01:10:02 PDT 1996
>Closed-Date:    Wed Nov 6 19:56:59 MET 1996
>Last-Modified:  Wed Nov  6 19:57:48 MET 1996
>Originator:     Shunsuke Akiyama
>Release:        FreeBSD 2.1.5-RELEASE i386
>Organization:
Kyushu Matsushita Electric Co., Ltd.
>Environment:

	All 2.1.5-RELEASE systems configured with od.

>Description:

	SCSI known device table has wrong optical disk entries.
	Therefor device probing to generic optical disk drive always
	cause full LUN scanning. Some ODD that can not handle LUN
	correctly was misconfigured.  (Configured multiply, like od0,
	od1, ..., od7)
	eg. KONICA 3.5in 230MB MO drive. ("KONICA OMD-6020 2.09")

>How-To-Repeat:

	Everytime when system booting up.

>Fix:

	This patch fix the problem.

===================================================================
RCS file: sys/scsi/RCS/scsiconf.c,v
retrieving revision 1.30.4.9
retrieving revision 1.30.4.9.1.1
diff -u -r1.30.4.9 -r1.30.4.9.1.1
--- sys/scsi/scsiconf.c	1996/06/28 16:59:47	1.30.4.9
+++ sys/scsi/scsiconf.c	1996/09/05 14:56:30	1.30.4.9.1.1
@@ -330,17 +330,17 @@
 /* od's must be probed before sd's since some of them identify as T_DIRECT */
 #if NOD > 0
 	{
-		T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-1000", "*",
-		"od", SC_MORE_LUS
+		T_OPTICAL, T_REMOV, "standard", "any"
+		    ,"any", "od", SC_ONE_LU
 	},
-	/* See comments under NEW_SCSICONF above. */
 	{
-		T_OPTICAL, T_REMOV, "SONY", "SMO-*", "*",
-		"od", SC_MORE_LUS
+		T_OPTICAL, T_REMOV, "MATSHITA", "PD-1 LF-1000"
+		    ,"any", "od", SC_MORE_LUS
 	},
+	/* See comments under NEW_SCSICONF above. */
 	{
-		T_OPTICAL, T_REMOV, "*", "*", "*",
-		"od", SC_ONE_LU
+		T_OPTICAL, T_REMOV, "SONY", "SMO-C501-09"
+		    ,"*", "od", SC_MORE_LUS
 	},
 #endif  /* NOD */
 #if NSD > 0

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Wed Nov 6 19:56:59 MET 1996 
State-Changed-Why:  
Suggested fix applied in rev 1.30.4.10 of scsiconf.c.  Thanks! 

>Unformatted:
