Subject: kern/30757: ehci causes complete system lockup upon device insertion
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <lord_dimwit@deadpixi.com>
List: netbsd-bugs
Date: 07/16/2005 00:48:00
>Number:         30757
>Category:       kern
>Synopsis:       ehci causes complete system lockup upon device insertion
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 16 00:48:00 +0000 2005
>Originator:     Rob King
>Release:        3.,0_BETA
>Organization:
>Environment:
NetBSD dustpuppy.deadpixi.com 3.0_BETA NetBSD 3.0_BETA (DUSTPUPPY) #0: Wed Jul 13 10:40:32 CDT 2005  root@dustpuppy.deadpixi.com:/usr/src/sys/arch/amd64/compile/DUSTPUPPY amd64

>Description:
Whenever a device is plugged into a USB2.0 controller or one of its USB1 sub-controllers, the entire system locks up. When running with DEBUG_EHCI enabled, inserting and removing the device after the "lock up" reveals that the device is still responding (still get debugging messages about device insertion and removal), but the remainder of the system is completely unresponsive. This includes network connections.

This problem also exists in NetBSD-2.0.
>How-To-Repeat:
* Compile a kernel with EHCI enabled.
* Insert a USB device into a USB2 port, or boot with one attached.

>Fix: