From owner-freebsd-usb@FreeBSD.ORG Sun Jan 3 21:45:03 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75F6B106566B; Sun, 3 Jan 2010 21:45:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.tele2.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 66AD58FC20; Sun, 3 Jan 2010 21:45:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=QEz2SFEN87YA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=x2m3GPe0AAAA:8 a=YJWyZuklAxx6DtU8ClwA:9 a=vKmimvK_cYSTpoz-6DUA:7 a=D-SK8PoQxU9AmnVQ1A8SNjhPElYA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 972675929; Sun, 03 Jan 2010 22:45:00 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 3 Jan 2010 22:43:38 +0100 User-Agent: KMail/1.12.1 (FreeBSD/8.0-STABLE; KDE/4.3.1; amd64; ; ) References: <201001032115.o03LFujI071243@www.freebsd.org> In-Reply-To: <201001032115.o03LFujI071243@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001032243.38734.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, Brodey Dover Subject: Re: usb/142276: Cache Synchronization Error with Olympus FE210 Camera X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 21:45:03 -0000 On Sunday 03 January 2010 22:15:56 Brodey Dover wrote: > >Number: 142276 > >Category: usb > >Synopsis: Cache Synchronization Error with Olympus FE210 Camera > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Jan 03 21:20:01 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Brodey Dover > >Release: FreeBSD 8- i386 - RELEASE - p1 > >Organization: > > None. > > >Environment: > > FreeBSD pcbsd 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #3: Fri Dec 11 13:33:42 > PST 2009 > root@build8x32.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sy > s/PCBSD i386 > > >Description: > > When plugging in the camera the system message buffer outputs many lines > about cache synchronization issues. When adding, deleting or changing > files stored on the camera more errors will display about cache > synchronization. > > Furthermore, while mounting the camera X/KDE become unresponsive to mouse > and keyboard inputs. If music is playing, it will either stop completely > or squeal (excessive interrupts). > > Here is output from dmesg that is relevant to the issue: > > ugen0.4: at usbus0 (disconnected) > umass0: at uhub0, port 6, addr 4 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen0.4: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:3:0:-1: Attached to scbus3 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1999MB (4095630 512 byte sectors: 255H 63S/T 254C) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 GEOM: da0: partition 1 does not start on a track > boundary. > GEOM: da0: partition 1 does not end on a track boundary. > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 ugen0.4: at usbus0 (disconnected) > umass0: at uhub0, port 6, addr 4 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen0.4: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:3:0:-1: Attached to scbus3 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1999MB (4095630 512 byte sectors: 255H 63S/T 254C) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 ugen0.4: at usbus0 > (disconnected) > umass0: at uhub0, port 6, addr 4 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > ugen0.4: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:3:0:-1: Attached to scbus3 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1999MB (4095630 512 byte sectors: 255H 63S/T 254C) > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 pid 17259 > (gdb), uid 1001: exited on signal 6 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize > cache failed, status == 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): > Synchronize cache failed, status == 0x4, scsi status == 0x0 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0x4, scsi status == 0x0 (da0:umass-sim0:0:0:0): Synchronize cache failed, > status == 0x4, scsi status == 0x0 ugen0.4: at usbus0 > (disconnected) > umass0: at uhub0, port 6, addr 4 (disconnected) > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > > Unfortunately I don't have another FE-210 but I have tried other Olympus > cameras, Nikons and Canons and even other flash but none seem to exhibit > this issue. Also, changing the SD card also doesn't "fix" the issue and > the SD card in the FE-210 used by another camera also warrants the same > errors and usability issues. > > >How-To-Repeat: > > Plug in an FE-210 Olympus camera. > > >Fix: > > None really. > > >Release-Note: > >Audit-Trail: > >Unformatted: > Hi, There should be a quirks table in "sys/dev/usb/storage/umass.c" . If you are running 8-stable, the quirks table has been moved to "sys/dev/usb/quirk/usb_quirk.c" and is settable via usbconfig. See the the add_quirk_vplh command for usbconfig. --HPS