Subject: kern/7903: usb keyboard detatch causes panic
To: None <gnats-bugs@gnats.netbsd.org>
From: Harry W. Waddell <waddell@caravan.com>
List: netbsd-bugs
Date: 07/03/1999 12:27:09
>Number: 7903
>Category: kern
>Synopsis: usb keyboard detatch causes panic
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 3 12:20:00 1999
>Last-Modified:
>Originator: Harry W. Waddell
>Organization:
>Release: NetBSD-current 1999-07-02
>Environment:
System: NetBSD scimitar 1.4D NetBSD 1.4D (CARAVANLAP) #25: Fri Jul 2 18:13:58 PDT 1999 waddell@scimitar:/usr/src/sys/arch/i386/compile/CARAVANLAP i386
>Description:
When a usb keyboard is disconected, detatched, from the system it
immediately panics. It does not matter if the keyboard is attached
to a wsconsole.
ukbd0 at uhub0 port 1 configuration 1 interface 0
ukbd0: QTRONIX USB Keyboard and Mouse, rev 1.00/1.12, addr 2, iclass 3/1
wskbd1 at ukbd0
ums0 at uhub0 port 1 configuration 1 interface 1
ums0: QTRONIX USB Keyboard and Mouse, rev 1.00/1.12, addr 2, iclass 3/1
ums0: 3 buttons
wsmouse1 at ums0
uhub0: port error, restarting port 1
ukbd0: at uhub0 port 1 (addr 2) disconnected
panic: config_detach: forced detach of wskbd1 failed (45)
Stopped in usb0 at _Debugger+0x4: leave
db> t
panic
cinfog_detach
ukbd_detach
config_detach
uhub_disconnect_port
uhub_explore
usb_discover
usb_event_thread
>How-To-Repeat:
plug it in, pull it out.
>Fix:
>Audit-Trail:
>Unformatted: