Subject: kern/1451: NEC, CD-ROM DRIVE:84, 1.0a doesn't grok LUNs correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: netbsd-bugs
Date: 09/08/1995 17:08:23
>Number:         1451
>Category:       kern
>Synopsis:       NEC, CD-ROM DRIVE:84, 1.0a doesn't grok LUNs correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 11 21:50:01 1995
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
>Release:        <NetBSD-current source date> current 280895
>Environment:
        
System: NetBSD di_frueauf 1.0A NetBSD 1.0A (Milano) #8: Thu Aug 31 14:49:10 GMT 
1995
milano@di_frueauf:/home/milano/source/netbsd-src/sys/arch/amiga/compile/Milano amiga


>Description:
NEC, CD-ROM DRIVE:84, 1.0a doesn't grok LUNs correctly
>How-To-Repeat:
        
Boot with an NEC, CD-ROM DRIVE:84 attached to your system:

cd0 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 1: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd1 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 2: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd2 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 3: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd3 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 4: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd4 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 5: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd5 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 6: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd6 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 2 lun 7: <NEC, CD-ROM DRIVE:84, 1.0a> SCSI1 5/cdrom removable
cd7 at scsibus0: cd present, 332578 x 2048 byte records
ahsc0 targ 3 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed

>Fix:
        
*** sys/scsi/scsiconf.c-orig    Wed Aug 23 15:10:05 1995
--- sys/scsi/scsiconf.c Thu Aug 31 14:47:01 1995
***************
*** 272,277 ****
--- 272,279 ----
        {T_CDROM, T_REMOV,
         "NEC     ", "CD-ROM DRIVE:83 ", "",     SDEV_NOLUNS},
        {T_CDROM, T_REMOV,
+        "NEC     ", "CD-ROM DRIVE:84 ", "",     SDEV_NOLUNS},
+       {T_CDROM, T_REMOV,
         "NEC     ", "CD-ROM DRIVE:841", "",     SDEV_NOLUNS},
        {T_CDROM, T_REMOV,
         "SONY    ", "CD-ROM CDU-541  ", "",     SDEV_NOLUNS},
>Audit-Trail:
>Unformatted: