Date: Thu, 17 Nov 2005 15:52:23 +0200 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/89196: [patch] Kingston DataTraveler 2.0 doesn't like the synchronize cache command Message-ID: <20051117135223.GA5769@pm513-1.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <200511171400.jAHE0PG6098962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89196 >Category: kern >Synopsis: [patch] Kingston DataTraveler 2.0 doesn't like the synchronize cache command >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 17 14:00:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrey Simonenko >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: It seems that Kingston DataTraveler 2.0 does not like the synchronize cache command. The kernel outputs "Synchronize cache failed" messages when this USB flash device is plugged in. After patch I copied several files to USB flash device, umount USB flash device's file system and mount it again, then compare MD5 digests of files from USB flash device and original ones. >How-To-Repeat: kernel: umass0: Kingston DataTraveler 2.0, rev 2.00/1.00, addr 2 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: <Kingston DataTraveler 2.0 1.04> Removable Direct Access SCSI-0 device kernel: da0: 1.000MB/s transfers kernel: da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C) kernel: umass0: Phase Error, residue = 0 kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 kernel: umass0: Phase Error, residue = 0 kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 kernel: umass0: Phase Error, residue = 0 >Fix: --- scsi_da.c.orig Thu Jun 9 20:35:04 2005 +++ scsi_da.c Tue Nov 15 15:32:14 2005 @@ -354,6 +354,13 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston" , "DataTraveler II+", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * Kingston DataTraveler 2.0 USB Flash memory. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DataTraveler 2.0", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051117135223.GA5769>