From j@uriah.heep.sax.de  Sat Mar 18 21:06:47 2006
Return-Path: <j@uriah.heep.sax.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B2CC216A401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Mar 2006 21:06:47 +0000 (UTC)
	(envelope-from j@uriah.heep.sax.de)
Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 52FA243D6B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Mar 2006 21:06:38 +0000 (GMT)
	(envelope-from j@uriah.heep.sax.de)
Received: from localhost (localhost [127.0.0.1])
	by uriah.heep.sax.de (Postfix) with ESMTP id E7D8A28C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Mar 2006 22:06:35 +0100 (MET)
Received: from uriah.heep.sax.de (localhost [127.0.0.1])
	by localhost (AvMailGate-2.0.2-10) id 48543-1BA8BC56;
	Sat, 18 Mar 2006 22:06:35 +0100
Received: from uriah.heep.sax.de (localhost [127.0.0.1])
	by uriah.heep.sax.de (Postfix) with ESMTP id B613B27A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Mar 2006 22:06:30 +0100 (MET)
Received: from uriah.heep.sax.de (localhost [127.0.0.1])
	by uriah.heep.sax.de (Postfix) with ESMTP
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Mar 2006 22:06:30 +0100 (MET)
Received: (from j@localhost)
	by uriah.heep.sax.de (8.13.4/8.13.1/Submit) id k2IL6UdV048538;
	Sat, 18 Mar 2006 22:06:30 +0100 (MET)
	(envelope-from j)
Message-Id: <200603182106.k2IL6UdV048538@uriah.heep.sax.de>
Date: Sat, 18 Mar 2006 22:06:30 +0100 (MET)
From: Joerg Wunsch <joerg@freebsd.org>
Reply-To: Joerg Wunsch <j@uriah.heep.sax.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Synchronize cache fails for TOSHIBA TransMemory
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         94660
>Category:       kern
>Synopsis:       Synchronize cache fails for TOSHIBA TransMemory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 18 21:10:09 GMT 2006
>Closed-Date:    Sat Mar 18 22:11:31 MET 2006
>Last-Modified:  Sat Mar 18 22:11:31 MET 2006
>Originator:     Joerg Wunsch
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD uriah.heep.sax.de 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Mon Mar 13 23:03:11 MET 2006 r@uriah.heep.sax.de:/usr/obj/usr/src/sys/URIAH i386


	
>Description:
	[Note: this is a pro-forma PR only to keep track of this
	problem, and refer to it inside sys/cam/scsi/scsi_da.c.
	I've already committed the quirk by time of submission.]

	The TOSHIBA TransMemory USB stick complains about the
	synchronize cache command:

Mar  9 20:58:49 uriah kernel: umass0: TOSHIBA TransMemory, rev 2.00/1.00, addr 6
Mar  9 20:58:49 uriah kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
Mar  9 20:58:49 uriah kernel: umass0:2:0:-1: Attached to scbus2
Mar  9 20:58:51 uriah kernel: da2 at umass-sim0 bus 0 target 0 lun 0
Mar  9 20:58:51 uriah kernel: da2: <TOSHIBA TransMemory 1.04> Removable Direct Access SCSI-0 device 
Mar  9 20:58:51 uriah kernel: da2: 1.000MB/s transfers
Mar  9 20:58:51 uriah kernel: da2: 489MB (1001472 512 byte sectors: 64H 32S/T 489C)
Mar  9 20:58:51 uriah kernel: umass0: Phase Error, residue = 0
Mar  9 20:58:51 uriah kernel: (da2:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0

	The device is usable (i. e. it does not hang, crash, or
	experience other undesired behaviour), but the messages are
	annoying.

	Note that this device implements the WCE bit, and defaults
	it to 1.  (Yes, weird.  They really might want to implement
	synchronize cache then, but they don't.)

>How-To-Repeat:
	
>Fix:

	Enter to scsi_da.c quirks table.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Mar 18 22:11:02 MET 2006 
State-Changed-Why:  
Quirk committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94660 
>Unformatted:
