Bug 30502

Summary: panics if logitech joystick usb attached to system
Product: Base System Reporter: darren <igla>
Component: kernAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description darren 2001-09-11 07:10:01 UTC
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 rx0, 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.
Comment 1 iedowse freebsd_committer freebsd_triage 2002-12-01 13:28:18 UTC
State Changed
From-To: open->feedback


Does this still happen with a more recent -STABLE?
Comment 2 darren 2002-12-01 19:19:35 UTC
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
Comment 3 iedowse freebsd_committer freebsd_triage 2002-12-01 20:35:42 UTC
State Changed
From-To: feedback->open


Submitter reports that the device still causes problems, although 
the panic is fixed.
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2003-07-18 01:29:39 UTC
Responsible Changed
From-To: freebsd-bugs->joe

Assign to USB maintainer
Comment 5 joe freebsd_committer freebsd_triage 2003-11-08 12:28:02 UTC
State Changed
From-To: open->feedback
Comment 6 darren 2003-11-13 04:15:29 UTC
no panic , but takes several minutes to finish boot at same place .
Comment 7 joe freebsd_committer freebsd_triage 2004-11-10 10:53:48 UTC
Responsible Changed
From-To: joe->freebsd-usb

Hand this over to the usb mailling list.
Comment 8 Julian Elischer 2005-01-04 05:37:07 UTC
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
Comment 9 Julian Elischer freebsd_committer freebsd_triage 2005-01-09 06:51:22 UTC
State Changed
From-To: feedback->closed

I believe this was fixed by an import from NetBSD 
In any case the submitter seems to have disappeared and cannot confirm.