From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 12:25:40 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3760B1065707 for ; Wed, 8 Apr 2009 12:25:40 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id E49498FC12 for ; Wed, 8 Apr 2009 12:25:39 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so37172qwb.7 for ; Wed, 08 Apr 2009 05:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=1queYe0NNEELeDLU5PSWelIoeE4mJjDdH8sf7cRXwvI=; b=wmVerRocBq31ozj1cOT3FIxIVgrtRqSId47UF5KY2Z6Usn0r08BKZH7cc2oZ04zV7q +LxMmsWQLAjDVJLW6/EnVU0lj7G1pREVs2PFha0VBgxp6k9MJD6tIUfa+CQ1KY5UCGWd vE98x7n5XOWAiPL04SAjYYcb6B9uvp9jues0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rFdsZXMLsqp4x3IlBSrN/A2BtEUN39zrF8NEyMW6Et+bDfS3ITLmQAjOoizdj6V+sc 4fVawjUcqxYVM5Pz3CSKplLrxkVA8tkLaKTxu3sHsLCurkYb02t93WlFrRRpiQh6L53N mTZ5CBBMpSRmOgpywl2Chw4jBB4pa1BKvjRXM= MIME-Version: 1.0 Received: by 10.220.91.205 with SMTP id o13mr1694098vcm.92.1239193539298; Wed, 08 Apr 2009 05:25:39 -0700 (PDT) In-Reply-To: <200904080816.09996.hselasky@c2i.net> References: <747dc8f30904071139j32b55e2pf0fcd07a51c260a2@mail.gmail.com> <200904080816.09996.hselasky@c2i.net> From: Renato Botelho Date: Wed, 8 Apr 2009 09:25:23 -0300 Message-ID: <747dc8f30904080525p4e8dfe7fi15e6e758338467c8@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: new usb: mass storage error, Synchronize cache failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 12:25:41 -0000 On Wed, Apr 8, 2009 at 3:16 AM, Hans Petter Selasky wrot= e: > On Tuesday 07 April 2009, Renato Botelho wrote: >> When I plug a gradiente cell phone on my USB I got this: >> >> Apr =A07 15:33:01 botelhor root: Unknown USB device: vendor 0x0e8d >> product 0x0002 bus uhub0 >> Apr =A07 15:33:01 botelhor kernel: ugen0.2: at usbus0 >> Apr =A07 15:33:01 botelhor kernel: umass0: on usbus0 >> Apr =A07 15:33:01 botelhor kernel: umass0: =A0SCSI over Bulk-Only; quirk= s =3D >> 0x0000 Apr =A07 15:33:02 botelhor kernel: umass0:0:0:-1: Attached to scb= us0 >> Apr =A07 15:33:02 botelhor kernel: da0 at umass-sim0 bus 0 target 0 lun = 0 Apr >> =A07 15:33:02 botelhor kernel: da0: Removable Direct >> Access SCSI-0 device >> Apr =A07 15:33:02 botelhor kernel: da0: 1.000MB/s transfers >> Apr =A07 15:33:02 botelhor kernel: da0: 982MB (2012160 512 byte sectors: >> 64H 32S/T 982C) >> Apr =A07 15:33:02 botelhor kernel: da1 at umass-sim0 bus 0 target 0 lun = 1 >> Apr =A07 15:33:02 botelhor kernel: da1: Removable Direct >> Access SCSI-0 device >> Apr =A07 15:33:02 botelhor kernel: da1: 1.000MB/s transfers >> Apr =A07 15:33:02 botelhor kernel: da1: 1MB (3668 512 byte sectors: 64H = 32S/T >> 1C) Apr =A07 15:33:02 botelhor kernel: GEOM: da0: partition 1 does not s= tart >> on a track boundary. >> Apr =A07 15:33:02 botelhor kernel: GEOM: da0: partition 1 does not end >> on a track boundary. >> Apr =A07 15:33:04 botelhor kernel: umass0: at uhub0, port 2, addr 2 >> (disconnected) Apr =A07 15:33:04 botelhor kernel: (da1:umass-sim0:0:0:1)= : >> Synchronize cache failed, status =3D=3D 0x3f, scsi status =3D=3D 0x0 >> Apr =A07 15:33:04 botelhor kernel: (da0:umass-sim0:0:0:0): lost device >> Apr =A07 15:33:04 botelhor kernel: (da0:umass-sim0:0:0:0): removing devi= ce >> entry Apr =A07 15:33:04 botelhor kernel: (da1:umass-sim0:0:0:1): lost de= vice >> Apr =A07 15:33:04 botelhor kernel: (da1:umass-sim0:0:0:1): removing devi= ce >> entry Apr =A07 15:33:04 botelhor kernel: ugen0.2: at usbus= 0 >> (disconnected) >> >> Using 8.0-CURRENT r190550 >> >> I've tried on all usb ports, and have the same. Any idea? > > > Your device probably needs the no synchronize cache quirk. See quirk tabl= e > in /sys/dev/usb/storage/umass.c . Hans, I got it and can make tests here, but, i cannot find EZZE-E800GF or nothing related on usbdevs, I don't know where this description came from. Could you point me to the right place? Thanks --=20 Renato Botelho