From nobody@FreeBSD.org  Mon Sep 10 23:09:30 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9B42737B406
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Sep 2001 23:09:30 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8B69Uq50167;
	Mon, 10 Sep 2001 23:09:30 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109110609.f8B69Uq50167@freefall.freebsd.org>
Date: Mon, 10 Sep 2001 23:09:30 -0700 (PDT)
From: darren <igla@batterybackups.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panics if logitech joystick usb attached to system
X-Send-Pr-Version: www-1.0

>Number:         30502
>Category:       kern
>Synopsis:       panics if logitech joystick usb attached to system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 10 23:10:01 PDT 2001
>Closed-Date:    Sun Jan 09 06:52:31 GMT 2005
>Last-Modified:  Sun Jan 09 06:52:31 GMT 2005
>Originator:     darren
>Release:        4.4-RC
>Organization:
none
>Environment:
FreeBSD ArkRoyal.batterybackups.net 4.4-RC FreeBSD 4.4-RC #0: Mon Sep 10 21:35:30 PDT 2001     darren@ArkRoyal.batterybackups.net:/usr/obj/usr/src/sys/ARKROYAL  i386
>Description:
if logitech joystick usb is attached to system, next program that runs will panic.

device "Logitech Wingman Digital 3D" product 0xc207 vendor 0x046d release 0x0104
I have tried to follow kernel debugging section of handbook, and managed to get this output :

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc023fd14
stack pointer           = 0x10:0xcc319d18
frame pointer           = 0x10:0xcc319d20
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 410 (usbdevs)
interrupt mask          = none
trap number             = 12
panic: page fault

syncing disks... 14 1 1
done
Uptime: 4m19s

#0  0xc015155a in dumpsys ()
#1  0xc015137b in boot ()
#2  0xc0151748 in poweroff_wait ()
#3  0xc026a822 in trap_fatal ()
#4  0xc026a4f5 in trap_pfault ()
#5  0xc026a0df in trap ()
#6  0xc023fd14 in strncpy ()
#7  0xc0214650 in usbd_fill_deviceinfo ()
#8  0xc021185b in usbioctl ()
#9  0xc0189206 in spec_ioctl ()
#10 0xc0188f31 in spec_vnoperate ()
#11 0xc01fca4d in ufs_vnoperatespec ()
#12 0xc0185833 in vn_ioctl ()
#13 0xc016017e in ioctl ()
#14 0xc026aacd in syscall2 ()
#15 0xc025ee55 in Xint0x80_syscall ()
#16 0x804893e in ?? ()
#17 0x8048981 in ?? ()
#18 0x80489f5 in ?? ()
#19 0x8048aca in ?? ()
#20 0x8048675 in ?? ()

uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 9 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered

problem seems very much like http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27370 but patch there did not work for me (deleted the 2 lines and remade kernel)
i can try to provide additional information if requested
>How-To-Repeat:
have usb logitech joystick plugged into system.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 1 05:28:18 PST 2002 
State-Changed-Why:  

Does this still happen with a more recent -STABLE? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 

From: igla@batterybackups.net
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/30502: panics if logitech joystick usb attached to system
Date: Sun, 1 Dec 2002 11:19:35 -0800

 it does not panic anymore (at least not so far on this boot), but it still takes
 a few minutes to get past
 
 uhid0: Logitech product 0xc207, rev 1.00/1.04, addr 3, iclass 3/0
 uhid0: no report descriptor
 device_probe_and_attach: uhid0 attach returned 6
 ugen0: Logitech product 0xc207, rev 1.00/1.04, addr 3
 ugen0: setting configuration index 0 failed
 device_probe_and_attach: ugen0 attach returned 6
State-Changed-From-To: feedback->open 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 1 12:35:42 PST 2002 
State-Changed-Why:  

Submitter reports that the device still causes problems, although 
the panic is fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:29:39 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 
State-Changed-From-To: open->feedback 
State-Changed-By: joe 
State-Changed-When: Sat Nov 8 04:28:02 PST 2003 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 

From: igla@batterybackups.net
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/30502: panics if logitech joystick usb attached to system
Date: Wed, 12 Nov 2003 20:15:29 -0800

 no panic , but takes several minutes to finish boot at same place .
Responsible-Changed-From-To: joe->freebsd-usb 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Nov 10 10:53:48 GMT 2004 
Responsible-Changed-Why:  
Hand this over to the usb mailling list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 

From: Julian Elischer <julian@elischer.org>
To: freebsd-gnats-submit@FreeBSD.org, igla@batterybackups.net
Cc:  
Subject: Re: kern/30502: panics if logitech joystick usb attached to system
Date: Mon, 03 Jan 2005 21:37:07 -0800

 Believe it or not, we're still tracking this.. has anyting changed
 with regard to this bug with any of the new USB changes?
 
 julian
State-Changed-From-To: feedback->closed 
State-Changed-By: julian 
State-Changed-When: Sun Jan 9 06:51:22 GMT 2005 
State-Changed-Why:  
I believe this was fixed by an import from NetBSD 
In any case the submitter seems to have disappeared and cannot confirm. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30502 
>Unformatted:
