From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 16:02:50 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 55B17106566C for ; Wed, 8 Apr 2009 16:02:50 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 06EC28FC1E for ; Wed, 8 Apr 2009 16:02:49 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so112796qwb.7 for ; Wed, 08 Apr 2009 09:02:49 -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; bh=PvikKixGsVNWoVSavLHdmmElAE8186P7cZQ8mhw/sfs=; b=xyhQjoa9De5tnZBI2Z/VKRENislVi2vmChmuDJAMhoxtVaxZdPY/pBsfDGPwg9sAsp 0KK5SE+YjMmf/6O9A/vl/0RRVKvMazwGzZbwfDSPKAUHUvdrCRTGKS4iUvTXbLu/RJqm 2ghyY530RiKreh3EF0q498S2Ss2hVZLuKoal4= 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; b=OLFMdq45mV2PR5Ycu5mV0DZQedExg8gNgcLHlfRYuxdEArpXBFx+B0qcB21qB7gZnp 39Lku2OJL6ZHIc7yUaCft0FIHeLKVVnubLQN4AdYImnn3qie3y+NFS9YAbwYcE/S0VSd o8Dyfj/GLMmJSHAe4V7fiwzLw5HRTi7g0pCFY= MIME-Version: 1.0 Received: by 10.220.98.201 with SMTP id r9mr2100982vcn.78.1239206567757; Wed, 08 Apr 2009 09:02:47 -0700 (PDT) In-Reply-To: <200904081438.59388.hselasky@c2i.net> References: <747dc8f30904071139j32b55e2pf0fcd07a51c260a2@mail.gmail.com> <200904080816.09996.hselasky@c2i.net> <747dc8f30904080525p4e8dfe7fi15e6e758338467c8@mail.gmail.com> <200904081438.59388.hselasky@c2i.net> From: Renato Botelho Date: Wed, 8 Apr 2009 13:02:31 -0300 Message-ID: <747dc8f30904080902o1771b3e7i8ac24f1c4139c33d@mail.gmail.com> To: Hans Petter Selasky Content-Type: multipart/mixed; boundary=0016e644dd26467f0c04670d430c 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 16:02:50 -0000 --0016e644dd26467f0c04670d430c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Apr 8, 2009 at 9:38 AM, Hans Petter Selasky wrot= e: > On Wednesday 08 April 2009, Renato Botelho wrote: >> On Wed, Apr 8, 2009 at 3:16 AM, Hans Petter Selasky > 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; qu= irks =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 tar= get 0 >> >> lun 0 Apr 7 15:33:02 botelhor kernel: da0: Removable Dir= ect >> >> 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 secto= rs: >> >> 64H 32S/T 982C) >> >> Apr =A07 15:33:02 botelhor kernel: da1 at umass-sim0 bus 0 target 0 l= un 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: 6= 4H >> >> 32S/T 1C) Apr =A07 15:33:02 botelhor kernel: GEOM: da0: partition 1 d= oes >> >> not start on a track boundary. >> >> Apr =A07 15:33:02 botelhor kernel: GEOM: da0: partition 1 does not en= d >> >> 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 devic= e >> >> Apr =A07 15:33:04 botelhor kernel: (da0:umass-sim0:0:0:0): removing d= evice >> >> 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): rem= oving >> >> 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 noth= ing >> 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 I did it: ugen1.2: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL (12Mb= ps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0110 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0008 idVendor =3D 0x0e8d idProduct =3D 0x0002 bcdDevice =3D 0x0001 iManufacturer =3D 0x0002 iProduct =3D 0x0003 iSerialNumber =3D 0x0004 <53923610014483f> bNumConfigurations =3D 0x0001 And I created attached patch but nothing different happened, when I plug usb in, the same result. Thanks --=20 Renato Botelho --0016e644dd26467f0c04670d430c Content-Type: application/octet-stream; name="usb.diff" Content-Disposition: attachment; filename="usb.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fta7kpzs0 SW5kZXg6IHN5cy9kZXYvdXNiL3N0b3JhZ2UvdW1hc3MuYwo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvZGV2 L3VzYi9zdG9yYWdlL3VtYXNzLmMJKHJldmlzaW9uIDE5MDg0MykKKysrIHN5cy9kZXYvdXNiL3N0 b3JhZ2UvdW1hc3MuYwkod29ya2luZyBjb3B5KQpAQCAtNDQzLDYgKzQ0MywxMCBAQAogCQlVTUFT U19QUk9UT19TQ1NJIHwgVU1BU1NfUFJPVE9fQkJCLAogCQlOT19HRVRNQVhMVU4KIAl9LAorCXtV U0JfVkVORE9SX0VaWkUsIFVTQl9QUk9EVUNUX0VaWkVfR0Y1MDAsIFJJRF9XSUxEQ0FSRCwKKwkJ VU1BU1NfUFJPVE9fU0NTSSB8IFVNQVNTX1BST1RPX0JCQiwKKwkJTk9fU1lOQ0hST05JWkVfQ0FD SEUKKwl9LAogCXtVU0JfVkVORE9SX0ZFSVlBLCBVU0JfUFJPRFVDVF9GRUlZQV81SU4xLCBSSURf V0lMRENBUkQsCiAJCVVNQVNTX1BST1RPX1NDU0kgfCBVTUFTU19QUk9UT19CQkIsCiAJCU5PX1FV SVJLUwpJbmRle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