Synchronize cache failed.
    Wojciech Puchar 
    wojtek at wojtek.tensor.gdynia.pl
       
    Tue Jun  2 15:16:10 UTC 2009
    
    
  
i bought new digital camera+"8GB" flash card, and when i plug it into USB 
port, it's detected properly
umass0: <OLYMPUS FE20,X15,C25, class 0/0, rev 2.00/1.00, addr 2> on uhub1
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <OLYMPUS FE20,X15,C25 1.00> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 7646MB (15659008 512 byte sectors: 255H 63S/T 974C)
i can do everything fine, but i'm getting
umass0: Phase Error, residue = 0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0
every some time.
so i added a device line to usbdevs, then i edited umass.c
to add
         { USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_FE20, RID_WILDCARD,
           UMASS_PROTO_SCSI,
           NO_SYNCHRONIZE_CACHE
         },
to static struct umaumass_devdescrs[]
it compiled, all fine, but when i attached camera again system rebooted.
i was in X session and had tail -f /var/log/messages running, and i was 
able to see a message that my camera is unknown device, for maybe 1 second 
before getting reboot.
No memory dump was performed.
Any idea?
    
    
More information about the freebsd-hackers
mailing list