Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2025 11:40:04 +0100
From:      Rodrigo Osorio <rodrigo@osorio.me>
To:        freebsd-current@freebsd.org
Subject:   From time to time USB devices stop working with FreeBSD 15.0-CURRENT
Message-ID:  <25a3c7af-93b6-4615-a40f-8932e9e4cc3c@osorio.me>

next in thread | raw e-mail | index | archive | help
Hi,

I'm currently running FreeBSD 15.0-CURRENT main-n274569-95a7aa800987 
GENERIC amd64,
and since main-n273400-5e5e4e1cf0c3 update I start experiencing issues 
with UBS devices.

 From time to time, it can occurs 3 or 4 times per day, my USB devices 
stop working,
and in verbose mode I have the following message:

Jan  8 11:11:52 defiant kernel: witness_lock_list_get: witness exhausted

If I unplug USB devices, I see the detach messages

Jan  8 11:13:43 defiant kernel: ugen1.3: <vendor 0x2109 USB 2.0 HUB> at 
usbus1 (disconnected)
Jan  8 11:13:43 defiant kernel: uhub2: at uhub1, port 3, addr 2 
(disconnected)
Jan  8 11:13:43 defiant kernel: ugen1.4: <vendor 0x1a40 USB2.0 HUB> at 
usbus1 (disconnected)
Jan  8 11:13:43 defiant kernel: uhub3: at uhub2, port 1, addr 3 
(disconnected)
Jan  8 11:13:43 defiant kernel: ugen1.5: <CM Storm Quickfire Rapid i> at 
usbus1 (disconnected)
Jan  8 11:13:43 defiant kernel: usbhid0: at uhub3, port 2, addr 4 
(disconnected)
Jan  8 11:13:43 defiant kernel: hkbd0: detached
Jan  8 11:13:43 defiant kernel: hidbus0: detached
Jan  8 11:13:43 defiant kernel: usbhid0: detached
Jan  8 11:13:43 defiant kernel: usbhid1: at uhub3, port 2, addr 4 
(disconnected)
Jan  8 11:13:43 defiant kernel: hidbus1: detached
Jan  8 11:13:43 defiant kernel: usbhid1: detached
Jan  8 11:13:43 defiant kernel: usbhid2: at uhub3, port 2, addr 4 
(disconnected)
Jan  8 11:13:43 defiant kernel: hkbd1: detached
Jan  8 11:13:43 defiant kernel: hcons0: detached
Jan  8 11:13:44 defiant kernel: hsctrl0: detached
Jan  8 11:13:44 defiant kernel: hidbus2: detached
Jan  8 11:13:44 defiant kernel: usbhid2: detached
Jan  8 11:13:44 defiant kernel: ugen1.6: <Microsoft Microsoft LifeCam 
Cinema(TM)> at usbus1 (disconnected)
Jan  8 11:13:44 defiant kernel: uaudio0: at uhub3, port 4, addr 5 
(disconnected)
Jan  8 11:13:44 defiant kernel: pcm1: detached
Jan  8 11:13:44 defiant kernel: uaudio0: detached
Jan  8 11:13:44 defiant kernel: uhub3: detached
Jan  8 11:13:44 defiant kernel: ugen1.7: <Logitech USB Receiver> at 
usbus1 (disconnected)
Jan  8 11:13:44 defiant kernel: usbhid3: at uhub2, port 3, addr 6 
(disconnected)
Jan  8 11:13:45 defiant kernel: hkbd2: detached
Jan  8 11:13:45 defiant kernel: hidbus3: detached
Jan  8 11:13:45 defiant kernel: usbhid3: detached
Jan  8 11:13:45 defiant kernel: usbhid4: at uhub2, port 3, addr 6 
(disconnected)
Jan  8 11:13:45 defiant kernel: hsctrl1: detached
Jan  8 11:13:45 defiant kernel: hcons1: detached
Jan  8 11:13:45 defiant kernel: hms0: detached
Jan  8 11:13:45 defiant kernel: hidbus4: detached
Jan  8 11:13:45 defiant kernel: usbhid4: detached
Jan  8 11:13:45 defiant kernel: uhub2: detached
Jan  8 11:13:45 defiant kernel: ugen1.11: <VLI Labs, Inc. USB 3.0 HUB> 
at usbus1 (disconnected)
Jan  8 11:13:45 defiant kernel: uhub4: at uhub1, port 13, addr 10 
(disconnected)
Jan  8 11:13:46 defiant kernel: uhub4: detached

But if I try to reconnect any USB device, I got a TIMEOUT, and a reboot 
is required to recover.

Jan  8 11:14:05 defiant kernel: usbd_setup_device_desc: getting device 
descriptor at addr 11 failed, USB_ERR_TIMEOUT
Jan  8 11:14:05 defiant kernel: usbd_req_re_enumerate: addr=11, set 
address failed! (USB_ERR_IOERROR, ignored)
Jan  8 11:14:17 defiant kernel: usbd_setup_device_desc: getting device 
descriptor at addr 11 failed, USB_ERR_TIMEOUT

The issue doesn't seem related to a specific USB device.
Let me know if I can give you more context or additional test to help 
sorting out this issue.

All the best
-- Rodrigo






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25a3c7af-93b6-4615-a40f-8932e9e4cc3c>