From nobody Tue May 03 19:56:14 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 33A791ACF8DD for ; Tue, 3 May 2022 19:56:15 +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 4Kt9gy6rZlz4ZBW for ; Tue, 3 May 2022 19:56:14 +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 C89742483D for ; Tue, 3 May 2022 19:56:14 +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 243JuEPW051048 for ; Tue, 3 May 2022 19:56:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 243JuE5T051047 for usb@FreeBSD.org; Tue, 3 May 2022 19:56:14 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 262882] [13.1-RC5] usb disconnects repeatedly, losing all attached devices on that USB hub Date: Tue, 03 May 2022 19:56:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=1651607775; 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: in-reply-to:in-reply-to:references:references; bh=7MYcqgcne9aAZtCzB1FToUcIKxNzNsyOmjnwRnsif90=; b=x5JckXRCpKcNQ66+fZEfbIacwttOjFgn7IxYIjcuY9qF4JkgTnOuygIPyz3k/gcfNzvCLu FfQJ4SmLV8RxXv+SI2u2doyOuEifjYsxKNpkKqrf0ddYCOjl4z+RW9+jpRRV/n8OaTXWkr MamNvkMBFDTAAgs/vy//++1SFwzAwgwd7h1dRd/7s5qmmfVICFaoKlkwbuczTkP7/tq8uL ER6cz+oaV8/K4Xo8YtyLzcJsqaM38W7HstPmAV743TKuxPOPjHKXJ3JSGEh81obaYEVIWM eqBW4V5N+et55gf9tYj9huuUFUJk1hFlCGlESOp4WpXIPNwJ+ggZM9ANbUdGWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651607775; a=rsa-sha256; cv=none; b=KjrqKKw+09DkrrOdo5OyzrJsfFpXfvKWrDPLPuFkZp0dFeY+LA90sxJhCLQvoelWZJjlVN LkMoyY+JBfHnSOkMD/nmQKtIXqJ4Goy9bOYZ2h1w3aoNRJT9+zSY5xcCqCrdnHDuK7KEi9 f3nL82e3gyUFb9rB0G/7grM8Mf4K1oPwUeP6tbf4Yb4bp6NCiZpU/6U/hQqdmMn6UVh535 Eag3l16vh3i6UdAjjkDB3inMUjCK8Q9LxQHcyPbywLIkid0UFpE4pse0USMpZHm/Gu/lrW WlGjHGdMnS4pjau+GQofO2DPY6X6hZtNqmuy08VgQC7PPlemcIhRvAmq89yyEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262882 --- Comment #95 from Mark Millard --- (In reply to Mark Millard from comment #86) The messages that I've reported getting for USB 3.1 ports when the NVMe SSD USB3 devices are plugged in: uhub_reattach_port: port 2 U1 timeout failed, error=3DUSB_ERR_IOERROR uhub_reattach_port: port 2 U2 timeout failed, error=3DUSB_ERR_IOERROR seem to be tied to code that looks like (U1 case shown): case C(UR_SET_FEATURE, UT_WRITE_CLASS_OTHER): i =3D index >> 8; index &=3D 0x00FF; if ((index < 1) || (index > sc->sc_noport)) { err =3D USB_ERR_IOERROR; goto done; } port =3D XHCI_PORTSC(index); v =3D XREAD4(sc, oper, port) & ~XHCI_PS_CLEAR; switch (value) { case UHF_PORT_U1_TIMEOUT: if (XHCI_PS_SPEED_GET(v) !=3D 4) { err =3D USB_ERR_IOERROR; goto done; } So it seems to be not getting the speed-mode it expects and it treats that as an error status. I've no clue if the speed-mode should be guaranteed as the code suggests at the point of plugging an NMVe SSD into a USB 3.1 port or not. But it sure looks like a distinct issue from the original buzilla submittal. --=20 You are receiving this mail because: You are the assignee for the bug.=