From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 00:32:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CF2516A4BF for ; Sun, 7 Sep 2003 00:32:56 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E2F43F3F for ; Sun, 7 Sep 2003 00:32:54 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h877Z1bi000897; Sun, 7 Sep 2003 03:35:02 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h877WkBO048811; Sun, 7 Sep 2003 00:32:46 -0700 (PDT) (envelope-from jmg) Date: Sun, 7 Sep 2003 00:32:46 -0700 From: John-Mark Gurney To: "raoul.megelas" Message-ID: <20030907073246.GD39788@funkthat.com> Mail-Followup-To: "raoul.megelas" , freebsd-current@freebsd.org References: <20030907064510.GA702@libertysurf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030907064510.GA702@libertysurf.fr> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org Subject: Re: usb flashkey disk copy error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 07:32:56 -0000 raoul.megelas wrote this message on Sun, Sep 07, 2003 at 08:45 +0200: > I have a copy error between hdd and a flashkey 1gig usb (easydisk) > on Current dated August 28. Here is in short: > > mount -t msdos /dev/da2s1 /flashkey > cp myfile /flashkey/ > diff myfile /flashkey/myfile > (ok). could you try a fsync /flashkey/myfile before the umount? > umount /flashkey > > mount (flashkey) > diff myfile /flashkey/myfile > (Binary file differ)! > > It is not a flashkey disk error, it works on XP. > Note that this error occurs on FreeBSD 4.8 too. > > Please, can you tell me how to deal with that? > And in an other hand can you tell me how to obtain the exact map of the flashkey > to verify the writing on the disk. > Thanks in advance for this newbie question. You're the second person that has reported corruption with USB umass devices. I am interested in tracking down this problem, but it's a bit difficult since I haven't seen it myself. (I currently don't quite have a test bed box to play with, but I will in the next week.) Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."