Re: usb flashkey disk copy error

2003-09-13 Thread John-Mark Gurney
Barney Wolff wrote this message on Fri, Sep 12, 2003 at 15:52 -0400: > Patch below had some problems. Needed #ifdef USB_DEBUG around the > ref to ohcidebug to compile, and either BROKEN_OHCI added to the > list of valid options or (as I did) kludged to 1. Worse, trying > to mount_msdosfs my camer

Re: usb flashkey disk copy error

2003-09-12 Thread Barney Wolff
Patch below had some problems. Needed #ifdef USB_DEBUG around the ref to ohcidebug to compile, and either BROKEN_OHCI added to the list of valid options or (as I did) kludged to 1. Worse, trying to mount_msdosfs my camera caused an instant panic: "Length went negative: -4096". If that's not eno

Re: usb flashkey disk copy error

2003-09-08 Thread Bruce Evans
On Sun, 7 Sep 2003, raoul.megelas wrote: > John-Mark Gurne wrote this message on Sun, Sep 07, 2003 at 08:45 +0200: > raoul.megelas wrote: > > > 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 /fl

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
raoul.megelas wrote this message on Sun, Sep 07, 2003 at 11:33 +0200: > You have found the trick, fsync after cp works fine. > Thanks very much. > > But why the fsync is not automatically done by umount on umass? > > (note) if you need to test against flashkey i can do that if you want.) Well, w

Re: usb flashkey disk copy error

2003-09-07 Thread raoul.megelas
John-Mark Gurne wrote this message on Sun, Sep 07, 2003 at 08:45 +0200: raoul.megelas wrote: > 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/

Re: usb flashkey disk copy error

2003-09-07 Thread Andrew Gordon
On Sun, 7 Sep 2003, John-Mark Gurney wrote: > > Hmmm. I just thought of something. Now is the data corrupt still correupt > on another system? What I mean is did the data get written properly, but > just isn't being read back from the media correctly. Unless you are > coping a file larger than

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
Barney Wolff wrote this message on Sun, Sep 07, 2003 at 15:48 -0400: > I can't do more detailed diagnosis right now, but could in a few days. When you get a chance (or anyone else who has this problem), try the attached patch, and add options BROKEN_OHCI to your kernel config file. Please set hw.u

Re: usb flashkey disk copy error

2003-09-07 Thread Barney Wolff
On Sun, Sep 07, 2003 at 10:55:24AM -0700, John-Mark Gurney wrote: > > > > Make me the third. I have a Sony F707 camera, which I can use on > > 4-stable and with 5-current on a Dell I5000 laptop, but not on 5-current > > on an Asus A7M266-D with world/kernel built 9/4/03. The bad data starts > >

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
Barney Wolff wrote this message on Sun, Sep 07, 2003 at 13:46 -0400: > On Sun, Sep 07, 2003 at 12:32:46AM -0700, John-Mark Gurney wrote: > > > > 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 diff

Re: usb flashkey disk copy error

2003-09-07 Thread Barney Wolff
On Sun, Sep 07, 2003 at 12:32:46AM -0700, John-Mark Gurney wrote: > > 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. Make me the third. I have a Sony F707 c

Re: usb flashkey disk copy error

2003-09-07 Thread John-Mark Gurney
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). co

usb flashkey disk copy error

2003-09-06 Thread raoul.megelas
Hello all, 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). umount /flashkey mount (flashkey) diff myfile /flashkey/myfile (