[Bug 249966] USB config SX lock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 28 22:28:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249966

            Bug ID: 249966
           Summary: USB config SX lock
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb at FreeBSD.org
          Reporter: bz at FreeBSD.org

Given I am regularly having these "USB config SX lock" hangs I would love to
track them, hence opening this PR.

Here's the first one to track (not the first one I keep seeing):

In this case a micro SD card on da3 did not show up with partitions anymore;
the da1 on the same card reader still worked.  Unplugging the card reader
checking on USB in order to reset it gave me this:

# usbconfig
load: 0.27  cmd: usbconfig 61812 [USB config SX lock] 1.61r 0.00u 0.00s 0%
2120k
mi_switch+0xc1 sleepq_catch_signals+0x3d1 sleepq_wait_sig+0x9
_sx_xlock_hard+0x451 usbd_enum_lock_sig+0xa1 usb_ref_device+0x221
usb_open+0x106 devfs_open+0x145 VOP_OPEN_APV+0x1c vn_open_vnode+0x1eb
vn_open_cred+0x3b7 kern_openat+0x248 amd64_syscall+0x119
fast_syscall_common+0xf8

"can ^c"

xhci on a Kaby Lake system.
Neither the other USB3 not the USB-C port detect anythign new plugged in
currently.  Not tried to disable enumeration yet.
Had unplugged an external mass storage on USB3/da4 yesterday and not used the
still plugged-in reader since.  Was camcontrol ejected da4.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list