magicmouse driver causes soft panic intermittently at boot

Bug #1912943 reported by Jamie Scott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Kubuntu 20.10
Kernel: 5.8.0-40-generic
CPU: AMD Ryzen 7 3700X
Motherboard: Asrock X570 Taichi

Recently my system has been failing to boot often and I'm left with a blank screen before I even see my login screen. After a reset (or 2 or 3) I can usually persuade it to boot and look in my syslog. During the boot process I get what appear to be 3 soft panics (I believe that is the correct term) starting with this one below. Given it happens immediately after loading the magicmouse driver and given the call trace I believe it's magicmouse at fault here?

I have an Apple Magic Trackpad 2 plugged in via USB most of the time. Though I also have it plugged in on a Ubuntu 20.04 machine quite often and see no issues at all with it over there.

Excerpt from syslog:

Jan 24 13:25:36 diplodocus systemd[1]: Finished Load AppArmor profiles managed internally by snapd.
Jan 24 13:25:36 diplodocus haveged[1272]: haveged starting up
Jan 24 13:25:36 diplodocus kernel: input: Apple Inc. Magic Trackpad 2 as /devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:09:00.3/usb3/3-4/3-4.2/3-4.2:1.1/0003:05AC:0265.000E/input/input32
Jan 24 13:25:36 diplodocus kernel: magicmouse 0003:05AC:0265.000E: input,hiddev1,hidraw2: USB HID v1.10 Mouse [Apple Inc. Magic Trackpad 2] on usb-0000:09:00.3-4.2/input1
Jan 24 13:25:36 diplodocus kernel: general protection fault, probably for non-canonical address 0x745e0ac669a7401: 0000 [#1] SMP NOPTI
Jan 24 13:25:36 diplodocus kernel: CPU: 5 PID: 262 Comm: kworker/5:2 Not tainted 5.8.0-40-generic #45-Ubuntu
Jan 24 13:25:36 diplodocus kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X570 Taichi, BIOS P2.10 09/09/2019
Jan 24 13:25:36 diplodocus kernel: Workqueue: events deferred_probe_work_func
Jan 24 13:25:36 diplodocus kernel: RIP: 0010:kmem_cache_alloc_trace+0x81/0x240
Jan 24 13:25:36 diplodocus kernel: Code: 99 01 00 00 4d 8b 01 65 49 8b 50 08 65 4c 03 05 ed 53 f3 44 4d 8b 20 4d 85 e4 0f 84 85 01 00 00 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jan 24 13:25:36 diplodocus kernel: RSP: 0018:ffffbe55c05e7890 EFLAGS: 00010202
Jan 24 13:25:36 diplodocus kernel: RAX: 0745e0ac669a7401 RBX: 0000000000000000 RCX: 0000000000000080
Jan 24 13:25:36 diplodocus kernel: RDX: 0000000000000a44 RSI: 0000000000000c00 RDI: 0000000000031040
Jan 24 13:25:36 diplodocus kernel: RBP: ffffbe55c05e78c0 R08: ffff9c6e3eb71040 R09: ffff9c6e3b407b80
Jan 24 13:25:36 diplodocus kernel: R10: ffffffffffffffff R11: ffff9c6e2d333ceb R12: 0745e0ac669a7401
Jan 24 13:25:36 diplodocus kernel: R13: 0000000000000c00 R14: 0000000000000008 R15: ffff9c6e3b407b80
Jan 24 13:25:36 diplodocus kernel: FS: 0000000000000000(0000) GS:ffff9c6e3eb40000(0000) knlGS:0000000000000000
Jan 24 13:25:36 diplodocus kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 24 13:25:36 diplodocus kernel: CR2: 0000557464ab55b8 CR3: 00000007e5fbc000 CR4: 0000000000340ee0
Jan 24 13:25:36 diplodocus kernel: Call Trace:
Jan 24 13:25:36 diplodocus kernel: ? usb_control_msg+0x59/0x140
Jan 24 13:25:36 diplodocus kernel: usb_control_msg+0x59/0x140
Jan 24 13:25:36 diplodocus kernel: usb_get_string+0x60/0xb0
Jan 24 13:25:36 diplodocus kernel: usb_string_sub+0x6f/0x100
Jan 24 13:25:36 diplodocus kernel: usb_string+0xda/0x1b0
Jan 24 13:25:36 diplodocus kernel: usbhid_probe+0x213/0x3d0 [usbhid]
Jan 24 13:25:36 diplodocus kernel: usb_probe_interface+0xf1/0x2b0
Jan 24 13:25:36 diplodocus kernel: really_probe+0x2f4/0x430
Jan 24 13:25:36 diplodocus kernel: driver_probe_device+0xe9/0x160
Jan 24 13:25:36 diplodocus kernel: __device_attach_driver+0x71/0xd0
Jan 24 13:25:36 diplodocus kernel: ? driver_allows_async_probing+0x50/0x50
Jan 24 13:25:36 diplodocus kernel: bus_for_each_drv+0x84/0xd0
Jan 24 13:25:36 diplodocus kernel: __device_attach+0xde/0x1e0
Jan 24 13:25:36 diplodocus kernel: device_initial_probe+0x13/0x20
Jan 24 13:25:36 diplodocus kernel: bus_probe_device+0x8f/0xa0
Jan 24 13:25:36 diplodocus kernel: device_add+0x3ad/0x6a0
Jan 24 13:25:36 diplodocus kernel: usb_set_configuration+0x490/0x860
Jan 24 13:25:36 diplodocus kernel: usb_generic_driver_probe+0x53/0x70
Jan 24 13:25:36 diplodocus kernel: usb_probe_device+0x3e/0x100
Jan 24 13:25:36 diplodocus kernel: really_probe+0x2f4/0x430
Jan 24 13:25:36 diplodocus kernel: driver_probe_device+0xe9/0x160
Jan 24 13:25:36 diplodocus kernel: __device_attach_driver+0x71/0xd0
Jan 24 13:25:36 diplodocus kernel: ? driver_allows_async_probing+0x50/0x50
Jan 24 13:25:36 diplodocus kernel: bus_for_each_drv+0x84/0xd0
Jan 24 13:25:36 diplodocus kernel: __device_attach+0xde/0x1e0
Jan 24 13:25:36 diplodocus kernel: device_initial_probe+0x13/0x20
Jan 24 13:25:36 diplodocus kernel: bus_probe_device+0x8f/0xa0
Jan 24 13:25:36 diplodocus kernel: deferred_probe_work_func+0x6f/0xc0
Jan 24 13:25:36 diplodocus kernel: process_one_work+0x1e8/0x3b0
Jan 24 13:25:36 diplodocus kernel: worker_thread+0x50/0x370
Jan 24 13:25:36 diplodocus kernel: kthread+0x12f/0x150
Jan 24 13:25:36 diplodocus kernel: ? process_one_work+0x3b0/0x3b0
Jan 24 13:25:36 diplodocus kernel: ? __kthread_bind_mask+0x70/0x70
Jan 24 13:25:36 diplodocus kernel: ret_from_fork+0x22/0x30
Jan 24 13:25:36 diplodocus kernel: Modules linked in: amd64_edac_mod(-) hid_magicmouse nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi iwlmvm snd_hda_intel snd_intel_dspcfg edac_mce_amd snd_usb_audio snd_hda_codec mac80211 snd_usbmidi_lib snd_hda_core snd_hwdep snd_seq_midi>
Jan 24 13:25:36 diplodocus kernel: i2c_piix4 nvme dca ahci nvme_core i2c_algo_bit libahci xhci_pci xhci_pci_renesas wmi
Jan 24 13:25:36 diplodocus kernel: ---[ end trace 60827b432a3ccd79 ]---
Jan 24 13:25:36 diplodocus kernel: RIP: 0010:kmem_cache_alloc_trace+0x81/0x240
Jan 24 13:25:36 diplodocus kernel: Code: 99 01 00 00 4d 8b 01 65 49 8b 50 08 65 4c 03 05 ed 53 f3 44 4d 8b 20 4d 85 e4 0f 84 85 01 00 00 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jan 24 13:25:36 diplodocus kernel: RSP: 0018:ffffbe55c05e7890 EFLAGS: 00010202
Jan 24 13:25:36 diplodocus kernel: RAX: 0745e0ac669a7401 RBX: 0000000000000000 RCX: 0000000000000080
Jan 24 13:25:36 diplodocus kernel: RDX: 0000000000000a44 RSI: 0000000000000c00 RDI: 0000000000031040
Jan 24 13:25:36 diplodocus kernel: RBP: ffffbe55c05e78c0 R08: ffff9c6e3eb71040 R09: ffff9c6e3b407b80
Jan 24 13:25:36 diplodocus kernel: R10: ffffffffffffffff R11: ffff9c6e2d333ceb R12: 0745e0ac669a7401
Jan 24 13:25:36 diplodocus kernel: R13: 0000000000000c00 R14: 0000000000000008 R15: ffff9c6e3b407b80
Jan 24 13:25:36 diplodocus kernel: FS: 0000000000000000(0000) GS:ffff9c6e3eb40000(0000) knlGS:0000000000000000
Jan 24 13:25:36 diplodocus kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 24 13:25:36 diplodocus kernel: CR2: 0000557464ab55b8 CR3: 00000007e5fbc000 CR4: 0000000000340ee0
Jan 24 13:25:36 diplodocus systemd[1]: Started Network Time Synchronization.
Jan 24 13:25:36 diplodocus systemd[1]: Reached target System Initialization.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2020-06-18 (219 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.8.0-40-generic root=/dev/mapper/vgkubuntu-root ro usbcore.autosuspend=-1
ProcVersionSignature: Ubuntu 5.8.0-40.45-generic 5.8.18
RelatedPackageVersions:
 linux-restricted-modules-5.8.0-40-generic N/A
 linux-backports-modules-5.8.0-40-generic N/A
 linux-firmware 1.190.3
Tags: groovy
Uname: Linux 5.8.0-40-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-12-30 (25 days ago)
UserGroups: adm cdrom dialout dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/09/2019
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P2.10
dmi.board.name: X570 Taichi
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.10:bd09/09/2019:br5.14:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX570Taichi:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Jamie Scott (jamiescott) wrote :
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1912943

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
Revision history for this message
Jamie Scott (jamiescott) wrote :
tags: added: groovy
Revision history for this message
Jamie Scott (jamiescott) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jamie Scott (jamiescott) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : CRDA.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : IwConfig.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : Lspci.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : Lspci-vt.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : Lsusb.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : Lsusb-t.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : Lsusb-v.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : PaInfo.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : ProcModules.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : PulseList.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : RfKill.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : UdevDb.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jamie Scott (jamiescott) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
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.