From owner-freebsd-usb@FreeBSD.ORG Wed Jan 22 19:31:41 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 1E13B7FB for ; Wed, 22 Jan 2014 19:31:41 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id CB9631A9E for ; Wed, 22 Jan 2014 19:31:40 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id 8E40110058C; Wed, 22 Jan 2014 20:31:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 73B0B1605E8; Wed, 22 Jan 2014 20:32:17 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07xJLyDu6Buq; Wed, 22 Jan 2014 20:32:16 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 46A6B16059F; Wed, 22 Jan 2014 20:32:16 +0100 (CET) Message-ID: <52E01CCD.8010000@bitfrost.no> Date: Wed, 22 Jan 2014 20:32:29 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Gerrit_K=FChn?= Subject: Re: ATP USB flash failure (regression?) References: <20140122134116.1c589702.gerrit.kuehn@aei.mpg.de> <52DFC03F.6090002@bitfrost.no> <20140122154508.0958e414.gerrit.kuehn@aei.mpg.de> <52DFDBE8.10004@bitfrost.no> <20140122161205.77018862.gerrit.kuehn@aei.mpg.de> In-Reply-To: <20140122161205.77018862.gerrit.kuehn@aei.mpg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 19:31:41 -0000 On 01/22/14 16:12, Gerrit Kühn wrote: > On Wed, 22 Jan 2014 15:55:36 +0100 Hans Petter Selasky > wrote about Re: ATP USB flash failure (regression?): > > HPS> > I'm not sure I understand what to do here. The old quirk setting > HPS> > that worked before was 0x0100. However, it looks like I cannot set > HPS> > these, anyway: > > HPS> > root@mclane:~ # usbconfig -d 1.4 add_quirk NO_SYNCHRONIZE_CACHE > HPS> > Adding quirk 'NO_SYNCHRONIZE_CACHE' failed, continuing. > > HPS> Correcting myself: > HPS> usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE > > I can add this just fine now. However, on reset it still fails: > > --- > root@mclane:~ # usbconfig -d 1.4 add_quirk UQ_MSC_NO_SYNC_CACHE > root@mclane:~ # usbconfig -d 1.4 reset > > umass0: at uhub3, port 5, addr 4 (disconnected) > umass0: 4> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x4101 > umass0:8:0:-1: Attached to scbus8 > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Retrying command > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 > (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error > (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted > --- > Hi, Try to also reset the parent HUB. That should clear the old quirks. usbconfig -d 1.1 set_config 255 usbconfig -d 1.1 set_config 0 --HPS