All of lore.kernel.org
 help / color / mirror / Atom feed
* au1500 USB does not recover from flash drive removal during operations
@ 2006-11-13 15:06 s c
  2006-11-14 13:12 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: s c @ 2006-11-13 15:06 UTC (permalink / raw)
  To: linux-mips

Hello All,

I was testing the USB capabilities of the au1500 and discovered that
when a USB flash drive is removed during a copy operation twice, the
USB host controller/root hub will no longer detect if the device is
plugged in a third time.  I am assuming there is a bug in the au1xxx
parts of the USB drivers because Linux has been able to handle this
case for some time with the standard  EHCI/OHCI/UHCI host controllers.

I am testing using the dbau1500 development board and the 2.6.12
kernel with the fs in ram.

I would be interested if anyone has experienced anything similar with
the au1500 and the 2.6.12 or other (earlier or later) kernels.

The test goes something like this:

Plug in the USB drive - it gets detected.

(it does not seem to matter whether the drive is mounted or not, I
tested both ways.)

At the command prompt:
#dd if=/dev/zero of=/dev/sda bs=1k count=50k

after some time un-plug the drive.

Error messages (too many to post)

Repeat

Third time device is not detected.

I did not want to post a huge list of error messages, but I did notice
differences between the first and second try.

In the first, I got a lot of "rejecting I/O to device being removed"
from scsi, while after the second removal I did not. Instead I got a
lot of "Buffer I/O error on device sda" from scsi.

I am actively looking in to the problem and wanted to post to the list
in case someone else had come across this behaviour. I could list the
error messages if anyone is interested.

Any feedback would be appreciated.

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: au1500 USB does not recover from flash drive removal during operations
  2006-11-13 15:06 au1500 USB does not recover from flash drive removal during operations s c
@ 2006-11-14 13:12 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2006-11-14 13:12 UTC (permalink / raw)
  To: s c; +Cc: linux-mips

On Mon, Nov 13, 2006 at 10:06:44AM -0500, s c wrote:

I suggest you take this to a specific USB list or linux-kernel.  The
behavious you describe does not seem to be MIPS-specific.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-14 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 15:06 au1500 USB does not recover from flash drive removal during operations s c
2006-11-14 13:12 ` Ralf Baechle

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.