Subject: kern/10738: retire to probe NEDICOM CRD-BP2 (OEM from SANYO) SCSI CD-R/RW drive
To: None <gnats-bugs@gnats.netbsd.org>
From: None <AoiMoe@imou.to>
List: netbsd-bugs
Date: 08/02/2000 12:02:18
>Number:         10738
>Category:       kern
>Synopsis:       retire to probe NEDICOM CRD-BP2 (OEM from SANYO) SCSI CD-R/RW drive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 02 12:03:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Takuya SHIOZAKI
>Release:        -current 2000-08-02
>Organization:
I18n/M17n On Unix, Japan.
>Environment:
NetBSD aoi.bogus-hosts.imou.to 1.5C NetBSD 1.5C (AOI) #0: Thu Aug  3 02:18:15 JST 2000     tshiozak@aoi.bogus-hosts.imou.to:/dsk/wd0f/current-build/syssrc/sys/arch/i386/compile/AOI i386

>Description:
Probing for NEDICOM CRD-BP2 SCSI CD-R/RW drive is time out at boot time,
if the drive don't load any CD-ROM media:

probe(siop0:0:0): command timeout
siop0: scsi bus reset
cmd 0xc0864c00 (target 0) in reset list
cmd 0xc0864c00 about to be processed
...repeat several times...

and give up the probing.
If the drive is not empty, it is not caused.

This drive is probed (if it is possible) as:
<GENERIC, CRD-BP2, 2.21> SCSI2 5/cdrom removable

>How-To-Repeat:
buy this drive and boot NetBSD system with the drive keeping empty.

>Fix:
Add this drive to the quirk list:

RCS file: /home/NetBSD-CVS-Repository/syssrc/sys/dev/scsipi/scsiconf.c,v
retrieving revision 1.147
diff -u -u -r1.147 scsiconf.c
--- scsiconf.c  2000/06/09 08:54:23     1.147
+++ scsiconf.c  2000/08/02 18:56:07
@@ -452,6 +452,8 @@
        {{T_CDROM, T_REMOV,
         "DENON   ", "DRD-25X         ", "V"},    SDEV_NOLUNS},
        {{T_CDROM, T_REMOV,
+        "GENERIC ", "CRD-BP2         ", ""},     SDEV_NOLUNS},
+       {{T_CDROM, T_REMOV,
         "HP      ", "C4324/C4325     ", ""},     SDEV_NOLUNS},
        {{T_CDROM, T_REMOV,
         "IMS     ", "CDD521/10       ", "2.06"}, SDEV_NOLUNS},

This patch does probably not cause other serious problem.

>Release-Note:
>Audit-Trail:
>Unformatted: