Skip to content

Instantly share code, notes, and snippets.

@dvdhrm
Created August 19, 2011 13:13
Show Gist options
  • Save dvdhrm/1156759 to your computer and use it in GitHub Desktop.
Save dvdhrm/1156759 to your computer and use it in GitHub Desktop.
Linux bluetooth HIDP oops
Aug 19 14:54:10 localhost kernel: [94455.373443] wiimote 0005:057E:0306.0010: hidraw0: BLUETOOTH HID v3a.1c Gamepad [Nintendo RVL-CNT-01] on 00:1B:B1:11:C0:37
Aug 19 14:54:10 localhost kernel: [94455.373843] input: Nintendo Wii Remote Accelerometer as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:12:19/0005:057E:0306.0010/input/input65
Aug 19 14:54:10 localhost kernel: [94455.376992] input: Nintendo Wii Remote IR as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:12:19/0005:057E:0306.0010/input/input66
Aug 19 14:54:10 localhost kernel: [94455.378760] input: Nintendo Wii Remote as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:12:19/0005:057E:0306.0010/input/input67
Aug 19 14:54:10 localhost kernel: [94455.385908] Registered led device: 0005:057E:0306.0010:blue:p0
Aug 19 14:54:10 localhost kernel: [94455.386929] wiimote 0005:057E:0306.0010: Remote error 1 on req 50
Aug 19 14:54:10 localhost kernel: [94455.388000] Registered led device: 0005:057E:0306.0010:blue:p1
Aug 19 14:54:10 localhost kernel: [94455.389461] Registered led device: 0005:057E:0306.0010:blue:p2
Aug 19 14:54:10 localhost kernel: [94455.395485] Registered led device: 0005:057E:0306.0010:blue:p3
Aug 19 14:54:10 localhost kernel: [94455.396905] wiimote 0005:057E:0306.0010: Remote error 1 on req 63
Aug 19 14:54:10 localhost kernel: [94455.399121] input: Nintendo Wii Remote Extension as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:12:19/0005:057E:0306.0010/input/input68
Aug 19 14:54:10 localhost kernel: [94455.405254] input: Nintendo Wii Remote Motion+ as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0/hci0:12:19/0005:057E:0306.0010/input/input69
Aug 19 14:54:10 localhost kernel: [94455.406760] wiimote 0005:057E:0306.0010: New device registered
Aug 19 15:06:24 localhost kernel: [95188.583323] wiimote 0005:057E:0306.0010: Device removed
Aug 19 15:06:54 localhost kernel: [95218.586069] BUG: unable to handle kernel NULL pointer dereference at 00000000000003a0
Aug 19 15:06:54 localhost kernel: [95218.586280] IP: [<ffffffff81409f2f>] test_and_set_bit+0x7/0x7
Aug 19 15:06:54 localhost kernel: [95218.586434] PGD 0
Aug 19 15:06:54 localhost kernel: [95218.586498] Oops: 0002 [#1] PREEMPT SMP
Aug 19 15:06:54 localhost kernel: [95218.586618] CPU 0
Aug 19 15:06:54 localhost kernel: [95218.586670] Modules linked in: hid_wiimote snd_hda_codec_realtek snd_hda_intel brcmsmac(C) snd_hda_codec samsung_laptop uvcvideo snd_hwdep brcmutil(C)
Aug 19 15:06:54 localhost kernel: [95218.587022]
Aug 19 15:06:54 localhost kernel: [95218.587022] Pid: 2239, comm: bluetoothd Tainted: G C 3.0.2+ #14 SAMSUNG ELECTRONICS CO., LTD. N150P/N210P/N220P /N150P/N210P/N220P
Aug 19 15:06:54 localhost kernel: [95218.587022] RIP: 0010:[<ffffffff81409f2f>] [<ffffffff81409f2f>] test_and_set_bit+0x7/0x7
Aug 19 15:06:54 localhost kernel: [95218.587549] RSP: 0018:ffff88003c917c80 EFLAGS: 00010206
Aug 19 15:06:54 localhost kernel: [95218.587706] RAX: ffffffff81680c30 RBX: ffff8800298ac800 RCX: 0000000000000006
Aug 19 15:06:54 localhost kernel: [95218.587706] RDX: 0000000000000006 RSI: 0000000000000006 RDI: 00000000000003a0
Aug 19 15:06:54 localhost kernel: [95218.587706] RBP: ffff8800298ac8b8 R08: 0000000000000000 R09: 000000000002fffd
Aug 19 15:06:54 localhost kernel: [95218.587706] R10: 0000000000000000 R11: 0000000000000246 R12: ffff8800298ac8d0
Aug 19 15:06:54 localhost kernel: [95218.587706] R13: ffff8800298ac880 R14: 0000000000000000 R15: ffff8800298ac948
Aug 19 15:06:54 localhost kernel: [95218.587706] FS: 00007fba96fef700(0000) GS:ffff88003f200000(0000) knlGS:0000000000000000
Aug 19 15:06:54 localhost kernel: [95218.587706] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 19 15:06:54 localhost kernel: [95218.587706] CR2: 00000000000003a0 CR3: 000000003cffe000 CR4: 00000000000006f0
Aug 19 15:06:54 localhost kernel: [95218.587706] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 19 15:06:54 localhost kernel: [95218.587706] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 19 15:06:54 localhost kernel: [95218.587706] Process bluetoothd (pid: 2239, threadinfo ffff88003c916000, task ffff88003b8b6090)
Aug 19 15:06:54 localhost kernel: [95218.587706] Stack:
Aug 19 15:06:54 localhost kernel: [95218.587706] ffffffff81420629 ffff88003c872540 ffff88003c917d08 ffff880000f20578
Aug 19 15:06:54 localhost kernel: [95218.587706] ffffffff8107ceca 0000000000000000 ffff88001a46bb40 00007fba97009000
Aug 19 15:06:54 localhost kernel: [95218.587706] ffff880000f20570 ffff88003cec0180 ffff880036c78a00 00007fba98e67300
Aug 19 15:06:54 localhost kernel: [95218.587706] Call Trace:
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81420629>] ? hidp_add_connection+0x4ae/0x6ef
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff8107ceca>] ? find_get_page+0x5c/0x67
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81420b43>] ? hidp_sock_ioctl+0x102/0x262
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff8109f401>] ? free_pages_and_swap_cache+0x4b/0x60
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81091777>] ? tlb_flush_mmu+0x37/0x50
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff8109179b>] ? tlb_finish_mmu+0xb/0x2f
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff810aa203>] ? __kmalloc+0x2e/0xae
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff8134a830>] ? sk_prot_alloc.isra.37+0x7e/0x108
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81345508>] ? sock_do_ioctl+0x1b/0x36
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff813458e7>] ? sock_ioctl+0x1fa/0x206
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff810bbfe2>] ? do_vfs_ioctl+0x407/0x449
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff810ade1c>] ? fd_install+0x2d/0x57
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81471491>] ? _raw_spin_unlock+0x1b/0x27
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff810bc061>] ? sys_ioctl+0x3d/0x60
Aug 19 15:06:54 localhost kernel: [95218.587706] [<ffffffff81471e3b>] ? system_call_fastpath+0x16/0x1b
Aug 19 15:06:54 localhost kernel: [95218.587706] Code: 18 c3 48 8b 97 50 04 00 00 31 c0 48 85 d2 74 12 48 8b 92 d0 00 00 00 66 39 32 48 8d 4a 03 48 0f 44 c1 c3 90 f0 0f ab 3e 19 c0 c3 <f0> ff 07 c3 f0 ff 0f 0f 94 c0 84 c0 0f 95 c0 0f b6 c0 c3 80 7f
Aug 19 15:06:54 localhost kernel: [95218.587706] RIP [<ffffffff81409f2f>] test_and_set_bit+0x7/0x7
Aug 19 15:06:54 localhost kernel: [95218.587706] RSP <ffff88003c917c80>
Aug 19 15:06:54 localhost kernel: [95218.587706] CR2: 00000000000003a0
Aug 19 15:06:54 localhost kernel: [95218.651927] ---[ end trace 37000f4b573ffa33 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment