Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx/3.14.rc1) crash

Bug #1266153 reported by Baif
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Apple Trackpad indeed crashes kernel 3.12.0-031200-generic on SAUCY.
But 3.11.0-12/3.11.0-14 seem to be good.

I have tried TRUSTY alpha1, either 3.12.0-6/3.12.0-7, both of them crashes with trackpad.

AND, I also test Apple MagicMouse, none of mentioned kernel crashes with it.......

The following threads have resolution for SAUCY with 3.11 kernels, BUT no for SAUTY with 3.12 nor TRUSTY with 3.12 (Haven't tried 3.13-rcx)

Apple Trackpad indeed crashes kernel 3.12.0-031200-generic on SAUCY (and TRUSTY with 3.12). But 3.11.0-12/3.11.0-14 seem to be good.

I have tried TRUSTY alpha1, either 3.12.0-6/3.12.0-7, both of them crashes with trackpad.

AND, I also test Apple MagicMouse, none of mentioned kernel crashes with either SAUCY nor TRUSTY.......

FYI:

Apple Wireless Trackpad causes kernel oops
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1218004

kernel oops in free_task
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1214931

Apple Wireless Trackpad "magicmouse" crashes kernel on multitouch
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1248287

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It seems that problems have been identified here are the post I found:

Bug 1027465 - Apple bluetooth magic trackpad crashes system
https://bugzilla.redhat.com/show_bug.cgi?id=1027465
===============================================================
Michele Baldessari 2013-12-01 06:42:58 EST
Seems the chromium guys had a similar issue:
http://code.google.com/p/chromium/issues/detail?id=242344

They papered over the issue with:
http://www.spinics.net/lists/linux-bluetooth/msg15564.html
===============================================================
Michele Baldessari 2014-01-07 06:27:56 EST
Thanks. Initial work to fix this is here:
http://www.spinics.net/lists/linux-bluetooth/msg41904.html

It has not been included in any tree yet as the patch is still under discussion
===============================================================
Clarke Wixon 2014-01-07 13:48:15 EST
Michele, going back to your 2014-01-03 inquiry - my vague recollection adds to the apparent consensus that this bug started around 3.11.x (though I don't remember any issues with 3.9).

I think I started seeing it around October on Fedora 19, but at the time I was too busy with other matters to do any troubleshooting, so I just substituted my USB keyboard and trackball.

Bluetooth input on 3.11/3.12 has been ALL KINDS of troublesome for me. The Apple keyboard also has been problematic (bug 1039738). I'm hoping the cleanup here will help on that as well.(https://bugzilla.redhat.com/show_bug.cgi?id=1039738)
===============================================================
---
ApportVersion: 2.12.7-0ubuntu3
Architecture: amd64
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2014-01-01 (36 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131228)
Package: linux (not installed)
Tags: trusty
Uname: Linux 3.14.0-031400rc1-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True

Baif (baifcc)
summary: - Apple Wireless Trackpad causes kernel crash
+ Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx) crash
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1266153

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx) crash

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.13 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-rc7-trusty/

tags: added: kernel-da-key
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Baif (baifcc) wrote :

Brad and Joseph: I have tried v3.13-rc7-trusty, thanks for the kind reminding!

It seems that problems have been identified here are the post I found:

Bug 1027465 - Apple bluetooth magic trackpad crashes system
https://bugzilla.redhat.com/show_bug.cgi?id=1027465
===============================================================
Michele Baldessari 2013-12-01 06:42:58 EST
Seems the chromium guys had a similar issue:
http://code.google.com/p/chromium/issues/detail?id=242344

They papered over the issue with:
http://www.spinics.net/lists/linux-bluetooth/msg15564.html
===============================================================
Michele Baldessari 2014-01-07 06:27:56 EST
Thanks. Initial work to fix this is here:
http://www.spinics.net/lists/linux-bluetooth/msg41904.html

It has not been included in any tree yet as the patch is still under discussion
===============================================================

Baif (baifcc)
description: updated
Revision history for this message
Baif (baifcc) wrote :
Ara Pulido (ara)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Baif (baifcc) wrote : ProcEnviron.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Baif (baifcc) wrote : Re: Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx) crash
Download full text (6.3 KiB)

with latest 3.14.rc1:

