From owner-freebsd-usb@FreeBSD.ORG Mon May 26 06:22:22 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FE2D306 for ; Mon, 26 May 2014 06:22:22 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB192BE4 for ; Mon, 26 May 2014 06:22:21 +0000 (UTC) Received: from jre-mbp.elischer.org (ppp121-45-232-70.lns20.per1.internode.on.net [121.45.232.70]) (authenticated bits=0) by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s4Q6MEQJ082065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 25 May 2014 23:22:17 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5382DD90.3000903@freebsd.org> Date: Mon, 26 May 2014 14:22:08 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Hans Petter Selasky , "Ronald F. Guilmette" , freebsd-usb@freebsd.org Subject: Re: Test Results References: <1986.1401074203@server1.tristatelogic.com> <5382DC2B.4040504@selasky.org> In-Reply-To: <5382DC2B.4040504@selasky.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 06:22:22 -0000 On 5/26/14, 2:16 PM, Hans Petter Selasky wrote: > On 05/26/14 05:16, Ronald F. Guilmette wrote: >> 2) As can be seen in the "desktop2-varlogmessages.txt' log file, >> on that >> one system there were also a number of additional errors logged >> after the >> Hitachi Touro Mobile drive was plugged in: >> >> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 >> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed >> with an error >> (probe0:umass-sim2:2:0:0): Retrying command >> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 >> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed >> with an error >> (probe0:umass-sim2:2:0:0): Retrying command >> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00 >> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed >> with an error >> (probe0:umass-sim2:2:0:0): Retrying command > > Hi, > > This error is typical for no-synchronize-cache. > > 1) > Lookup the device above using "usbconfig". > > 2) > Add the quirk, where X.Y are the numbers after "ugen". > usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE > > 3) > Replug this device. I've seen this pattern a bit too much. user: I see error X dev: turn on quirk Y, disabling {lock device, queuing, syncing, block erase, etc.} Would it be possible for part of the attach code for drives, to silently run through a bunch of these commands and just turn off those that return errors? In the Old (old) SCSI code we did this in some devices, and in some cases there were capability descriptions in some of the sense pages. (though I think that was on some proprietary subdrivers). > > --HPS > > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > >