misc/143045: Fujitsu 2600Z camera mounting
W.Scholten
w-info2 at xs4all.nl
Thu Jan 21 03:40:07 UTC 2010
>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 at 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:
More information about the freebsd-bugs
mailing list