Subject: kern/8608: request for addition to SCSI quirk table
To: None <gnats-bugs@gnats.netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 10/11/1999 08:06:52
>Number:         8608
>Category:       kern
>Synopsis:       broken CD-ROM causes kernel hang when device probe time.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 11 08:06:00 1999
>Last-Modified:
>Originator:     SUNAGAWA Keiki
>Organization:
	home
>Release:        -current as of 1999-10-10
>Environment:
	
System: NetBSD azarin 1.4L NetBSD 1.4L (AZARIN) #81: Mon Oct 11 22:57:13 JST 1999 kei@azarin:/a/anoncvs/netbsd/src/sys/arch/macppc/compile/AZARIN macppc


>Description:

	My old 4x speed SCSI CD-ROM (Logitec LCD-M500) shown below replies
	incorrectly with corrupt data for device probing when LUN != 0 and
	causes my macppc box hang.

cd0 at scsibus0 targ 5 lun 0: <SONY, CD-ROM CDU-561, 1.7X> SCSI2 5/cdrom removable

>How-To-Repeat:
	connect the CD-ROM and reboot the machine.
>Fix:
	apply attached patch.

Index: scsiconf.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/scsipi/scsiconf.c,v
retrieving revision 1.128
diff -u -r1.128 scsiconf.c
--- scsiconf.c	1999/09/30 22:57:53	1.128
+++ scsiconf.c	1999/10/11 14:43:49
@@ -494,6 +494,8 @@
 	{{T_CDROM, T_REMOV,
 	 "SONY    ", "CD-ROM CDU-55S  ", ""},     SDEV_NOLUNS},
 	{{T_CDROM, T_REMOV,
+	 "SONY    ", "CD-ROM CDU-561  ", ""},     SDEV_NOLUNS},
+	{{T_CDROM, T_REMOV,
 	 "SONY    ", "CD-ROM CDU-8003A", ""},     SDEV_NOLUNS},
 	{{T_CDROM, T_REMOV,
 	 "SONY    ", "CD-ROM CDU-8012 ", ""},     SDEV_NOLUNS},
>Audit-Trail:
>Unformatted: