Subject: kern/6844: Hangs in disk access with ATAPI MMC CDR device.
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/18/1999 16:43:16
>Number:         6844
>Category:       kern
>Synopsis:       Hangs in disk access with ATAPI MMC CDR device.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 18 16:50:01 1999
>Release:        1.3I 1/17/1999
anything with IDE
System: NetBSD 1.3I NetBSD 1.3I (SPLEEN) #13: Sun Jan 17 22:33:54 PST 1999 i386

Access to Memorex CRW-2642 CD-RW drive hangs on SENSE command.

The Memorex CRW-2642 is a cheap, widely available current-production ATAPI 
CD-RW burner. The enclosed patch makes it work with NetBSD. 
It is reported that many other currently sold ATAPI CD-R and CD-RW drives
also suffer this quirk. 

"eject cdrom" 
Add ADEV_NOSENSE quirk to dev/scsipi/atapiconf.c:

*** atapiconf.c.old	Tue Dec 22 12:15:00 1998
--- atapiconf.c	Sun Jan 17 23:55:45 1999
*************** struct scsi_quirk_inquiry_pattern atapi_
*** 96,101 ****
--- 96,103 ----
  	 "MATSHITA CR-574", "", "1.02"},          ADEV_NOCAPACITY},
  	 "FX320S", "", "q01"},          	ADEV_NOSENSE},
+ 	 "Memorex CRW-2642", "", "1.0g"},	ADEV_NOSENSE},