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?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to