#10174 NORM Opportu: usbhid error unplugging a device

Zarro Boogs per Child bugtracker at laptop.org
Thu Jun 17 08:53:48 EDT 2010


#10174: usbhid error unplugging a device
--------------------------------+-------------------------------------------
           Reporter:  dmoco     |       Owner:  cjb          
               Type:  defect    |      Status:  assigned     
           Priority:  normal    |   Milestone:  Opportunity  
          Component:  kernel    |     Version:  not specified
         Resolution:            |    Keywords:               
        Next_action:  diagnose  |    Verified:  0            
Deployment_affected:            |   Blockedby:               
           Blocking:            |  
--------------------------------+-------------------------------------------

Comment(by dmoco):

 Further testing proves usbhid is much more resilient to re-plugging but I
 do still get an occasional crash:

 {{{
 [  833.785344] drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed
 [  833.787804] BUG: unable to handle kernel NULL pointer dereference at
 00000c74
 [  833.796661] IP: [<d095281d>] :usbhid:usbhid_wait_io+0x16/0xae
 [  833.802477] *pde = 00000000
 [  833.805638] Oops: 0000 [#2] PREEMPT
 [  833.809281] Modules linked in: usbhid usb8xxx libertas ieee80211
 ieee80211_crypt pcspkr mousedev ehci_hcd ohci_hcd cs5535_gpio sdhci
 mmc_core usbcore
 [  833.815344]
 [  833.815344] Pid: 1605, comm: squeak Tainted: G      D
 (2.6.25-20090223.1.olpc.69098d87d56945c #1)
 [  833.815344] EIP: 0060:[<d095281d>] EFLAGS: 00210206 CPU: 0
 [  833.815344] EIP is at usbhid_wait_io+0x16/0xae [usbhid]
 [  833.815344] EAX: c517c000 EBX: c5102f40 ECX: c5102000 EDX: 00000000
 [  833.815344] ESI: c517c000 EDI: 400c4808 EBP: 00000c74 ESP: c5102e80
 [  833.815344]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
 [  833.815344] Process squeak (pid: 1605, ti=c5102000 task=ce0bb670
 task.ti=c5102000)
 [  833.815344] Stack: c517c000 ce0bb670 ccc9007b 00000000 ce0bb670
 400c4808 c5102f40 c517c000
 [  833.815344]        400c4808 bfb04898 d0954626 c5102f04 c045f5c8
 ccc3b8c0 cdcb29a8 ce0271a4
 [  833.815344]        c5005000 00000001 c045f832 00200246 00000060
 bfb04784 c04dc5ee 00000060
 [  833.815344] Call Trace:
 [  833.815344]  [<d0954626>] hiddev_ioctl+0x32d/0x8a7 [usbhid]
 [  833.815344]  [<c045f5c8>] path_walk+0x8b/0x93
 [  833.815344]  [<c045f832>] do_path_lookup+0x129/0x144
 [  833.815344]  [<c04dc5ee>] copy_to_user+0x2f/0x45
 [  833.815344]  [<c0459cc3>] cp_new_stat64+0xfc/0x10e
 [  833.815344]  [<c04612d8>] vfs_ioctl+0x48/0x5e
 [  833.815344]  [<c046153c>] do_vfs_ioctl+0x24e/0x261
 [  833.815344]  [<c0461590>] sys_ioctl+0x41/0x59
 [  833.815344]  [<c0403782>] sysenter_past_esp+0x5f/0x85
 [  833.815344]  =======================
 [  833.815344] Code: 00 e8 f6 f8 ff ff 85 c0 74 07 89 d8 e8 17 ff ff ff 5b
 31 c0 c3 55 57 56 53 83 ec 18 89 04 24 8b a8 88 0d 00 00 81 c5 74 0c 00 00
 <8b> 45 00 a8 02 75 04 a8 04 74 75 fc 31 c0 bb e8 03 00 00 8d 7c
 [  833.815344] EIP: [<d095281d>] usbhid_wait_io+0x16/0xae [usbhid] SS:ESP
 0068:c5102e80
 [  833.815488] ---[ end trace e4ee8949e08b96f0 ]---

 }}}

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


More information about the Bugs mailing list