Bug 142276 - [umass] [usb8] Cache Synchronization Error with Olympus FE210 Camera
Summary: [umass] [usb8] Cache Synchronization Error with Olympus FE210 Camera
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 21:20 UTC by Brodey Dover
Modified: 2018-01-03 05:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brodey Dover 2010-01-03 21:20:01 UTC
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: <OLYMPUS> 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: <OLYMPUS> at usbus0                                                    
umass0: <OLYMPUS FE210/X775, class 0/0, rev 2.00/1.00, addr 4> 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: <OLYMPUS FE210/X775 1.00> 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: <OLYMPUS> 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: <OLYMPUS> at usbus0                                                    
umass0: <OLYMPUS FE210/X775, class 0/0, rev 2.00/1.00, addr 4> 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: <OLYMPUS FE210/X775 1.00> 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: <OLYMPUS> 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: <OLYMPUS> at usbus0                                                    
umass0: <OLYMPUS FE210/X775, class 0/0, rev 2.00/1.00, addr 4> 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: <OLYMPUS FE210/X775 1.00> 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: <OLYMPUS> 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.

Fix: 

None really.
How-To-Repeat: Plug in an FE-210 Olympus camera.
Comment 1 Hans Petter Selasky 2010-01-03 21:43:38 UTC
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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-02-08 06:55:56 UTC
State Changed
From-To: open->feedback

To submitter: did the suggestion fix your problem?
Comment 3 Brodey Dover 2010-02-08 16:30:07 UTC
Let me check when I get home today but I think there was a fix in =
-CURRENT (PC-BSD 8.0-RC) that resolved the issue experienced in PC-BSD =
8.0-BETA.

Regards,
Brodey Dover=
Comment 4 Brodey Dover 2010-03-11 00:51:29 UTC
The error still displays on FreeBSD pcbsd 8.0-RELEASE-p2 FreeBSD 
8.0-RELEASE-p2 #10: Thu Jan  7 14:50:53 EST 2010     
root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD  
amd64

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <OLYMPUS FE210/X775 1.00> 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
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
can't re-use a leaf (minimum_cmd_size)!
(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

Thank you,
Brodey Dover
Comment 5 Alexander Best freebsd_committer 2010-11-13 15:02:30 UTC
could you try the following quirk with usbconfig:

UQ_MSC_NO_SYNC_CACHE

cheers.
alex

-- 
a13x
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:58 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped