Date: Tue, 2 Jun 2009 11:29:58 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: freebsd-hackers@freebsd.org Subject: Re: Synchronize cache failed. Message-ID: <Pine.GSO.4.64.0906021121260.8636@sea.ntplx.net> In-Reply-To: <alpine.BSF.2.00.0906021713170.1314@wojtek.tensor.gdynia.pl> References: <alpine.BSF.2.00.0906021713170.1314@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Jun 2009, Wojciech Puchar wrote:
> 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.
Try disabling hal (comment out hald_enable in /etc/rc.conf).
If you need hal for X, try booting without X and hal/dbus.
You might also try UMASS_PROTO_SCSI | UMASS_PROTO_BBB, or
UMASS_PROTO_DEFAULT in your quirk.
--
DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0906021121260.8636>
