From owner-freebsd-usb@FreeBSD.ORG Tue Feb 19 23:26:13 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BB2316A46B for ; Tue, 19 Feb 2008 23:26:13 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.79]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7D813C469 for ; Tue, 19 Feb 2008 23:26:13 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp001-s [10.150.69.64]) by smtpoutm.mac.com (Xserve/smtpout016/MantshX 4.0) with ESMTP id m1JNQBY7000712; Tue, 19 Feb 2008 15:26:11 -0800 (PST) Received: from mini-g4.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp001/MantshX 4.0) with ESMTP id m1JNQ9mx009560 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 Feb 2008 15:26:09 -0800 (PST) Message-Id: <90085DD7-B0D6-4F95-ACAA-664B04FC2E37@mac.com> From: Marcel Moolenaar To: =?UTF-8?Q?=C5=81ukasz_Sromek?= In-Reply-To: <32f529bc0802191512t355c4d81wefdf08fda6bb0ad9@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 19 Feb 2008 15:26:08 -0800 References: <32f529bc0802180102m6fa12e32x1903e3a8b98a70b3@mail.gmail.com> <200802181730.17473.hselasky@c2i.net> <32f529bc0802181358n3ac34ec2saa23bc658507ba8f@mail.gmail.com> <200802191725.06156.hselasky@c2i.net> <32f529bc0802191400h29073d50xd23478a3389a4557@mail.gmail.com> <32f529bc0802191512t355c4d81wefdf08fda6bb0ad9@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-usb@freebsd.org Subject: Re: Copying to usb flash drive corrupts files X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 23:26:13 -0000 On Feb 19, 2008, at 3:12 PM, =C5=81ukasz Sromek wrote: > So I thought, maybe just reading is broken somehow. I've booted > freebsd again, mounted usb stick and copied some files. But when I > tried to read them under windows I got errors. We've ran into a bad USB-NAND flash controller revision here at work that resulted in lost writes. The problem was that a SYNCHRONIZE_CACHE command would stall the USB device, which we then cleared correctly, but a prior write would not hit the NAND flash. An USB analyzer would give us the information we need... FYI, --=20 Marcel Moolenaar xcllnt@mac.com