From owner-freebsd-usb@FreeBSD.ORG Tue Feb 19 23:12: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 8F52B16A41B for ; Tue, 19 Feb 2008 23:12:13 +0000 (UTC) (envelope-from lukasz.sromek@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 65D3013C455 for ; Tue, 19 Feb 2008 23:12:13 +0000 (UTC) (envelope-from lukasz.sromek@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3662517waf.3 for ; Tue, 19 Feb 2008 15:12:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=sVlkq7xFqpG+KLiDDriNLCxC272Thd+4CBg/78ki8SM=; b=Oyp9mZFxBK5KOCL9mc0HDKN7ZAiDq/CY1rwQ4IWxl0Dx205uLe7iJWUlvfqXLDzF/XxDbKm/aOK/B21k6V6C1UiHBIv+byIH8AqJZIceycb4GKFtDAkNQEeX5gqbXHrAEoSbqaLaYMEVAhh1U+n6pbYruLkq7SrjqbUeLdEtjHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EUgaw8X/bThC4jCe0doUssZot97zqvNxfkZhqwIaiM4yKW7H4y2ncDHTqasm+PfEsOBj+8LqGGx9H7x9x5S3yqMy09OuocUEhxMrYmKCYsYWG/mWhN5Q6wu5DgIzdS1c85nsPpqK29JKaCsEyiUjxdtbjrpcMBvo/JaqiaWFS5Y= Received: by 10.115.78.1 with SMTP id f1mr1896605wal.100.1203462732165; Tue, 19 Feb 2008 15:12:12 -0800 (PST) Received: by 10.115.49.1 with HTTP; Tue, 19 Feb 2008 15:12:12 -0800 (PST) Message-ID: <32f529bc0802191512t355c4d81wefdf08fda6bb0ad9@mail.gmail.com> Date: Wed, 20 Feb 2008 00:12:12 +0100 From: "=?ISO-8859-2?Q?=A3ukasz_Sromek?=" To: "Hans Petter Selasky" In-Reply-To: <32f529bc0802191400h29073d50xd23478a3389a4557@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <32f529bc0802180102m6fa12e32x1903e3a8b98a70b3@mail.gmail.com> <200802181730.17473.hselasky@c2i.net> <32f529bc0802181358n3ac34ec2saa23bc658507ba8f@mail.gmail.com> <200802191725.06156.hselasky@c2i.net> <32f529bc0802191400h29073d50xd23478a3389a4557@mail.gmail.com> 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:12:13 -0000 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.