Subject: kern/15390: uhidev without uhid causes kernel panic
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@netbsd.org>
List: netbsd-bugs
Date: 01/28/2002 00:00:43
>Number: 15390
>Category: kern
>Synopsis: uhidev without uhid causes kernel panic
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 27 05:01:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Luke Mewburn
>Release: NetBSD 1.5ZA
>Organization:
Luke Mewburn <lukem@wasabisystems.com> http://www.wasabisystems.com
Luke Mewburn <lukem@netbsd.org> http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system
>Environment:
System: NetBSD argo.mewburn.net 1.5ZA NetBSD 1.5ZA (ARGO) #0: Tue Jan 22 11:21:31 EST 2002 lukem@hippolyte:/var/scratch/obj.i386/sys/ARGO i386
Architecture: i386
Machine: i386
>Description:
whilst testing the i386 INSTALL kernel, i experienced panics
upon boot. here's the tail end of the dmesg (10 finger copied):
md0: internal 2048 KB image area
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Microsoft Microsoft IntelliMouse< Optical, rev
1.10/1.00, addr 2, icalss 3/1
uvm_fault(0xc05fcc60, 0x0, 0, 3) -> e
kernel: page fault trap, code=0
Stopped in pid 3 (usb0) at uhidev_attach+0x322:
movel %eax, 0x34(%edx)
db> t
uhidev_attach(c17f7a40,c1819e80,e3bc0e5c,c019e9b4,c1819e80,
e3bc0e5c,c17f7a54,c019e537) at uhidev_attach+0x322
config_attach(...) at config_attach+0x22c
config_found_sm(...) at config_found_sm+0x2f
usbd_probe_and_attach(...) at usbd_probe_and_attach+0x1d9
usbd_new_device(...) at usbd_new_device+0x231
uhub_explore(...) at uhub_explore_0x230
usb_discover(...) at usb_discover+0x24
usb_event_thread(...) at usb_event_thread+0x2d
if i enable
uhid* at uhidev? reportid ?
or i unplug the mouse before boot, the problem goes away.
>How-To-Repeat:
boot an INSTALL kernel on a machine with a USB mouse plugged in.
>Fix:
`ask lennart nicely' ? :)
>Release-Note:
>Audit-Trail:
>Unformatted: