So I installed the latest upstream kernel (4.17-rc1) and the bug described above still occurs. It's frustrating because it means my bluetooth mouse stops working after about 5 minutes, and I can't get it to work again without rebooting. Code copied and pasted below
So I installed the latest upstream kernel (4.17-rc1) and the bug described above still occurs. It's frustrating because it means my bluetooth mouse stops working after about 5 minutes, and I can't get it to work again without rebooting. Code copied and pasted below
<code> triggered_ buffer kfifo_buf hid_sensor_ iio_common industrialio hid_sensor_custom snd_hda_codec_hdmi snd_hda_ codec_realtek snd_hda_ codec_generic nls_iso8859_1 wacom usbhid hid_sensor_hub hid_multitouch hid_generic 8250_dw arc4 wmi_bmof intel_wmi_ thunderbolt snd_hda_intel intel_rapl snd_hda_codec x86_pkg_ temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm snd_seq_midi kvm irqbypass snd_seq_midi_event crct10dif_pclmul thermal_ device shpchp mei intel_lpss intel_pch_thermal intel_soc_dts_iosf typec soundcore ideapad_laptop sparse_keymap int3403_thermal int340x_ thermal_ zone wmi int3400_thermal acpi_pad mac_hid acpi_thermal_rel sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm i2c_hid hid pinctrl_ sunrisepoint pinctrl_intel video 041700rc1- generic #201804152230 unregister_ driver+ 0xd/0x70 18fc38 EFLAGS: 00010246 0(0000) GS:ffff950101c4 0000(0000) knlGS:000000000 0000000 tty_unregister_ driver+ 0x15/0x30 exit+0x2e/ 0x50 0x5b/0x1d0 hcd+0x105/ 0x230 pci_remove+ 0x74/0x130 remove+ 0x6b/0x70 remove+ 0x3e/0xb0 release_ driver_ internal+ 0x15b/0x220 release_ driver+ 0x12/0x20 store+0x87/ 0x150 store+0x27/ 0x40 write+0x3c/ 0x50 fop_write+ 0x125/0x1a0 0x3a/0x170 file_perm+ 0x4d/0x140 fd+0x46/ 0x170 file_permission +0x1a/0x20 file_permission +0x2f/0xb0 0x19/0x40 0xb1/0x1a0 0x55/0xc0 write+0x1a/ 0x20 64+0x5a/ 0x120 64_after_ hwframe+ 0x44/0xa9 acadc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 driver+ 0xd/0x70 RSP: ffffb5044418fc38
[ 721.603218] xhci_hcd 0000:00:14.0: xHC is not running.
[ 750.046445] xhci_hcd 0000:00:14.0: xHC is not running.
[ 759.047364] xhci_hcd 0000:00:14.0: xHC is not running.
[ 779.310499] xhci_hcd 0000:00:14.0: xHC is not running.
[ 795.342998] xhci_hcd 0000:00:14.0: xHC is not running.
[ 801.529731] xhci_hcd 0000:00:14.0: xHC is not running.
[ 805.647450] xhci_hcd 0000:00:14.0: xHC is not running.
[ 812.578673] xhci_hcd 0000:00:14.0: xHC is not running.
[ 825.775154] xhci_hcd 0000:00:14.0: xHC is not running.
[ 865.768631] xhci_hcd 0000:00:14.0: xHC is not running.
[ 865.773773] xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
[ 865.773790] xhci_hcd 0000:00:14.0: HC died; cleaning up
[ 865.892098] usb 1-4: USB disconnect, device number 2
[ 866.006922] usb 1-6: USB disconnect, device number 3
[ 866.010148] usb 1-8: USB disconnect, device number 4
[ 957.285300] xhci_hcd 0000:00:14.0: remove, state 4
[ 957.285314] usb usb2: USB disconnect, device number 1
[ 957.286028] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[ 957.286045] xhci_hcd 0000:00:14.0: remove, state 4
[ 957.286058] usb usb1: USB disconnect, device number 1
[ 957.287117] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[ 957.287132] PGD 0 P4D 0
[ 957.287145] Oops: 0000 [#1] SMP PTI
[ 957.287151] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c hidp thunderbolt rfcomm ccm cmac bnep uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 btrtl btbcm videobuf2_common btintel videodev bluetooth media ecdh_generic msr joydev hid_sensor_als hid_sensor_accel_3d hid_sensor_trigger industrialio_
[ 957.287291] iwlmvm crc32_pclmul ghash_clmulni_intel snd_rawmidi pcbc mac80211 snd_seq aesni_intel aes_x86_64 crypto_simd cryptd glue_helper intel_cstate intel_rapl_perf iwlwifi idma64 virt_dma snd_seq_device snd_timer input_leds cfg80211 serio_raw ucsi_acpi snd typec_ucsi mei_me intel_lpss_pci processor_
[ 957.287418] CPU: 1 PID: 17454 Comm: sh Not tainted 4.17.0-
[ 957.287423] Hardware name: LENOVO 80X7/LNVNB161216, BIOS 4MCN28WW(V2.00) 10/19/2017
[ 957.287436] RIP: 0010:tty_
[ 957.287442] RSP: 0018:ffffb50444
[ 957.287449] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 957.287455] RDX: ffff950057280000 RSI: ffff9500f79587b8 RDI: 0000000000000000
[ 957.287461] RBP: ffffb5044418fc40 R08: ffff9500f7d22810 R09: 0000000000000000
[ 957.287467] R10: ffffdaed8ab53400 R11: 0000000000000000 R12: ffff9500f7c4a230
[ 957.287473] R13: ffff9500f7c4a27c R14: ffff9500f7c4a398 R15: 0000000000000060
[ 957.287481] FS: 00007f66379a054
[ 957.287488] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 957.287495] CR2: 0000000000000034 CR3: 00000002b7c20004 CR4: 00000000003606e0
[ 957.287501] Call Trace:
[ 957.287518] xhci_dbc_
[ 957.287529] xhci_dbc_
[ 957.287538] xhci_stop+
[ 957.287550] usb_remove_
[ 957.287560] usb_hcd_
[ 957.287568] xhci_pci_
[ 957.287578] pci_device_
[ 957.287588] device_
[ 957.287596] device_
[ 957.287606] unbind_
[ 957.287616] drv_attr_
[ 957.287625] sysfs_kf_
[ 957.287632] kernfs_
[ 957.287641] __vfs_write+
[ 957.287653] ? common_
[ 957.287662] ? __alloc_
[ 957.287671] ? apparmor_
[ 957.287686] ? security_
[ 957.287696] ? _cond_resched+
[ 957.287704] vfs_write+
[ 957.287712] ksys_write+
[ 957.287721] __x64_sys_
[ 957.287731] do_syscall_
[ 957.287742] entry_SYSCALL_
[ 957.287750] RIP: 0033:0x7f66374b6154
[ 957.287756] RSP: 002b:00007ffcb2
[ 957.287765] RAX: ffffffffffffffda RBX: 000055fc35806df0 RCX: 00007f66374b6154
[ 957.287771] RDX: 000000000000000c RSI: 000055fc35806df0 RDI: 0000000000000001
[ 957.287776] RBP: 000000000000000c R08: 000055fc35806757 R09: 000055fc35806c05
[ 957.287781] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000001
[ 957.287787] R13: 000000000000000c R14: 7fffffffffffffff R15: 00007ffcb2acbf12
[ 957.287794] Code: c2 c5 8e 55 a3 48 c7 c7 a8 74 a4 a3 e8 6d 7d ee ff 48 89 df e8 55 3a c6 ff 5b 5d c3 66 90 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb <8b> 77 34 8b 7f 2c c1 e7 14 0b 7b 30 e8 e2 9c c9 ff 48 c7 c7 60
[ 957.287917] RIP: tty_unregister_
[ 957.287921] CR2: 0000000000000034
[ 957.287929] ---[ end trace 1aaa850b2f90913c ]---
</code>