Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 03:35:01 GMT
From:      "W.Scholten" <w-info2@xs4all.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/143045: Fujitsu 2600Z camera mounting
Message-ID:  <201001210335.o0L3Z1pT038866@www.freebsd.org>
Resent-Message-ID: <201001210340.o0L3e6lv070777@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143045
>Category:       misc
>Synopsis:       Fujitsu 2600Z camera mounting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 21 03:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     W.Scholten
>Release:        8.0R
>Organization:
>Environment:
FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Mounting the camera doesn't work, synchronize cache error appears in the message log. This seems to be a quirk that needs to be added (wasn't necessary in 7.2 btw, where the camera worked fine).

umass0: <vendor 0x04cb USB Mass Storage, class 0/0, rev 1.10/1.00, addr 2> on usbus1
umass0:  8070i (ATAPI) over CBI with CCI; quirks = 0x0002
umass0:4:0:-1: Attached to scbus4
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <FUJIFILM USB-DRIVEUNIT 1.00> Removable Direct Access SCSI-0 device 
da1: 1.000MB/s transfers
da1: 62MB (128000 512 byte sectors: 64H 32S/T 62C)
(da1:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
ugen1.2: <vendor 0x04cb> at usbus1 (disconnected)
umass0: at uhub1, port 2, addr 2 (disconnected)
(da1:umass-sim0:0:0:0): lost device
(da1:umass-sim0:0:0:0): removing device entry

>How-To-Repeat:
Mount Fuji 2600Z camera.

>Fix:
Patch for umass.c:

--- /usr/src/sys/dev/usb/storage/umass.c~      2009-10-25 02:10:29.000000000 +0100
+++ /usr/src/sys/dev/usb/storage/umass.c       2009-12-02 18:18:43.000000000 +0100
@@ -478,8 +478,16 @@
        },
        {USB_VENDOR_FUJIPHOTO, USB_PRODUCT_FUJIPHOTO_MASS0100, RID_WILDCARD,
                UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I,
-               RS_NO_CLEAR_UA
+               RS_NO_CLEAR_UA | NO_SYNCHRONIZE_CACHE
        },


Note that with this patch, I can mount the camera about 15 seconds after switching the camera on. In FreeBSD 7.2 it was instantaneous. Why is this? Is there a fix?

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001210335.o0L3Z1pT038866>