Machine refuses to shutdown after wheel unplugged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-oem-5.14 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After using my Logitech G920 whilst playing a game, or even having Oversteer[0] open, if I disconnect the wheel whilst one of the processes are still running, this will cause a kernel trace in dmesg: "kernfs: can not remove 'range', no directory" and then the machine will not shutdown unless forced using REISUO (or a hard power-off).
Relevant portion of dmesg output:
```
[18110.989873] usb 1-1: USB disconnect, device number 7
[18116.364998] hid 0003:046D:
[18116.365014] ------------[ cut here ]------------
[18116.365015] kernfs: can not remove 'range', no directory
[18116.365020] WARNING: CPU: 7 PID: 22533 at fs/kernfs/
[18116.365024] Modules linked in: option usb_wwan usbserial hid_logitech_hidpp veth nf_conntrack_
[18116.365059] videobuf2_memops videobuf2_v4l2 snd_pcm input_leds joydev videobuf2_common snd_seq_device intel_wmi_
[18116.365098] CPU: 7 PID: 22533 Comm: threaded-ml Tainted: P OE 5.14.0-1033-oem #36-Ubuntu
[18116.365100] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Ultra Gaming/Z170X-Ultra Gaming-CF, BIOS F4 06/24/2016
[18116.365101] RIP: 0010:kernfs_
[18116.365103] Code: 00 31 c0 41 5c 41 5d 41 5e 5d c3 48 c7 c7 20 3d 41 95 e8 29 be 82 00 b8 fe ff ff ff eb e5 48 c7 c7 d0 3d fe 94 e8 f1 52 7c 00 <0f> 0b b8 fe ff ff ff eb d0 66 66 2e 0f 1f 84 00 00 00 00 00 66 90
[18116.365104] RSP: 0018:ffffa97491
[18116.365106] RAX: 0000000000000000 RBX: ffff9ac0a96ab100 RCX: 0000000000000027
[18116.365107] RDX: 0000000000000027 RSI: 00000000ffffdfff RDI: ffff9ac1865a0988
[18116.365108] RBP: ffffa97491893ab8 R08: ffff9ac1865a0980 R09: ffffa97491893878
[18116.365108] R10: 0000000000000001 R11: 0000000000000001 R12: ffff9abe5300f8d0
[18116.365109] R13: ffffffffc385ecbd R14: ffff9abf18d1ea20 R15: 0000000000000000
[18116.365110] FS: 000000000000000
[18116.365111] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[18116.365112] CR2: 0000563f2813f130 CR3: 0000000240210002 CR4: 00000000003706e0
[18116.365113] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[18116.365113] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[18116.365114] Call Trace:
[18116.365115] <TASK>
[18116.365117] sysfs_remove_
[18116.365119] device_
[18116.365122] hidpp_ff_
[18116.365125] input_ff_
[18116.365127] input_dev_
[18116.365130] device_
[18116.365131] kobject_
[18116.365133] kobject_
[18116.365134] put_device+
[18116.365136] evdev_free+
[18116.365137] device_
[18116.365139] kobject_
[18116.365140] kobject_
[18116.365141] cdev_default_
[18116.365143] kobject_
[18116.365144] kobject_
[18116.365145] cdev_put.
[18116.365146] cdev_put+0x13/0x20
[18116.365147] __fput+0x23c/0x250
[18116.365149] ____fput+0xe/0x10
[18116.365151] task_work_
[18116.365153] do_exit+0x36c/0xae0
[18116.365155] ? __cond_
[18116.365157] ? mutex_lock+
[18116.365159] do_group_
[18116.365160] get_signal+
[18116.365162] arch_do_
[18116.365165] exit_to_
[18116.365166] syscall_
[18116.365169] do_syscall_
[18116.365171] entry_SYSCALL_
[18116.365173] RIP: 0033:0x7f35d3b5a9cf
[18116.365174] Code: Unable to access opcode bytes at RIP 0x7f35d3b5a9a5.
[18116.365174] RSP: 002b:00007f35b3
[18116.365176] RAX: fffffffffffffdfc RBX: 0000000001dae9a0 RCX: 00007f35d3b5a9cf
[18116.365177] RDX: 00000000ffffffff RSI: 0000000000000003 RDI: 00007f35ac007170
[18116.365177] RBP: 0000000001daeaa0 R08: 0000000000000000 R09: 00000000ffffffff
[18116.365178] R10: 0000000000000fd0 R11: 0000000000000293 R12: 00007f35ac007170
[18116.365179] R13: 0000000000000003 R14: 00000000ffffffff R15: 00007f35b3ffefc0
[18116.365180] </TASK>
[18116.365181] ---[ end trace 66956ad63f9c8e75 ]---
```
[0] - https:/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.14.0-1033-oem x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Mon May 2 21:49:17 2022
InstallationDate: Installed on 2017-05-24 (1804 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: linux-signed-
UpgradeStatus: Upgraded to focal on 2020-06-28 (673 days ago)