Subject: kern/22325: repeatable ehci usb umass lockup
To: None <gnats-bugs@gnats.netbsd.org>
From: None <joff@stchome.com>
List: netbsd-bugs
Date: 07/31/2003 10:20:06
>Number:         22325
>Category:       kern
>Synopsis:       repeatable ehci usb umass lockup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 31 17:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD dumptruck 1.6.1_STABLE NetBSD 1.6.1_STABLE (DELL600SC) #13: Mon Jun 23 09:45:57 MST 2003 joff@angel:/u/src/sys/arch/i386/compile/DELL600SC i386
Architecture: i386
Machine: i386
>Description:
While playing around with a BUSlink USB 2.0 hard drive connected
to a BUSlink (NEC) 5 port PCI USB card (ehci) I noticed the following
error messages printed to the console:

ehci_idone: need toggle update
umass0: Invalid CSW: sig 0xc0c6ee40 should be 0x53425355
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

This error appears almost randomly and causes any and all file
operations on the mounted filesystem to subsequently fail with EIO
after hanging about 30 seconds.  It usually takes between 5-45
minutes for these errors to first start appearing after mounting,
but I can almost always reproduce the problem immediately by starting
a "dd if=/dev/sd0e of=/dev/null bs=64k" in the background and then
run "usbdevs -v" a couple times.

Problem first posted to tech-kern.  Original message includes dmesg
and usbdevs -v at
http://mail-index.netbsd.org/tech-kern/2003/07/30/0005.html

>How-To-Repeat:
	See above.
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: