From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 18:42:17 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 C8CCE1065672 for ; Wed, 8 Apr 2009 18:42:17 +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 7BB538FC15 for ; Wed, 8 Apr 2009 18:42:17 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so172853qwb.7 for ; Wed, 08 Apr 2009 11:42:17 -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=lmLBj21dBdFbZewLIdvW7AQAiZp9BGGmty1VOcXmOgo=; b=EOldlp2xJ+agniU0sFWSOdDK6/GGo+9/w/JLDLxS+RVZD9XYu9b/C6KCESVuVtfoc2 NgifQR08+TOATCFqiyVkms4nwfFJdgiL65w97QsRGKbUqJu9b7n15IMPc17qkiZBC5TR nE5E528sTiMy523alRi/6T2wx5RmvTWqrr5ko= 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=MlT3SRQnL9w/NI0ECK+B9l73PJjCpFO4Xtl0Djc9azjnk5NPoqUuvHZRhdKGOvnYrW SSYJ7I/xEVoOKBRMvaQKStYM6VvYNZzh5MOeTAXgLPm+Pm5kCpCamh2vf2TmTf+RGZuw yJQ+8c7Fj5Ex7ExGAl1NWYw3hwoSZJP3QAnZg= MIME-Version: 1.0 Received: by 10.220.73.210 with SMTP id r18mr2437778vcj.33.1239216136833; Wed, 08 Apr 2009 11:42:16 -0700 (PDT) In-Reply-To: <200904082033.30722.hselasky@c2i.net> References: <747dc8f30904071139j32b55e2pf0fcd07a51c260a2@mail.gmail.com> <200904081438.59388.hselasky@c2i.net> <747dc8f30904080902o1771b3e7i8ac24f1c4139c33d@mail.gmail.com> <200904082033.30722.hselasky@c2i.net> From: Renato Botelho Date: Wed, 8 Apr 2009 15:42:01 -0300 Message-ID: <747dc8f30904081142r704bb155q8fc8bbb37a30322f@mail.gmail.com> To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current 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 18:42:18 -0000 On Wed, Apr 8, 2009 at 3:33 PM, Hans Petter Selasky wrot= e: > On Wednesday 08 April 2009, Renato Botelho wrote: >> On Wed, Apr 8, 2009 at 9:38 AM, Hans Petter Selasky > wrote: >> > 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 usbus= 0 >> >> >> Apr =A07 15:33:01 botelhor kernel: umass0: on usbu= s0 >> >> >> Apr =A07 15:33:01 botelhor kernel: umass0: =A0SCSI over Bulk-Only;= quirks >> >> >> =3D 0x0000 Apr =A07 15:33:02 botelhor kernel: umass0:0:0:-1: Attac= hed to >> >> >> scbus0 Apr =A07 15:33:02 botelhor kernel: da0 at umass-sim0 bus 0 >> >> >> target 0 lun 0 Apr 7 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 D= irect >> >> >> 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 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 0x= 3f, >> >> >> 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 ker= nel: >> >> >> (da0:umass-sim0:0:0:0): removing device entry Apr =A07 15:33:04 >> >> >> botelhor kernel: (da1:umass-sim0:0:0:1): lost device Apr =A07 15:3= 3:04 >> >> >> botelhor kernel: (da1:umass-sim0:0:0:1): removing 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 quir= k >> >> > table 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? >> > >> > usbconfig dump_device_desc >> > >> > Look for idVendor and idProduct >> >> I did it: >> >> ugen1.2: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL (1= 2Mbps) >> pwr=3DON >> >> =A0 bLength =3D 0x0012 >> =A0 bDescriptorType =3D 0x0001 >> =A0 bcdUSB =3D 0x0110 >> =A0 bDeviceClass =3D 0x0000 >> =A0 bDeviceSubClass =3D 0x0000 >> =A0 bDeviceProtocol =3D 0x0000 >> =A0 bMaxPacketSize0 =3D 0x0008 >> =A0 idVendor =3D 0x0e8d >> =A0 idProduct =3D 0x0002 >> =A0 bcdDevice =3D 0x0001 >> =A0 iManufacturer =3D 0x0002 =A0 >> =A0 iProduct =3D 0x0003 =A0 >> =A0 iSerialNumber =3D 0x0004 =A0<53923610014483f> >> =A0 bNumConfigurations =3D 0x0001 >> >> And I created attached patch but nothing different happened, >> when I plug usb in, the same result. > > Did you recompile umass and/or kernel ? Since I was on old-than-my-src version, I rebuilt world and kernel with r190843 --=20 Renato Botelho