From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 12:36:30 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 B575A106564A for ; Wed, 8 Apr 2009 12:36:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 1E16E8FC20 for ; Wed, 8 Apr 2009 12:36:29 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=GaqdJNGrc_AA:10 a=SrBfT0q6AdcA:10 a=8kQB0OdkAAAA:8 a=30FbLjRsZEHFue8WiPIA:9 a=CRvOyH9GdGHQjLE1O0wA:7 a=jsZ_umAsH-h7KlEK1zEWdInSZJMA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [193.217.167.6] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1050146847; Wed, 08 Apr 2009 14:36:28 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 8 Apr 2009 14:38:58 +0200 User-Agent: KMail/1.9.7 References: <747dc8f30904071139j32b55e2pf0fcd07a51c260a2@mail.gmail.com> <200904080816.09996.hselasky@c2i.net> <747dc8f30904080525p4e8dfe7fi15e6e758338467c8@mail.gmail.com> In-Reply-To: <747dc8f30904080525p4e8dfe7fi15e6e758338467c8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200904081438.59388.hselasky@c2i.net> Cc: Renato Botelho 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:36:31 -0000 On Wednesday 08 April 2009, Renato Botelho wrote: > On Wed, Apr 8, 2009 at 3:16 AM, Hans Petter Selasky =20 wrote: > > 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; qui= rks =3D > >> 0x0000 Apr =A07 15:33:02 botelhor kernel: umass0:0:0:-1: Attached to > >> scbus0 Apr =A07 15:33:02 botelhor kernel: da0 at umass-sim0 bus 0 targ= et 0 > >> lun 0 Apr 7 15:33:02 botelhor kernel: da0: Removable Dire= ct > >> 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 sector= s: > >> 64H 32S/T 982C) > >> Apr =A07 15:33:02 botelhor kernel: da1 at umass-sim0 bus 0 target 0 lu= n 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 do= es > >> not start 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 de= vice > >> entry Apr =A07 15:33:04 botelhor kernel: (da1:umass-sim0:0:0:1): lost > >> device Apr =A07 15:33:04 botelhor kernel: (da1:umass-sim0:0:0:1): remo= ving > >> device entry Apr =A07 15:33:04 botelhor kernel: ugen0.2: = at > >> usbus0 (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 > > table in /sys/dev/usb/storage/umass.c . > > Hans, > > I got it and can make tests here, but, i cannot find EZZE-E800GF or nothi= ng > related on usbdevs, I don't know where this description came from. Could > you point me to the right place? > usbconfig dump_device_desc Look for idVendor and idProduct =2D-HPS