Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 17:16:01 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-hackers@freebsd.org
Subject:   Synchronize cache failed.
Message-ID:  <alpine.BSF.2.00.0906021713170.1314@wojtek.tensor.gdynia.pl>

next in thread | raw e-mail | index | archive | help
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?



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