Kernel panic shortly after pairing Apple Magic Touchpad
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
| Trusty |
Fix Released
|
High
|
Unassigned | ||
Bug Description
NOTE: there's important discussion in the duplicate of this bug, make sure you read that, too.
My kernel reliably panics shortly after - maybe 10 seconds or so? - pairing an Apple Magic Touchpad.
Other bluetooth devices don't cause the same problem - I've tried a pair of bluetooth headphones, a bluetooth speaker, a bluetooth printer, and a Nexus 4; all of these work as expected. This would seem to suggest a problem in hid_magicmouse?
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.12.0-2-generic x86_64
ApportVersion: 2.12.6-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Date: Wed Nov 20 08:26:11 2013
InstallationDate: Installed on 2013年08月06日 (105 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: System76, Inc. Galago UltraPro
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.117
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2013年08月06日 (105 days ago)
dmi.bios.date: 07/09/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.
dmi.board.name: Galago UltraPro
dmi.board.vendor: System76, Inc.
dmi.board.version: galu1
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: System76, Inc,
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Galago UltraPro
dmi.product.
dmi.sys.vendor: System76, Inc.
Related branches
CVE References
- Kern.log showing the part of the panic that made it to disc. Edit (110.9 KiB, text/plain)
- AlsaInfo.txt Edit (39.5 KiB, text/plain; charset="utf-8")
- BootDmesg.txt Edit (68.4 KiB, text/plain; charset="utf-8")
- CRDA.txt Edit (216 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (1.8 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (2.7 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (510 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (10.2 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (513 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (7.9 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (126 bytes, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (3.8 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (4.2 KiB, text/plain; charset="utf-8")
- PulseList.txt Edit (23.6 KiB, text/plain; charset="utf-8")
- RfKill.txt Edit (112 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (168.5 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (359.3 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (290.5 KiB, text/plain; charset="utf-8")
This change was made by a bot.
I've tried Andy's kernels from http://
bluetoothd repeatedly spawns and crashes, with:
[ 31.268389] general protection fault: 0000 [#2] SMP
[ 31.268418] Modules linked in: rfcomm bnep binfmt_misc joydev x86_pkg_
[ 31.269003] CPU: 0 PID: 1165 Comm: bluetoothd Tainted: G D 3.13.0-0-generic #1~unstable2013
[ 31.269075] Hardware name: System76, Inc. Galago UltraPro/Galago UltraPro, BIOS 4.6.5 07/09/2013
[ 31.269138] task: ffff880402ac6000 ti: ffff8804093e0000 task.ti: ffff8804093e0000
[ 31.269195] RIP: 0010:[<
[ 31.269272] RSP: 0018:ffff880409
[ 31.269309] RAX: 0000b8763f78eb76 RBX: 0000000000000012 RCX: 00007fff73fcef88
[ 31.269360] RDX: 0000000000000003 RSI: 0000000000000012 RDI: ffff880404493700
[ 31.269411] RBP: ffff8804093e1f38 R08: 00007fff73fcef8c R09: 00007fff73fcf208
[ 31.269462] R10: ffff88040f010430 R11: 0000000000000202 R12: ffff88040932ec00
[ 31.269514] R13: 00007fff73fcef88 R14: 0000000000000003 R15: ffff880404493700
[ 31.269565] FS: 00007f86afcb574
[ 31.269622] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 31.269662] CR2: 00007f86aef2bec0 CR3: 0000000406aa9000 CR4: 00000000001407f0
[ 31.269707] Stack:
[ 31.269720] 0000000000000246 ffff8804093e1f58 ffff880404493700 0000000000000012
[ 31.269775] 0000000000000003 00007fff73fcef88 00007fff73fcef8c ffff8804093e1f78
[ 31.269833] ffffffff81614448 0000000000000000 0000000000000001 00007fff73fcf208
[ 31.269896] Call Trace:
[ 31.269923] [<ffffffff81614
[ 31.269973] [<ffffffff81735
[ 31.270010] Code: f1 48 83 c4 10 44 89 c8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 44 00 00 4d 8b 67 20 f6 05 47 6f 00 00 04 49 8b 84 24 e8 02 00 00 <48> 8b 18 0f 85 48 01 00 00 4c 89 c0 e8 f4 52 d7 e0 85 c0 49 89
[ 31.270233] RIP [<ffffffffa0610
[ 31.270294] RSP <ffff8804093e1f00>
[ 31.270322] ---[ end trace cd2dc7599da16d4a ]---
Can you give the latest upstream 3.11 kernel to see if the bug exists there or not? The kernel can be downloaded from:
http://
Oh, the getsockopt bug might be http://
The 3.11 kernel also panics in the same circumstances ; I can't tell if it's *exactly* the same panic, because the log didn't make it to disc, but it's triggered in the same way.
Can you give the 3.11 final kernel a try:
http://
Do you recall if there was a prior release that did not have this bug?
Hm. I don't think I've ever successfully used the Apple touchpad with this laptop; I've only recently started to try.
I'll give the 3.11 final kernel a try as well.
- magicmouse_crash_1.txt Edit (21.8 KiB, text/plain)
I have the same problem as the OP, but in my case the kernel log seems to give more useful information. There are a number of OOPSes in the log, before the actual crash, and one of them is in hid_magicmouse, always at the same location.
I'm attaching a log that shows the OOPSes. The system doesn't log anything else to disk after that.
If there's any other info that I can help provide please let me know.
I also used apport-bug to open bug #1293528 mainly so that it could upload the rest of the info about my system. Feel free to mark it as duplicate.
i'm still seeing this with 3.13.5-1~bpo70+1.
i stopped using that touchpad around 3.10 or so because of the appearance of this bug, and tried just now again, but it's still panic-ing.
unfortunately nothing seems to reach the disk for me, or at least i can't find anything related in /var/log/syslog.
It appears this bug is fixed in the latest mainline kernel per bug 1293528 . Thanks for testing Ugo.
Can other folks affected by this bug confirm the 3.14-rc8 kernel fixes this bug? If it does, we can reverse bisect to identify the commit that fixes this.
The latest mainline kernel can be downloaded from:
http://
It would also be good to know if this is fixed in the latest 3.13 upstream kernel, which can be downloaded from:
http://
We believe we have found the upstream commit which fixes this, I have applied that under another bug as below. Could you guys also test and report back here:
HID: Bluetooth: hidp: make sure input buffers are big enough
This bug was fixed in the package linux - 3.13.0-24.46
---------------
linux (3.13.0-24.46) trusty; urgency=low
[ Andy Whitcroft ]
* [Config] d-i -- add nvme devices to block-modules udeb
- LP: #1303710
[ Paolo Pisati ]
* [Config] build vexpress a9 dtb
- LP: #1303657
* [Config] disable HVC_DCC
- LP: #1303657
[ Tim Gardner ]
* Release Tracking Bug
- LP: #1305158
* rebase to v3.13.9
* CONFIG_
- LP: #1296591
[ Upstream Kernel Changes ]
* HID: Bluetooth: hidp: make sure input buffers are big enough
- LP: #1252874
* ACPI / video: Add systems that should favour native backlight interface
- LP: #1303419
* rds: prevent dereference of a NULL device in rds_iw_laddr_check
- LP: #1302222
- CVE-2014-2678
* x86/efi: Fix 32-bit fallout
- LP: #1301590
* drm/nouveau/
- LP: #1158689
* drm/nouveau/device: provide a way for devinit to mark engines as
disabled
- LP: #1158689
* drm/nv50-/devinit: prevent use of engines marked as disabled by
hw/vbios
- LP: #1158689
* rtlwifi: btcoexist: Add new mini driver
- LP: #1296591
* rtlwifi: Prepare existing drivers for new driver
- LP: #1296591
* rtlwifi: add MSI interrupts mode support
- LP: #1296591
* rtlwifi: rtl8188ee: enable MSI interrupts mode
- LP: #1296591
[ Upstream Kernel Changes ]
* rebase to v3.13.9
-- Tim Gardner <email address hidden> 2014年4月04日 09:26:27 -0400