Linux T420 3.14.0-031400rc1-generic #201402022035 SMP Mon Feb 3 01:37:33 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Feb 6 20:52:47 T420 kernel: [ 159.016729] magicmouse 0005:05AC:030E.0001: unknown main item tag 0x0
Feb 6 20:52:47 T420 kernel: [ 159.016878] input: Apple Wireless Trackpad as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:05AC:030E.0001/input/input16
Feb 6 20:52:47 T420 kernel: [ 159.017165] magicmouse 0005:05AC:030E.0001: input,hidraw0: BLUETOOTH HID v1.60 Mouse [Apple Wireless Trackpad] on 60:d8:19:b1:d8:20
Feb 6 20:54:12 T420 kernel: [ 244.088406] BUG: unable to handle kernel NULL pointer dereference at 00000000000003b8
Feb 6 20:54:12 T420 kernel: [ 244.088509] IP: [<ffffffff815ad8b8>] evdev_poll+0x28/0x70
Feb 6 20:54:12 T420 kernel: [ 244.088580] PGD 0
Feb 6 20:54:12 T420 kernel: [ 244.088606] Oops: 0000 [#1] SMP
Feb 6 20:54:12 T420 kernel: [ 244.088648] Modules linked in: hid_magicmouse ctr ccm hidp hid parport_pc ppdev bnep rfcomm intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm arc4 crct10dif_pclmul iwldvm cr
c32_pclmul ghash_clmulni_intel aesni_intel mac80211 aes_x86_64 lrw gf128mul glue_helper snd_hda_codec_hdmi ablk_helper thinkpad_acpi cryptd snd_hda_codec_conexant nvram snd_hda_codec_generic iwlwifi snd_seq_midi joydev snd_hda_
intel snd_seq_midi_event microcode btusb snd_hda_codec snd_rawmidi snd_seq bluetooth snd_hwdep snd_pcm cfg80211 snd_seq_device snd_timer 6lowpan_iphc psmouse mei_me snd mei soundcore mac_hid lp serio_raw parport lpc_ich i915 fi
rewire_ohci firewire_core e1000e sdhci_pci crc_itu_t ptp sdhci pps_core i2c_algo_bit drm_kms_helper drm wmi video
Feb 6 20:54:12 T420 kernel: [ 244.089540] CPU: 1 PID: 1056 Comm: Xorg Not tainted 3.14.0-031400rc1-generic #201402022035
Feb 6 20:54:12 T420 kernel: [ 244.089629] Hardware name: LENOVO 42365V9/42365V9, BIOS 83ET67WW (1.37 ) 11/28/2011
Feb 6 20:54:12 T420 kernel: [ 244.089709] task: ffff880035e84aa0 ti: ffff8800d469c000 task.ti: ffff8800d469c000
Feb 6 20:54:12 T420 kernel: [ 244.089788] RIP: 0010:[<ffffffff815ad8b8>] [<ffffffff815ad8b8>] evdev_poll+0x28/0x70
Feb 6 20:54:12 T420 kernel: [ 244.089876] RSP: 0018:ffff8800d469d9a8 EFLAGS: 00010246
Feb 6 20:54:12 T420 kernel: [ 244.089933] RAX: 0000000000000000 RBX: ffff8800d3e34800 RCX: 0000000000000050
Feb 6 20:54:12 T420 kernel: [ 244.090008] RDX: 0000000000000001 RSI: ffff8800d469dab8 RDI: ffff8800d3f08e00
Feb 6 20:54:12 T420 kernel: [ 244.090082] RBP: ffff8800d469d9b8 R08: 0000000000000000 R09: ffff8800d469ddb8
Feb 6 20:54:12 T420 kernel: [ 244.090155] R10: ffff8800d469ddd0 R11: 0000000000003246 R12: 0000000000000000
Feb 6 20:54:12 T420 kernel: [ 244.090230] R13: 0000000000100000 R14: 00004000001fc000 R15: ffff8800d3f08e00
Feb 6 20:54:12 T420 kernel: [ 244.090305] FS: 00007fb0ec0239c0(0000) GS:ffff88011e240000(0000) knlGS:0000000000000000
Feb 6 20:54:12 T420 kernel: [ 244.090389] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 6 20:54:12 T420 kernel: [ 244.090450] CR2: 00000000000003b8 CR3: 00000000d46a1000 CR4: 00000000000407e0
Feb 6 20:54:12 T420 kernel: [ 244.090524] Sta...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
summary: - Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx) crash
+ Apple Wireless Trackpad causes kernel (3.12.x/3.13.rcx/3.14.rc1) crash
Revision history for this message
Baif (baifcc) wrote :

https://bugzilla.redhat.com/show_bug.cgi?id=1027465#c32

Michele Baldessari 2014-02-25 08:34:17 EST
It now hit the linus tree:
commit a4b1b5877b514b276f0f31efe02388a9c2836728
Author: David Herrmann <email address hidden>
Date: Thu Dec 19 12:09:32 2013 +0100

    HID: Bluetooth: hidp: make sure input buffers are big enough

$ git tag --contains a4b1b58
v3.14-rc4

Revision history for this message
Baif (baifcc) wrote :

Tested TRUSTY with 3.14rc4. It works.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.