#10174 NORM Not Tri: usbhid error unplugging a device

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 16 04:39:52 EDT 2010


#10174: usbhid error unplugging a device
--------------------------+-------------------------------------------------
 Reporter:  dmoco         |                 Owner:               
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 Application crashes when USB device removed (Lego WeDo). Easily
 reproducible on XO-1 but also on XO-1.5 with latest OS though not as
 frequently...


 {{{
 [  770.111632] usb 1-3: USB disconnect, address 3
 [  770.127433] BUG: unable to handle kernel NULL pointer dereference at
 000000a4
 [  770.131101] IP: [<d095431e>] :usbhid:hiddev_ioctl+0x25/0x8ef
 [  770.138561] *pde = 00000000
 [  770.141495] Oops: 0000 [#1] PREEMPT
 [  770.145141] Modules linked in: usbhid sit tunnel4 usb8xxx libertas
 ieee80211 ieee80211_crypt pcspkr mousedev ehci_hcd ohci_hcd cs5535_gpio
 sdhci mmc_core usbcore
 [  770.147433]
 [  770.147433] Pid: 2014, comm: squeak Not tainted
 (2.6.25-20090223.1.olpc.69098d87d56945c #1)
 [  770.147433] EIP: 0060:[<d095431e>] EFLAGS: 00210286 CPU: 0
 [  770.147433] EIP is at hiddev_ioctl+0x25/0x8ef [usbhid]
 [  770.147433] EAX: 00000000 EBX: cda01000 ECX: c018480d EDX: c502b2e0
 [  770.147433] ESI: c5220000 EDI: c018480d EBP: bfa4bf98 ESP: c50fcea0
 [  770.147433]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
 [  770.147433] Process squeak (pid: 2014, ti=c50fc000 task=c50e41b0
 task.ti=c50fc000)
 [  770.147433] Stack: cd5aa240 c04695a8 00000000 c50fcf04 c045f5c8
 cd5aa240 cdc60138 ce027824
 [  770.147433]        ce027820 00000001 c045f832 00200246 00000060
 bfa4be94 c04dc5ee 00000060
 [  770.147433]        bfa4be94 c50fcf50 c0459cc3 c50fcef0 0000000f
 00000000 00000000 0000240b
 [  770.147433] Call Trace:
 [  770.147433]  [<c04695a8>] mntput_no_expire+0x11/0x69
 [  770.147433]  [<c045f5c8>] path_walk+0x8b/0x93
 [  770.147433]  [<c045f832>] do_path_lookup+0x129/0x144
 [  770.147433]  [<c04dc5ee>] copy_to_user+0x2f/0x45
 [  770.147433]  [<c0459cc3>] cp_new_stat64+0xfc/0x10e
 [  770.147433]  [<c04612d8>] vfs_ioctl+0x48/0x5e
 [  770.147433]  [<c046153c>] do_vfs_ioctl+0x24e/0x261
 [  770.147433]  [<c0461590>] sys_ioctl+0x41/0x59
 [  770.147433]  [<c0403782>] sysenter_past_esp+0x5f/0x85
 [  770.147433]  =======================
 [  770.147433] Code: c0 5b 5e 5f 5d c3 55 57 89 cf 56 53 81 ec ac 00 00 00
 8b 5a 78 8b ac 24 c0 00 00 00 8b 93 10 06 00 00 8b 72 20 8b 86 4c 0c 00 00
 <8b> 80 a4 00 00 00 89 44 24 24 8b 86 88 0d 00 00 c7 44 24 08 fb
 [  770.147433] EIP: [<d095431e>] hiddev_ioctl+0x25/0x8ef [usbhid] SS:ESP
 0068:c50fcea0
 [  770.147624] ---[ end trace 5ae1d9f3e0518d20 ]---

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10174>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list