public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* usb 1-1: reset full speed USB device using ep93xx-ohci and address 2
@ 2009-04-27 20:50 Bill Gatliff
  0 siblings, 0 replies; only message in thread
From: Bill Gatliff @ 2009-04-27 20:50 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

Guys:


I'm getting this problem all the time on an ep93xx platform (ARM, 
ts-7260) when I use a USB flash device as the root filesystem.  The 
kernel is a slightly-modified 2.6.27:

...
INIT: version 2.86 booting
usb 1-1: reset full speed USB device using ep93xx-ohci and address 2
usb 1-1: reset full speed USB device using ep93xx-ohci and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
...

Google tells me that this problem has come and gone for quite a while, 
but it's currently present for me nearly 100% of the time.

One thing that I find interesting is that the very same device that 
produced the above messages works absolutely fine on the very same 
hardware and kernel when it isn't being used as a root filesystem 
device.  In fact, I've been abusing the device for a couple of days now 
with no problems, where when used as a normal rootfs it dies almost 
immediately after sysvinit starts up.

What's equally troubling is the fact that a few weeks ago, this same 
device with the very same hardware worked without problems, then seemed 
to progressively get worse until now it's virtually unusable due to the 
high number of USB reset events.  But I don't think in this case it's a 
hardware degradation problem; rather, I'm suspicious that system use has 
changed something in the access patterns to the device (timing or 
otherwise) that expose a latent problem.

The filesystem is ext3, and it's a 1GB USB 2.0 flash device  I've tried 
mounting it with noatime, that doesn't seem to help--- while in use as a 
rootfs I get the same pattern of reset messages as described above, and 
when not used as a rootfs operation is still error-free.  My "other" 
rootfs is NFS, populated from the contents of the USB device itself.

I'm stumped, and I'm hoping this machine will help provide someone with 
information needed to lick this problem as it's preventing me from 
deploying some important functionality.

I rarely see problems before the "INIT: version 2.86 booting" message 
above.  Is it possible that there's something related to the fact that 
the device is read-only prior to that?

My test script used when the USB device isn't the rootfs looks like this:

    while true; do rm -f /mnt/randomfile*; dd if=/dev/urandom
        of=/mnt/randomfile bs=1024 count=20480;
        tar cf /mnt/randomfile.tar /mnt/randomfile; date; done


Hoping someone can help me shed some light on this,


b.g.

-- 
Bill Gatliff
bgat@billgatliff.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-27 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 20:50 usb 1-1: reset full speed USB device using ep93xx-ohci and address 2 Bill Gatliff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox