Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 00:12:12 +0100
From:      "=?ISO-8859-2?Q?=A3ukasz_Sromek?=" <lukasz.sromek@gmail.com>
To:        "Hans Petter Selasky" <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Copying to usb flash drive corrupts files
Message-ID:  <32f529bc0802191512t355c4d81wefdf08fda6bb0ad9@mail.gmail.com>
In-Reply-To: <32f529bc0802191400h29073d50xd23478a3389a4557@mail.gmail.com>
References:  <32f529bc0802180102m6fa12e32x1903e3a8b98a70b3@mail.gmail.com> <200802181730.17473.hselasky@c2i.net> <32f529bc0802181358n3ac34ec2saa23bc658507ba8f@mail.gmail.com> <200802191725.06156.hselasky@c2i.net> <32f529bc0802191400h29073d50xd23478a3389a4557@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Okay, some more tests & results.

I did some extensive copying, reading, writing and rebooting under
windows - everything worked perfectly.

I booted freebsd and tried to read some files copied previously under
Windows - and I got errors. Moreover, copying the same file multiple
times to hard drive yields error in different bytes:

lukasz ~% mount /mnt/usb
lukasz ~% cp /mnt/usb/Sting\ -\ 1987\ -\ Nothing\ Like\ The\ Sun/07\
-\ We=C2=B4Ll\ Be\ Together.mp3 ~/07\ -\ We=C2=B4Ll\ Be\ Together.mp3-5a
lukasz ~% cp /mnt/usb/Sting\ -\ 1987\ -\ Nothing\ Like\ The\ Sun/07\
-\ We=C2=B4Ll\ Be\ Together.mp3 ~/07\ -\ We=C2=B4Ll\ Be\ Together.mp3-5b
lukasz ~% umount /mnt/usb
lukasz ~% diff ~/07\ -\ We=C2=B4Ll\ Be\ Together.mp3-5a ~/07\ -\ We=C2=B4Ll=
\
Be\ Together.mp3-5b
Files /home/lukasz/07 - We=C2=B4Ll Be Together.mp3-5a and /home/lukasz/07
- We=C2=B4Ll Be Together.mp3-5b differ

Then checked that file under windows - no errors at all!

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.

I also tested three other usb flash sticks and they worked great, BUT
they all were high speed EHCI devices. My problematic usb stick is
detected at OHCI root hub.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32f529bc0802191512t355c4d81wefdf08fda6bb0ad9>