* usb-storage data errors
@ 2006-11-22 10:53 DervishD
2006-11-23 18:08 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: DervishD @ 2006-11-22 10:53 UTC (permalink / raw)
To: Linux-kernel
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!
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: usb-storage data errors
2006-11-22 10:53 usb-storage data errors DervishD
@ 2006-11-23 18:08 ` Jan Engelhardt
2006-11-25 19:47 ` DervishD
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2006-11-23 18:08 UTC (permalink / raw)
To: DervishD; +Cc: Linux-kernel
On Nov 22 2006 11:53, DervishD wrote:
> - Two different usb-storage adapters (an external USB box from an
> unknown manufacturer and Conceptronic CIDE23U). Both are
> USB-to-IDE adapters.
>
> 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.
Try with some real USB storage device instead of a USB-to-IDE converter.
-`J'
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: usb-storage data errors
2006-11-23 18:08 ` Jan Engelhardt
@ 2006-11-25 19:47 ` DervishD
0 siblings, 0 replies; 3+ messages in thread
From: DervishD @ 2006-11-25 19:47 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Linux-kernel
Hi Jan :)
* Jan Engelhardt <jengelh@linux01.gwdg.de> dixit:
> On Nov 22 2006 11:53, DervishD wrote:
> > - Two different usb-storage adapters (an external USB box from an
> > unknown manufacturer and Conceptronic CIDE23U). Both are
> > USB-to-IDE adapters.
> >
> > 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.
>
> Try with some real USB storage device instead of a USB-to-IDE converter.
I did a couple of tests using a Kingstong Traveller USB key, with
same results. I'm retesting with a rather shorter cable. I'll post
here the results if the error doesn't dissappear. By now, no errors
with the short cable.
Thanks for the suggestion, Jan :)
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-25 19:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 10:53 usb-storage data errors DervishD
2006-11-23 18:08 ` Jan Engelhardt
2006-11-25 19:47 ` DervishD
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.