https://bugzilla.kernel.org/show_bug.cgi?id=216766 Bug ID: 216766 Summary: USB enumeration lockup Product: Drivers Version: 2.5 Kernel Version: 5.19.16 and 6.0.10 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: USB Assignee: drivers_usb@xxxxxxxxxxxxxxxxxxxxxx Reporter: jan.burgmeier@xxxxxx Regression: No Hi, Environment: > Lenovo ThinkPad T14s Gen 1, model 20UJS00K00 > Fedora 37 after resuming from suspend the gnome-shell/gdm hangs because of fprintd and I was able to track this down to usb device enumeration hanging on reading the "descriptors" sysfs file. Calls to lsusb also hang on the same file. The error can be reproduced with all recend kernels, tested with various Fedora Kernels, from: > Linux jbu-laptop 5.19.16-301.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 21 > 15:55:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux to: > Linux jbu-laptop 6.0.10-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 26 > 16:55:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Here is the backtrace from the hanging usb read: > (gdb) bt > #0 0x00007ffff7e77fac in read () from /lib64/libc.so.6 > #1 0x00007ffff7f90885 in read (__nbytes=256, __buf=<optimized out>, __fd=8) > at /usr/include/bits/unistd.h:38 > #2 initialize_device (dev=dev@entry=0x5555555a87c0, busnum=busnum@entry=4 > '\004', devaddr=devaddr@entry=1 '\001', > sysfs_dir=sysfs_dir@entry=0x5555555a87a0 "usb4", > wrapped_fd=wrapped_fd@entry=-1) at os/linux_usbfs.c:967 > #3 0x00007ffff7f92989 in linux_enumerate_device (ctx=0x55555559f610, > busnum=<optimized out>, devaddr=<optimized out>, sysfs_dir=0x5555555a87a0 > "usb4") at os/linux_usbfs.c:1117 > #4 0x00007ffff7f93115 in linux_udev_scan_devices (ctx=0x55555559f610) at > os/linux_udev.c:299 > #5 linux_scan_devices (ctx=0x55555559f610) at os/linux_usbfs.c:458 > #6 op_init (ctx=ctx@entry=0x55555559f610) at os/linux_usbfs.c:410 > #7 0x00007ffff7f93e79 in libusb_init (ctx=ctx@entry=0x7fffffffe138) at > /usr/src/debug/libusb1-1.0.25-9.fc37.x86_64/libusb/core.c:2353 > #8 0x0000555555565e23 in main (argc=<optimized out>, argv=0x7fffffffe398) at > /usr/src/debug/usbutils-014-3.fc37.x86_64/lsusb.c:3895 USB4 seems to be the integrated card reader: > [root@jbu-laptop ~]# lsusb > Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 006 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth > Bus 006 Device 002: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch > Fingerprint Reader > Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 004 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader > Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 002 Device 002: ID 13d3:5405 IMC Networks Integrated Camera > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub The repoduction is not that easy and I'm not able to reliably reproduce the issue mostly it works if I do the following: 1. Connect to docking station with Monitors, Headset and webcam attached 2. Suspend while connected to the docking station 3. Disconnect from the docking station 4. Resume while disconnected from the docking station Please let me know if you need any further logs I can gather them if the next hang occures. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.