From ernie!bert.kts.org!hm@ppp.net  Sat Nov 28 12:02:12 1998
Received: from mail.ppp.net (mail.ppp.net [194.64.12.35])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09256
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Nov 1998 12:02:10 -0800 (PST)
          (envelope-from ernie!bert.kts.org!hm@ppp.net)
Received: from casparc.ppp.net (casparc2.ppp.net [194.64.12.42])
	by mail.ppp.net (8.8.8/8.8.8) with SMTP id VAA13305
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Nov 1998 21:02:02 +0100
Received: from ernie by casparc.ppp.net with uucp
	(Smail3.1.28.1 #1) id m0zjqZ7-002ZjcC; Sat, 28 Nov 98 21:02 MET
Received: from bert.kts.org(really [194.55.156.2]) by ernie.kts.org
	via sendmail with smtp
	id <m0zjq8j-00002zC@ernie.kts.org>
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Nov 1998 20:34:45 +0100 (CET)
	(Smail-3.2.0.91 1997-Jan-14 #3 built 1998-Feb-14)
Received: by bert.kts.org
	via sendmail with stdio
	id <m0zjq8j-00003IC@bert.kts.org>
	for FreeBSD-gnats-submit@freebsd.org; Sat, 28 Nov 1998 20:34:45 +0100 (CET)
	(Smail-3.2.0.94 1997-Apr-22 #2 built 1998-Aug-25)
Message-Id: <m0zjq8j-00003IC@bert.kts.org>
Date: Sat, 28 Nov 1998 20:34:45 +0100 (CET)
From: hm@kts.org
Reply-To: hm@kts.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: 3.0-RELEASE hangs when mounting Micropolis 2112 SCSI drive
X-Send-Pr-Version: 3.2

>Number:         8882
>Category:       kern
>Synopsis:       3.0-RELEASE hangs when mounting Micropolis 2112 SCSI drive
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 12:10:02 PST 1998
>Closed-Date:    Tue Jan 5 12:44:50 PST 1999
>Last-Modified:  Tue Jan  5 12:45:14 PST 1999
>Originator:     Hellmuth Michaelis
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
Kitchen Table Systems
>Environment:

FreeBSD 3.0-Release and a Micropolis 2112 SCSI disk, cut from dmesg-output:

da0 at ncr0 bus 0 target 0 lun 0
da0: <MICROP 2112-15MQ1086403 HQ48> Fixed Direct Access SCSI2 device 
da0: Serial Number 3014208169
da0: 3.300MB/s transfers
da0: 1001MB (2051615 512 byte sectors: 64H 32S/T 1001C)

>Description:

FreeBSD 3.0-Release hangs with no further error message at install time
when the drives are probed in sysinstall (and this device is physically
attached to the system) or at mount time when a file system residing on
this device is mounted.

>How-To-Repeat:

see "Description" above.

>Fix:
	
apply the following patch to /sys/cam/scsi/scsi_da.c

*** scsi_da.c-DIST	Wed Oct 14 01:34:54 1998
--- scsi_da.c	Sat Nov 28 20:14:17 1998
***************
*** 141,146 ****
--- 141,153 ----
  	},
  	{
  		/*
+ 		 * This drive doesn't like the synchronize cache command
+ 		 */
+ 		{T_DIRECT, SIP_MEDIA_FIXED, "MICROP", "2112*", "*"},
+ 		/*quirks*/ DA_Q_NO_SYNC_CACHE
+ 	},
+ 	{
+ 		/*
  		 * Doesn't like the synchronize cache command.
  		 * Reported by: Blaz Zupan <blaz@gold.amis.net>
  		 */


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mjacob 
State-Changed-When: Tue Jan 5 12:44:50 PST 1999 
State-Changed-Why:  
Accepted the suggested patch. 
>Unformatted:
