mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: usb-storage data errors
Date: Wed, 22 Nov 2006 11:53:22 +0100	[thread overview]
Message-ID: <20061122105322.GA17351@DervishD> (raw)

    Hi all :)

    I'm having a problem with usb-storage devices under:

    - Two different kernels: 2.4.31 (vanilla) and 2.6.17 (Ubuntu).
    - Two different USB 2.0 cards (ALi chipset and VIA chipset).
    - So, two different drivers (OHCI and EHCI).
    - Two different usb-storage adapters (an external USB box from an
      unknown manufacturer and Conceptronic CIDE23U). Both are
      USB-to-IDE adapters.
    - Many different hard disks.
    - Both vfat and ext2/3 filesystems.
    - Perfect RAM (at least, that's what memtest says).
    - Correctly cooled system.

    The problem is the following: whenever I copy a lot of data to
the usb-storage device (more than a few GB's), the copy goes OK,
without an error, but when I compare the copied files with the
original files, sometimes a copied file is different. This does not
happen if I copy the files one by one, and it doesn't happens all the
time, sometimes the copy is perfect.

    In addition to this, from time to time the usb-storage adapters
(any of them, with any of the USB cards and any kernel) report a read
error, telling that some sector could not be read. This is false
because if I repeat the operation, the sector is correctly retrieved.
This can be related to some kind of timing problem, I don't know.

    The fact is that I cannot reproduce the problem reliably, so I
cannot give you a "recipe", except that it happens when I copy a lot
of data at a time.

    Any suggestion about how to narrow the problem down? Any more
data that you may need? A known bug? Am I doing any stupidity?

    Thanks a lot in advance :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

             reply	other threads:[~2006-11-22 10:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22 10:53 DervishD [this message]
2006-11-23 18:08 ` Jan Engelhardt
2006-11-25 19:47   ` DervishD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061122105322.GA17351@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®