NetBSD Problem Report #7903

Received: (qmail 6563 invoked from network); 3 Jul 1999 19:17:56 -0000
Message-Id: <199907031904.MAA07145@scimitar.caravan.com>
Date: Sat, 3 Jul 1999 12:04:27 -0700 (PDT)
From: "Harry W. Waddell" <waddell@caravan.com>
Reply-To: waddell@caravan.com
To: gnats-bugs@gnats.netbsd.org
Subject: usb keyboard detatch causes panic
X-Send-Pr-Version: 3.95

>Number:         7903
>Category:       kern
>Synopsis:       usb keyboard detatch causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 03 12:20:00 +0000 1999
>Closed-Date:    Wed Jul 14 23:50:42 +0000 1999
>Last-Modified:  Wed Jul 14 23:51:18 +0000 1999
>Originator:     Harry W. Waddell
>Release:        NetBSD-current 1999-07-02
>Organization:

>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:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: augustss 
State-Changed-When: Wed Jul 14 16:50:42 PDT 1999 
State-Changed-Why:  
The wskbd detach is now operational, so there should be no panic. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.