From nobody Wed Jul 13 21:52:02 2022 X-Original-To: usb@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 5400A1CFC26E for ; Wed, 13 Jul 2022 21:52:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ljrtp0Hfvz3RR2 for ; Wed, 13 Jul 2022 21:52:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ljrtn6V4Hzftl for ; Wed, 13 Jul 2022 21:52:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26DLq15m073684 for ; Wed, 13 Jul 2022 21:52:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26DLq1nK073683 for usb@FreeBSD.org; Wed, 13 Jul 2022 21:52:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 265204] USB messages reporting failure to set address, eventually disabling a port, which nevertheless works Date: Wed, 13 Jul 2022 21:52:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mefistofelez@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657749122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bZyO7dZZ4LlIymI4Xpxn7YDFY7YPIPRsX8bO9uz4Heg=; b=Dy6tetC5OQGKxBByQasqRaZ9lVXWtPfaDc76ZyPHtGEscg8QDBZThMtqqBB+MbXmaKcBhc fEtplf/hJL0Kw/AUiGpT5iAzMPp9yol5PGIlJb4yynDeFhVlc65yOcVlNUi9vm+t9QarcX i8WFPVI5TL6kmXNQ1xEe7X1pIvrylfBN4O8jQuB1rPDWsn1CSFKD8fe4CR0eBzpUce76no u0oNh0EPeY4QFXLpNnu2o3rAhyr9wHMSjCztA3zUGFV7iXXwen5inx0XmL0QsyGHkTXNa0 dXbGLVPEspST6bheFjk7V5HPfuCbqFJizIvoLmzJIQ9wVjNIOZTgXmkD0IC4kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657749122; a=rsa-sha256; cv=none; b=SuFZqKDTQ7oOdttY94uCl6dVD1NBGqHscFwxdAq5QhRQBapKtbMqHXMJxGcTTC5muhiDNE pZVXpFfFtw/4qzrzd2eO9nlfncBEPQbM2B44luk3vA70Vr3FbLbbcf5ucwLsgnmAn4fNAy yaBLt5redbEoJzWVcOc9uKxbdInUZgOAoPYsuYDi8FEsZwCSAlFx4ag6NiE4JXKh86d531 wW545s4ka+5H0s91C3GqJ0ZGLRkg2wgAP2smnAAE5g1dcAFCIna9tk9tdNlc16jbq2sH3L UriMnUHbIu0LyU6N0156fs4WAFTfDXiBO+TmKXqZEM5VQM8FNNqlFHxvH4VFTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265204 Bug ID: 265204 Summary: USB messages reporting failure to set address, eventually disabling a port, which nevertheless works Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: mefistofelez@hotmail.com Fresh install of 13.1-Release, the following messages appear upon kernel be= ing loaded (without any USB devices attached to any port on the motherboard): Code: usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_IOERROR, igno= red) usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR Setting hw.usb.debug=3D-1 in the /boot/loader.conf per recommendation in th= e Bug 262882 stops the above messages, but new messages: Code: ugen1.2: at usbus1 (disconnected) uhub_reattach_port: could not allocate new device appear, with a frequency of about 2Hz, eventually (about 10-20 min) ending with: Code: uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 System unresponsive until ENTER on PS/2 keyboard is pressed, then it return= s to prompt, without any further messages. Problem was also reproduced on 13.0-RELEASE, and is reproducible on every reboot. Based on the last two messages, the problem could be attributed to the hardware, except: (i) both FreeBSD RELEASEs were installed from all (exter= nal) USB ports on the motherboard, i.e, including the port identified as no 3 in= the motherboard's documentation, (ii) USB flash drive is recognized by the currently installed 13.1_RELEASE when inserted in the alleged port 3, supposedly disabled, and (iii) other OSs (Windows 7 and 10) do not exhibit = the problem, i.e., no messages, and all USB ports functioning. --=20 You are receiving this mail because: You are the assignee for the bug.=