From nobody Wed Jan 8 10:40:04 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSkvb367fz5k9dK for ; Wed, 08 Jan 2025 10:40:11 +0000 (UTC) (envelope-from rodrigo@osorio.me) Received: from smtp.osorio.me (mvd.osorio.me [37.187.111.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4YSkvZ40t3z4NYx for ; Wed, 8 Jan 2025 10:40:10 +0000 (UTC) (envelope-from rodrigo@osorio.me) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rodrigo@osorio.me designates 37.187.111.94 as permitted sender) smtp.mailfrom=rodrigo@osorio.me; dmarc=none Received: from [192.168.1.39] (lfbn-idf1-1-971-net.w86-238.abo.wanadoo.fr [86.238.50.0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id 5281DC1B0D for ; Wed, 08 Jan 2025 10:40:11 +0000 (UTC) Message-ID: <25a3c7af-93b6-4615-a40f-8932e9e4cc3c@osorio.me> Date: Wed, 8 Jan 2025 11:40:04 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-current@freebsd.org From: Rodrigo Osorio Subject: From time to time USB devices stop working with FreeBSD 15.0-CURRENT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YSkvZ40t3z4NYx X-Spamd-Bar: - X-Spamd-Result: default: False [-1.57 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_SPAM_SHORT(0.52)[0.520]; R_SPF_ALLOW(-0.20)[+ip4:37.187.111.94]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[rodrigo]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[osorio.me]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[] 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: 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: 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: 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: 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: 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: 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