FS#45978 - [linux] apple magic mouse freezes the system when reconnects to bluetooth
Attached to Project:
Arch Linux
Opened by Jorge (jorgemf) - Thursday, 13 August 2015, 13:52 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 29 September 2015, 01:19 GMT
Opened by Jorge (jorgemf) - Thursday, 13 August 2015, 13:52 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 29 September 2015, 01:19 GMT
|
Details
Description:
I am using the magic mouse of apple which was working ok for months until the last one. Sometimes the system freezes completely, I have notice it happens when the mouse reconnects to the bluetooth. I am using the kernel version 4.1.4-1-ARCH although it started happening in previous versions. I am also using bluez 5.33-1 to manage bluetooth connections. This is the log I have got from journalctl: 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) config/udev: removing device Apple Magic Mouse 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) evdev: Apple Magic Mouse: Close 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) UnloadModule: "evdev" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) systemd-logind: releasing fd for 13:74 15:08:12 kernel: magicmouse 0005:05AC:030D.0004: unknown main item tag 0x0 15:08:12 kernel: input: Apple Magic Mouse as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.0/bluetooth/hci0/hci0:38/0005:0 15:08:12 kernel: magicmouse 0005:05AC:030D.0004: input,hidraw0: BLUETOOTH HID v3.06 Mouse [Apple Magic Mouse] on c4:85:08:4b:6f:b7 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) config/udev: Adding input device Apple Magic Mouse (/dev/input/mouse0) 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: Applying InputClass "Mouse" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) No input driver specified, ignoring this device. 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) This device may have been added with another device file. 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) config/udev: Adding input device Apple Magic Mouse (/dev/input/event10) 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: Applying InputClass "evdev pointer catchall" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: Applying InputClass "Mouse" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 36 paused 0 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) Using input driver 'evdev' for 'Apple Magic Mouse' 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: always reports core events 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) evdev: Apple Magic Mouse: Device: "/dev/input/event10" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Vendor 0x5ac Product 0x30d 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found 3 mouse buttons 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found scroll wheel(s) 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found relative axes 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found x and y relative axes 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found absolute axes 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (--) evdev: Apple Magic Mouse: Found absolute multitouch axes 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) evdev: Apple Magic Mouse: Configuring as mouse 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) evdev: Apple Magic Mouse: Adding scrollwheel support 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) evdev: Apple Magic Mouse: YAxisMapping: buttons 4 and 5 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) evdev: Apple Magic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWhee 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6: 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) XINPUT: Adding extended input device "Apple Magic Mouse" (type: MOUSE, id 10) 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (II) evdev: Apple Magic Mouse: initialized for relative axes. 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (WW) evdev: Apple Magic Mouse: ignoring absolute axes. 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: (accel) keeping acceleration scheme 1 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Option "ConstantDeceleration" "1.9" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: (accel) constant deceleration by 1.9 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: (accel) acceleration profile 0 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Option "VelocityScale" "1" 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: (accel) acceleration factor: 2.000 15:08:12 /usr/lib/gdm/gdm-x-session[793]: (**) Apple Magic Mouse: (accel) acceleration threshold: 4 15:08:26 kernel: general protection fault: 0000 [#1] PREEMPT SMP 15:08:26 kernel: Modules linked in: hid_magicmouse hidp rfcomm cmac ecb fuse bnep bbswitch(O) joydev mousedev nls_iso8859_1 nls_cp43 15:08:26 kernel: snd_hwdep snd_pcm snd_timer snd mei_me mei soundcore lpc_ich shpchp thermal fan int3403_thermal tpm_tis tpm batter 15:08:26 kernel: CPU: 1 PID: 4314 Comm: java Tainted: G U W O 4.1.4-1-ARCH #1 15:08:26 kernel: Hardware name: ASUSTeK COMPUTER INC. UX32VDA/UX32VDA, BIOS UX32VDA.202 09/10/2012 15:08:26 kernel: task: ffff88022e8465e0 ti: ffff88021c6cc000 task.ti: ffff88021c6cc000 15:08:26 kernel: RIP: 0010:[<ffffffff811c5c0e>] [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:26 kernel: RSP: 0018:ffff88021c6cfa38 EFLAGS: 00010246 15:08:26 kernel: RAX: 0000000000000000 RBX: ffff88006b2e9400 RCX: 00000000010d1a01 15:08:26 kernel: RDX: 00000000010d1981 RSI: 00000000010d1981 RDI: 00000000000196c0 15:08:26 kernel: RBP: ffff88021c6cfa98 R08: 01e000dc0005068b R09: ffffffff8147383b 15:08:26 kernel: R10: ffff8802a4c01500 R11: 0000000000000293 R12: 00000000000106d0 15:08:26 kernel: R13: 0000000000000240 R14: 00000000ffffffff R15: ffff8802a4c01500 15:08:26 kernel: FS: 00007f1351d9f700(0000) GS:ffff8802aee80000(0000) knlGS:0000000000000000 15:08:26 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 15:08:26 kernel: CR2: 0000000006dd4108 CR3: 00000002151ba000 CR4: 00000000001407e0 15:08:26 kernel: Stack: 15:08:26 kernel: ffff88021c6cfa78 ffffffff811f507e 0000000000000000 0000000000000000 15:08:26 kernel: ffff8802a4c01600 ffffffff81473867 ffff88021c6cfc58 ffff88006b2e9400 15:08:26 kernel: ffff88021c6cfb0f 00000000000004d0 0000000000000240 00000000ffffffff 15:08:26 kernel: Call Trace: 15:08:26 kernel: [<ffffffff811f507e>] ? __pollwait+0x7e/0xf0 15:08:26 kernel: [<ffffffff81473867>] ? __alloc_skb+0x87/0x210 15:08:26 kernel: [<ffffffff81473781>] __kmalloc_reserve.isra.5+0x31/0x90 15:08:26 kernel: [<ffffffff8147383b>] ? __alloc_skb+0x5b/0x210 15:08:26 kernel: [<ffffffff81473867>] __alloc_skb+0x87/0x210 15:08:26 kernel: [<ffffffff81473a47>] alloc_skb_with_frags+0x57/0x1d0 15:08:26 kernel: [<ffffffff812ddf68>] ? copy_page_from_iter+0x1f8/0x360 15:08:26 kernel: [<ffffffff8146c52e>] sock_alloc_send_pskb+0x1fe/0x280 15:08:26 kernel: [<ffffffff8147934b>] ? skb_copy_datagram_from_iter+0x5b/0x200 15:08:26 kernel: [<ffffffff8152d4d6>] unix_stream_sendmsg+0x286/0x410 15:08:26 kernel: [<ffffffff81469257>] sock_sendmsg+0x17/0x30 15:08:26 kernel: [<ffffffff814692f5>] sock_write_iter+0x85/0xf0 15:08:26 kernel: [<ffffffff811e0a78>] do_iter_readv_writev+0x68/0xa0 15:08:26 kernel: [<ffffffff811e1286>] do_readv_writev+0x1a6/0x260 15:08:26 kernel: [<ffffffff811fedd2>] ? __fget+0x72/0xb0 15:08:26 kernel: [<ffffffff811e13c9>] vfs_writev+0x39/0x50 15:08:26 kernel: [<ffffffff811e21b9>] SyS_writev+0x59/0x100 15:08:26 kernel: [<ffffffff811f6c5f>] ? SyS_poll+0xef/0x130 15:08:26 kernel: [<ffffffff8158beae>] system_call_fastpath+0x12/0x71 15:08:26 kernel: Code: b1 5c e4 7e 74 07 e9 17 ff ff ff 66 90 e8 0c 1f 11 00 e9 0b ff ff ff 66 0f 1f 44 00 00 49 63 42 20 49 8b 3a 4 15:08:26 kernel: RIP [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:26 kernel: RSP <ffff88021c6cfa38> 15:08:26 kernel: ---[ end trace 4f8140fd2c6e572c ]--- 15:08:26 kernel: general protection fault: 0000 [#2] PREEMPT SMP 15:08:26 kernel: Modules linked in: hid_magicmouse hidp rfcomm cmac ecb fuse bnep bbswitch(O) joydev mousedev nls_iso8859_1 nls_cp43 15:08:26 kernel: snd_hwdep snd_pcm snd_timer snd mei_me mei soundcore lpc_ich shpchp thermal fan int3403_thermal tpm_tis tpm batter 15:08:26 kernel: CPU: 1 PID: 823 Comm: at-spi2-registr Tainted: G UD W O 4.1.4-1-ARCH #1 15:08:26 kernel: Hardware name: ASUSTeK COMPUTER INC. UX32VDA/UX32VDA, BIOS UX32VDA.202 09/10/2012 15:08:26 kernel: task: ffff88029331a8c0 ti: ffff88028b1f0000 task.ti: ffff88028b1f0000 15:08:26 kernel: RIP: 0010:[<ffffffff811c5c0e>] [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:26 kernel: RSP: 0018:ffff88028b1f3a38 EFLAGS: 00010246 15:08:26 kernel: RAX: 0000000000000000 RBX: ffff8801fbd16600 RCX: 00000000010d1a01 15:08:26 kernel: RDX: 00000000010d1981 RSI: 00000000010d1981 RDI: 00000000000196c0 15:08:26 kernel: RBP: ffff88028b1f3a98 R08: 01e000dc0005068b R09: ffffffff8147383b 15:08:26 kernel: R10: ffff8802a4c01500 R11: 0000000000000293 R12: 00000000000106d0 15:08:26 kernel: R13: 0000000000000240 R14: 00000000ffffffff R15: ffff8802a4c01500 15:08:26 kernel: FS: 00007f35141cd700(0000) GS:ffff8802aee80000(0000) knlGS:0000000000000000 15:08:26 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 15:08:26 kernel: CR2: 00007fc3fb910010 CR3: 000000028b15b000 CR4: 00000000001407e0 15:08:26 kernel: Stack: 15:08:26 kernel: ffff88028b1f3a78 ffff88028b1f4000 0000000000000000 0000000000000000 15:08:26 kernel: ffff88028b1f3b6c ffffffff81473867 ffff88028b1f3a88 ffff8801fbd16600 15:08:26 kernel: ffff88028b1f3b0f 00000000000004d0 0000000000000240 00000000ffffffff 15:08:26 kernel: Call Trace: 15:08:26 kernel: [<ffffffff81473867>] ? __alloc_skb+0x87/0x210 15:08:26 kernel: [<ffffffff81473781>] __kmalloc_reserve.isra.5+0x31/0x90 15:08:26 kernel: [<ffffffff8147383b>] ? __alloc_skb+0x5b/0x210 15:08:26 kernel: [<ffffffff81473867>] __alloc_skb+0x87/0x210 15:08:26 kernel: [<ffffffff81473a47>] alloc_skb_with_frags+0x57/0x1d0 15:08:26 kernel: [<ffffffff811c3aa6>] ? kfree+0x176/0x180 15:08:26 kernel: [<ffffffff8146c52e>] sock_alloc_send_pskb+0x1fe/0x280 15:08:26 kernel: [<ffffffff814710cf>] ? kfree_skbmem+0x5f/0x70 15:08:26 kernel: [<ffffffff8152d4d6>] unix_stream_sendmsg+0x286/0x410 15:08:26 kernel: [<ffffffff81469257>] sock_sendmsg+0x17/0x30 15:08:26 kernel: [<ffffffff81469e93>] ___sys_sendmsg+0x2c3/0x2d0 15:08:26 kernel: [<ffffffff811e1237>] ? do_readv_writev+0x157/0x260 15:08:26 kernel: [<ffffffff811fedd2>] ? __fget+0x72/0xb0 15:08:26 kernel: [<ffffffff8146b087>] __sys_sendmsg+0x57/0xa0 15:08:26 kernel: [<ffffffff8146b0e2>] SyS_sendmsg+0x12/0x20 15:08:26 kernel: [<ffffffff8158beae>] system_call_fastpath+0x12/0x71 15:08:26 kernel: Code: b1 5c e4 7e 74 07 e9 17 ff ff ff 66 90 e8 0c 1f 11 00 e9 0b ff ff ff 66 0f 1f 44 00 00 49 63 42 20 49 8b 3a 4 15:08:26 kernel: RIP [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:26 kernel: RSP <ffff88028b1f3a38> 15:08:26 kernel: ---[ end trace 4f8140fd2c6e572d ]--- 15:08:27 kernel: general protection fault: 0000 [#3] PREEMPT SMP 15:08:27 kernel: Modules linked in: hid_magicmouse hidp rfcomm cmac ecb fuse bnep bbswitch(O) joydev mousedev nls_iso8859_1 nls_cp43 15:08:27 kernel: snd_hwdep snd_pcm snd_timer snd mei_me mei soundcore lpc_ich shpchp thermal fan int3403_thermal tpm_tis tpm batter 15:08:27 kernel: CPU: 1 PID: 859 Comm: gdbus Tainted: G UD W O 4.1.4-1-ARCH #1 15:08:27 kernel: Hardware name: ASUSTeK COMPUTER INC. UX32VDA/UX32VDA, BIOS UX32VDA.202 09/10/2012 15:08:27 kernel: task: ffff8802a21adbb0 ti: ffff8800a728c000 task.ti: ffff8800a728c000 15:08:27 kernel: RIP: 0010:[<ffffffff811c5c0e>] [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:27 kernel: RSP: 0018:ffff8800a728fa38 EFLAGS: 00010246 15:08:27 kernel: RAX: 0000000000000000 RBX: ffff880077d94b00 RCX: 00000000010d1a01 15:08:27 kernel: RDX: 00000000010d1981 RSI: 00000000010d1981 RDI: 00000000000196c0 15:08:27 kernel: RBP: ffff8800a728fa98 R08: 01e000dc0005068b R09: ffffffff8147383b 15:08:27 kernel: R10: ffff8802a4c01500 R11: 0000000000000293 R12: 00000000000106d0 15:08:27 kernel: R13: 00000000000002c0 R14: 00000000ffffffff R15: ffff8802a4c01500 15:08:27 kernel: FS: 00007f290b7fe700(0000) GS:ffff8802aee80000(0000) knlGS:0000000000000000 15:08:27 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 15:08:27 kernel: CR2: 00007f07787ed000 CR3: 000000028b153000 CR4: 00000000001407e0 15:08:27 kernel: Stack: 15:08:27 kernel: ffff8800a728fa78 ffff8800a7290000 0000000000000000 0000000000000000 15:08:27 kernel: ffff8800a728fb8c ffffffff81473867 ffff8800a728fa88 ffff880077d94b00 15:08:27 kernel: ffff8800a728fb0f 00000000000004d0 00000000000002c0 00000000ffffffff 15:08:27 kernel: Call Trace: 15:08:27 kernel: [<ffffffff81473867>] ? __alloc_skb+0x87/0x210 15:08:27 kernel: [<ffffffff81473781>] __kmalloc_reserve.isra.5+0x31/0x90 15:08:27 kernel: [<ffffffff8147383b>] ? __alloc_skb+0x5b/0x210 15:08:27 kernel: [<ffffffff81473867>] __alloc_skb+0x87/0x210 15:08:27 kernel: [<ffffffff81473a47>] alloc_skb_with_frags+0x57/0x1d0 15:08:27 kernel: [<ffffffff8146c52e>] sock_alloc_send_pskb+0x1fe/0x280 15:08:27 kernel: [<ffffffff8101fef9>] ? sched_clock+0x9/0x10 15:08:27 kernel: Hardware name: ASUSTeK COMPUTER INC. UX32VDA/UX32VDA, BIOS UX32VDA.202 09/10/2012 15:08:27 kernel: task: ffff8802a21adbb0 ti: ffff8800a728c000 task.ti: ffff8800a728c000 15:08:27 kernel: RIP: 0010:[<ffffffff811c5c0e>] [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 15:08:27 kernel: RSP: 0018:ffff8800a728fa38 EFLAGS: 00010246 15:08:27 kernel: RAX: 0000000000000000 RBX: ffff880077d94b00 RCX: 00000000010d1a01 15:08:27 kernel: RDX: 00000000010d1981 RSI: 00000000010d1981 RDI: 00000000000196c0 15:08:27 kernel: RBP: ffff8800a728fa98 R08: 01e000dc0005068b R09: ffffffff8147383b 15:08:27 kernel: R10: ffff8802a4c01500 R11: 0000000000000293 R12: 00000000000106d0 15:08:27 kernel: R13: 00000000000002c0 R14: 00000000ffffffff R15: ffff8802a4c01500 15:08:27 kernel: FS: 00007f290b7fe700(0000) GS:ffff8802aee80000(0000) knlGS:0000000000000000 15:08:27 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 15:08:27 kernel: CR2: 00007f07787ed000 CR3: 000000028b153000 CR4: 00000000001407e0 15:08:27 kernel: Stack: 15:08:27 kernel: ffff8800a728fa78 ffff8800a7290000 0000000000000000 0000000000000000 15:08:27 kernel: ffff8800a728fb8c ffffffff81473867 ffff8800a728fa88 ffff880077d94b00 15:08:27 kernel: ffff8800a728fb0f 00000000000004d0 00000000000002c0 00000000ffffffff 15:08:27 kernel: Call Trace: 15:08:27 kernel: [<ffffffff81473867>] ? __alloc_skb+0x87/0x210 15:08:27 kernel: [<ffffffff81473781>] __kmalloc_reserve.isra.5+0x31/0x90 15:08:27 kernel: [<ffffffff8147383b>] ? __alloc_skb+0x5b/0x210 15:08:27 kernel: [<ffffffff81473867>] __alloc_skb+0x87/0x210 15:08:27 kernel: [<ffffffff81473a47>] alloc_skb_with_frags+0x57/0x1d0 15:08:27 kernel: [<ffffffff8146c52e>] sock_alloc_send_pskb+0x1fe/0x280 15:08:27 kernel: [<ffffffff8101fef9>] ? sched_clock+0x9/0x10 15:08:27 kernel: [<ffffffff810a95b5>] ? sched_clock_cpu+0xb5/0xe0 15:08:27 kernel: [<ffffffff8152d4d6>] unix_stream_sendmsg+0x286/0x410 15:08:27 kernel: [<ffffffff81469257>] sock_sendmsg+0x17/0x30 15:08:27 kernel: [<ffffffff81469e93>] ___sys_sendmsg+0x2c3/0x2d0 15:08:27 kernel: [<ffffffff811f5370>] ? poll_select_copy_remaining+0x150/0x150 15:08:27 kernel: [<ffffffff811f5370>] ? poll_select_copy_remaining+0x150/0x150 15:08:27 kernel: [<ffffffff8122c11b>] ? eventfd_ctx_read+0x16b/0x200 15:08:27 kernel: [<ffffffff810a5a60>] ? wake_up_process+0x50/0x50 15:08:27 kernel: [<ffffffff810a5a60>] ? wake_up_process+0x50/0x50 15:08:27 kernel: [<ffffffff8122c20c>] ? eventfd_read+0x5c/0x90 15:08:27 kernel: [<ffffffff811fedd2>] ? __fget+0x72/0xb0 15:08:27 kernel: [<ffffffff8146b087>] __sys_sendmsg+0x57/0xa0 15:08:27 kernel: [<ffffffff8146b0e2>] SyS_sendmsg+0x12/0x20 15:08:27 kernel: [<ffffffff8158beae>] system_call_fastpath+0x12/0x71 15:08:27 kernel: Code: b1 5c e4 7e 74 07 e9 17 ff ff ff 66 90 e8 0c 1f 11 00 e9 0b ff ff ff 66 0f 1f 44 00 00 49 63 42 20 49 8b 3a 4 15:08:27 kernel: RIP [<ffffffff811c5c0e>] __kmalloc_node_track_caller+0x1de/0x320 |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 29 September 2015, 01:19 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.2.1-1
Tuesday, 29 September 2015, 01:19 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.2.1-1
https://bugs.archlinux.org/task/45787