Subject: kern/15390: uhidev without uhid causes kernel panic
To: None <>
From: None <>
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
>Originator:     Luke Mewburn
>Release:        NetBSD 1.5ZA
Luke Mewburn  <>
Luke Mewburn     <>
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system
System: NetBSD 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
	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
		    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.

	boot an INSTALL kernel on a machine with a USB mouse plugged in.

	`ask lennart nicely' ? :)