From owner-freebsd-usb@freebsd.org Sun Apr 28 21:00:52 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12DC21589555 for ; Sun, 28 Apr 2019 21:00:52 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3D7752F0 for ; Sun, 28 Apr 2019 21:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5297A1589550; Sun, 28 Apr 2019 21:00:51 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 407D8158954F for ; Sun, 28 Apr 2019 21:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDC7D752DC for ; Sun, 28 Apr 2019 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 019BD120CA for ; Sun, 28 Apr 2019 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3SL0nkP044502 for ; Sun, 28 Apr 2019 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3SL0ntf044496 for usb@FreeBSD.org; Sun, 28 Apr 2019 21:00:49 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201904282100.x3SL0ntf044496@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 28 Apr 2019 21:00:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 21:00:52 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F Open | 233884 | Corsair CORSAIR K70 RGB MK.2 / K63 / K63 Wireless Open | 234578 | Support for Sierra Wireless EM7455 modem 3 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Tue Apr 30 08:22:47 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 820AC1588642 for ; Tue, 30 Apr 2019 08:22:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 18D6593176 for ; Tue, 30 Apr 2019 08:22:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CDC0F1588641; Tue, 30 Apr 2019 08:22:46 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC3B31588640 for ; Tue, 30 Apr 2019 08:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 559BA93175 for ; Tue, 30 Apr 2019 08:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8233B54B7 for ; Tue, 30 Apr 2019 08:22:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U8MjvU073524 for ; Tue, 30 Apr 2019 08:22:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U8MjfB073523 for usb@FreeBSD.org; Tue, 30 Apr 2019 08:22:45 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 08:22:45 +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: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: schmidt@ze.tum.de 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 attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 08:22:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 Bug ID: 237666 Summary: repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: schmidt@ze.tum.de Created attachment 204107 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204107&action= =3Dedit dmesg.boot from the maschin I've just updated my System from FreeBSD 11.1-Release to FreeBSD 12.0-Relea= se.=20 After Booting i get every second the message=20 uhub_reattach_port: giving up port reset - device vanished I've disconnected all external usb devices (including mouse and keyboard) t= he messages continue.=20 I've use the Hardware for at least 4 years now. No such problem in the past. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 08:44:27 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D3361588FAB for ; Tue, 30 Apr 2019 08:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E96DA93CCE for ; Tue, 30 Apr 2019 08:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AD73F1588FAA; Tue, 30 Apr 2019 08:44:26 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BED71588FA9 for ; Tue, 30 Apr 2019 08:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31F5993CCC for ; Tue, 30 Apr 2019 08:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7F8095782 for ; Tue, 30 Apr 2019 08:44:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U8iPuD020174 for ; Tue, 30 Apr 2019 08:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U8iPj6020173 for usb@FreeBSD.org; Tue, 30 Apr 2019 08:44:25 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 08:44:25 +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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status flagtypes.name keywords 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 08:44:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Flags| |mfc-stable11?, | |mfc-stable12? Keywords| |needs-qa, regression --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 09:06:56 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AF901589AB1 for ; Tue, 30 Apr 2019 09:06:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1BA6A94D2D for ; Tue, 30 Apr 2019 09:06:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D13221589AB0; Tue, 30 Apr 2019 09:06:55 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFC321589AAE for ; Tue, 30 Apr 2019 09:06:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C56694D28 for ; Tue, 30 Apr 2019 09:06:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9A2735A75 for ; Tue, 30 Apr 2019 09:06:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3U96sox070371 for ; Tue, 30 Apr 2019 09:06:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3U96sct070370 for usb@FreeBSD.org; Tue, 30 Apr 2019 09:06:54 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 09:06:54 +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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 09:06:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Can you try a 12-stable based kernel? I suspect APCI changes might have turned on something in the hardware which= was off before. USB changes are down to a minimum. The only relevant change I can think of is this one: https://svnweb.freebsd.org/changeset/base/343134 --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 10:28:00 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0632F158C21A for ; Tue, 30 Apr 2019 10:28:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 909E097FAC for ; Tue, 30 Apr 2019 10:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4E17D158C216; Tue, 30 Apr 2019 10:27:59 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C698158C215 for ; Tue, 30 Apr 2019 10:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE9FE97FA9 for ; Tue, 30 Apr 2019 10:27:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0FC0B65E8 for ; Tue, 30 Apr 2019 10:27:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UARvj2078311 for ; Tue, 30 Apr 2019 10:27:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UARv6b078310 for usb@FreeBSD.org; Tue, 30 Apr 2019 10:27:57 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 10:27:58 +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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: schmidt@ze.tum.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 10:28:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 --- Comment #2 from schmidt@ze.tum.de --- I've build a stable kernel and booted with it.=20 The Problems are still there.=20 If it's only the messages i could live with that but my keyboard and mouse behave strangely.=20 I about 30 sec after boot mouse and keyboard are stuck and only disconnecti= ng the keyboard revive keyboard and mouse. X11 lags sometimes. I think it's the usb resets the freeze everything.=20 I have the dmesg from the stable kernel attached.=20 If anything under stable the problems with keyboard are more pronounced. Ke= ys repeating or missing without reason. So I'm back with the release kernel. Regards=20 Estartu --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 10:28:53 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95A8A158C279 for ; Tue, 30 Apr 2019 10:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC6168024 for ; Tue, 30 Apr 2019 10:28:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5AC5158C278; Tue, 30 Apr 2019 10:28:52 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3D84158C277 for ; Tue, 30 Apr 2019 10:28:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7028668021 for ; Tue, 30 Apr 2019 10:28:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AF4FC65E9 for ; Tue, 30 Apr 2019 10:28:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UASpoR079443 for ; Tue, 30 Apr 2019 10:28:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UASpNT079442 for usb@FreeBSD.org; Tue, 30 Apr 2019 10:28:51 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 10:28:51 +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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: schmidt@ze.tum.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 10:28:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 --- Comment #3 from schmidt@ze.tum.de --- Created attachment 204110 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204110&action= =3Dedit dmesg.boot with stable kernel an verbose on --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 10:29:26 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEF10158C2D2 for ; Tue, 30 Apr 2019 10:29:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 48EA268076 for ; Tue, 30 Apr 2019 10:29:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0D072158C2D1; Tue, 30 Apr 2019 10:29:26 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEDCE158C2D0 for ; Tue, 30 Apr 2019 10:29:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AAED68072 for ; Tue, 30 Apr 2019 10:29:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C7C2465EC for ; Tue, 30 Apr 2019 10:29:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UATOfQ080185 for ; Tue, 30 Apr 2019 10:29:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UATOgX080184 for usb@FreeBSD.org; Tue, 30 Apr 2019 10:29:24 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 237666] repeated messages of "uhub_reattach_port: giving up port reset - device vanished" Date: Tue, 30 Apr 2019 10:29:24 +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: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: schmidt@ze.tum.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 10:29:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237666 --- Comment #4 from schmidt@ze.tum.de --- Created attachment 204111 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204111&action= =3Dedit dmesg.boot with stable kernel an verbose off --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 18:21:45 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49BAA1599E03 for ; Tue, 30 Apr 2019 18:21:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D6EDC86B19 for ; Tue, 30 Apr 2019 18:21:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9B22C1599E02; Tue, 30 Apr 2019 18:21:44 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88F731599E01 for ; Tue, 30 Apr 2019 18:21:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F349C86B16 for ; Tue, 30 Apr 2019 18:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 44F46AA4C for ; Tue, 30 Apr 2019 18:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UILhSA093541 for ; Tue, 30 Apr 2019 18:21:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UILh3v093529 for usb@FreeBSD.org; Tue, 30 Apr 2019 18:21:43 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 237673] TP-Link WN-822N v5, unable to connect using WPA-PSK. Date: Tue, 30 Apr 2019 18:21:43 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adnaan404@gmail.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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 18:21:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237673 Bug ID: 237673 Summary: TP-Link WN-822N v5, unable to connect using WPA-PSK. Product: Base System Version: 12.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: adnaan404@gmail.com I have the TP-Link WN-822N v5 but I am unable to connect to WPA networks and authentication doesn't seem to work; I get; Created wlan(4) interfaces: wlan0. wpa_supplicant already running? (pid=3D2980). Starting dhclient. Cannot open or create pidfile: No such file or directory wlan0: no link .............. giving up /etc/rc.d/dhclient: WARNING: failed to start dhclient My device isn't listed under rtwn_usb. The device is detected:=20 dmesg: rtwn0 on uhub0 rtwn0: <802.11n NIC > on usbus0 rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Apr 30 18:24:05 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94CFE1599E8C for ; Tue, 30 Apr 2019 18:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2489986D5D for ; Tue, 30 Apr 2019 18:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D9C261599E8B; Tue, 30 Apr 2019 18:24:04 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F3191599E8A for ; Tue, 30 Apr 2019 18:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B21986D5C for ; Tue, 30 Apr 2019 18:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4DF73AB81 for ; Tue, 30 Apr 2019 18:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UIO3fx064934 for ; Tue, 30 Apr 2019 18:24:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3UIO3e8064924 for usb@FreeBSD.org; Tue, 30 Apr 2019 18:24:03 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 237673] TP-Link WN-822N v5, unable to connect using WPA-PSK. Date: Tue, 30 Apr 2019 18:24:03 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: adnaan404@gmail.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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 18:24:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237673 --- Comment #1 from adnaan404@gmail.com --- further info ifconfig; wlan0: flags=3D8843 metric 0 mtu 15= 00 ether 50:3e:aa:5d:6f:71 groups: wlan ssid "" channel 11 (2462 MHz 11g ht/20) regdomain FCC country US authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS ht20 ampdulimit 8k ampdudensity 16 shortgi -stbc -ldpc wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=3D29 script wpa-dbg.txt wpa_supplicant -i wlan0 -d -c /etc/wpa_supplicant.conf; root@NomadBSD:/home/nomad # wpa_suppkl [K [Klicant -i wlan0 -d -c /etc/wpa_supplki [K [Kicant.co nf wpa_supplicant v2.6 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'defa= ult' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' wpa_driver_bsd_capa: drivercaps=3D0x0591c541,cryptocaps=3D0x0000000b Add interface wlan0 to a new radio N/A wlan0: Own MAC address: 50:3e:aa:5d:6f:71 bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D0 set_tx=3D0 seq_len=3D0 key_len= =3D0 bsd_del_key: key_idx=3D0 bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D1 set_tx=3D0 seq_len=3D0 key_len= =3D0 bsd_del_key: key_idx=3D1 bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D2 set_tx=3D0 seq_len=3D0 key_len= =3D0 bsd_del_key: key_idx=3D2 bsd_set_key: alg=3D0 addr=3D0x0 key_idx=3D3 set_tx=3D0 seq_len=3D0 key_len= =3D0 bsd_del_key: key_idx=3D3 wpa_driver_bsd_set_countermeasures: enabled=3D0 wlan0: RSN: flushing PMKID list in the driver wlan0: State: DISCONNECTED -> INACTIVE wlan0: WPS: UUID based on MAC address: d17a653f-a2cf-570c-a935-79bc2c577dc2 ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED wlan0: Added interface wlan0 wlan0: State: INACTIVE -> DISCONNECTED EAPOL: disable timer tick ^Cwlan0: Removing interface wlan0 wlan0: Request to deauthenticate - bssid=3D00:00:00:00:00:00 pending_bssid=3D00:00:00:00:00:00 reason=3D3 state=3DDISCONNECTED wlan0: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=3D0 EAPOL: External notification - portValid=3D0 wpa_driver_bsd_set_countermeasures: enabled=3D0 wlan0: WPA: Clear old PMK and PTK wlan0: Cancelling scan request wlan0: Cancelling authentication timeout HS20: Delete all stored icons Remove interface wlan0 from radio Remove radio wpa_driver_bsd_set_wpa: enabled=3D0 wpa_driver_bsd_set_wpa_internal: wpa=3D0 privacy=3D0 bsd_set_opt_ie: set WPA+RSN ie (len 0) wpa_driver_bsd_set_wpa_internal: wpa=3D0 privacy=3D0 bsd_set_opt_ie: set WPA+RSN ie (len 0) wlan0: CTRL-EVENT-TERMINATING --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed May 1 09:17:14 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBC5A1586D6B for ; Wed, 1 May 2019 09:17:14 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 705D76D321 for ; Wed, 1 May 2019 09:17:11 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail06.adl6.internode.on.net with ESMTP; 01 May 2019 18:30:58 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x4190gPY043345 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 1 May 2019 18:30:52 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x418YCQd022032 for ; Wed, 1 May 2019 18:04:12 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by [118.211.90.89] (envelope-sender ) (MIMEDefang) with ESMTP id x418Y6jc022031; Wed, 01 May 2019 18:04:12 +0930 From: "O'Connor, Daniel" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Date: Wed, 1 May 2019 18:04:06 +0930 Subject: USB transfers in device drivers Message-Id: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> To: freebsd-usb@freebsd.org X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 705D76D321 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [7.59 / 15.00]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[145.137.101.150.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.940,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dons.net.au]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,body]; IP_SCORE(3.26)[ip: (9.89), ipnet: 150.101.0.0/16(4.32), asn: 4739(2.11), country: AU(-0.01)] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2019 09:17:15 -0000 Hi, I have a device driver for a USB device (a custom Cypress FX2 based = board) that is relatively simple - it uses the USB FIFO code to create 3 = FIFOs (one bidirectional slow serial interface, one device->PC fast = parallel interface from a hardware FIFO) plus a bunch of ioctls for = getting the FX2 firmware to do various things. We have been having issues on some systems where the hardware FIFO that = the FX2 reads (and sends to the PC) fills up, it has about 50msec (96k) = of buffering (at ~2MByte/sec) which seems like quite a lot to me (given = the driver sets the USB FIFO to buffer 2048 8k chunks..). I don't have a solid hypothesis for the failures as yes but one thing = I'd like to make sure is that the USB stack is keeping the USB hardware = busy with pending requests - does anyone know if the USB FIFO code does = that automatically? I'm currently testing doing 96k transfers (this is the maximum without = some significant reworking) and the FIFO is 16MByte in size but it still = fails so any suggestions welcome.. The FreeBSD version at this site is very old (9.3) so we are going to = update it but it's not easy as the site is quite remote. The hardware in question is a Supermicro X10SLM-F (Intel C224 Express) = with an E3-1220 v3 at 3.1GHz, it also has an LSI MegaRAID SAS 9271-4i = with 4 disks in RAID-5. Unfortunately I do not have ready access to a = similar system here which is annoying.. Any suggestions welcome! PS please CC me on replies. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-usb@freebsd.org Wed May 1 20:46:05 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57CD215A0934 for ; Wed, 1 May 2019 20:46:05 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BBA28CE74 for ; Wed, 1 May 2019 20:46:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 44F4626026E; Wed, 1 May 2019 22:46:01 +0200 (CEST) Subject: Re: USB transfers in device drivers To: "O'Connor, Daniel" , freebsd-usb@freebsd.org References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> From: Hans Petter Selasky Message-ID: Date: Wed, 1 May 2019 22:45:33 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1BBA28CE74 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; IP_SCORE(-2.53)[ip: (-8.91), ipnet: 2a01:4f8::/29(-2.05), asn: 24940(-1.69), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2019 20:46:05 -0000 On 2019-05-01 10:34, O'Connor, Daniel wrote: > I don't have a solid hypothesis for the failures as yes but one thing I'd like to make sure is that the USB stack is keeping the USB hardware busy with pending requests - does anyone know if the USB FIFO code does that automatically? Only the XHCI driver supports HW based double buffering of BULK transfers. I suppose you are using BULK. Else you will need to use ISOCHRONOUS transfers. --HPS From owner-freebsd-usb@freebsd.org Thu May 2 08:31:15 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00B75158D1F4 for ; Thu, 2 May 2019 08:31:15 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 6991883939 for ; Thu, 2 May 2019 08:31:10 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail07.adl2.internode.on.net with ESMTP; 02 May 2019 18:00:59 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x428UhBG036952 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 2 May 2019 18:00:53 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x428MBgg029848 for ; Thu, 2 May 2019 17:52:11 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by [118.211.90.89] (envelope-sender ) (MIMEDefang) with ESMTP id x428M671029846; Thu, 02 May 2019 17:52:11 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: Date: Thu, 2 May 2019 17:52:05 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 6991883939 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.60 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.95)[0.953,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; HAS_XAW(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[dons.net.au]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(2.26)[ip: (4.88), ipnet: 150.101.0.0/16(4.32), asn: 4739(2.10), country: AU(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[131.137.101.150.list.dnswl.org : 127.0.5.1] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 08:31:15 -0000 > On 2 May 2019, at 06:15, Hans Petter Selasky wrote: > On 2019-05-01 10:34, O'Connor, Daniel wrote: >> I don't have a solid hypothesis for the failures as yes but one thing = I'd like to make sure is that the USB stack is keeping the USB hardware = busy with pending requests - does anyone know if the USB FIFO code does = that automatically? >=20 > Only the XHCI driver supports HW based double buffering of BULK = transfers. Ahh interesting - is that a ECHI hardware limitation or a driver one? > I suppose you are using BULK. Else you will need to use ISOCHRONOUS = transfers. Yes it's using bulk transfers. I did consider isochronous transfers when I started this project but I = wasn't sure if there would be enough bandwidth (but perhaps I read the = spec wrong). I imagine there would be enough for this data rate but we = have others at higher speeds (eg 35MB/sec). Related to bandwidth - are there any statistics gathered about how busy = a port is? Thanks -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-usb@freebsd.org Thu May 2 08:37:23 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01017158D4B3 for ; Thu, 2 May 2019 08:37:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6FE283B10 for ; Thu, 2 May 2019 08:37:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 1454E26026E; Thu, 2 May 2019 10:37:20 +0200 (CEST) Subject: Re: USB transfers in device drivers To: "O'Connor, Daniel" Cc: freebsd-usb@freebsd.org References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> From: Hans Petter Selasky Message-ID: Date: Thu, 2 May 2019 10:36:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: D6FE283B10 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.44 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; IP_SCORE(-3.16)[ip: (-9.38), ipnet: 88.99.0.0/16(-4.72), asn: 24940(-1.69), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 08:37:23 -0000 On 2019-05-02 10:22, O'Connor, Daniel wrote: > > >> On 2 May 2019, at 06:15, Hans Petter Selasky wrote: >> On 2019-05-01 10:34, O'Connor, Daniel wrote: >>> I don't have a solid hypothesis for the failures as yes but one thing I'd like to make sure is that the USB stack is keeping the USB hardware busy with pending requests - does anyone know if the USB FIFO code does that automatically? >> >> Only the XHCI driver supports HW based double buffering of BULK transfers. > > Ahh interesting - is that a ECHI hardware limitation or a driver one? Hi, It is an EHCI hardware "limitation". It is possible to queue up more jobs with the EHCI, but it ends that you get a race with the hardware you'll need to catch. I think it is related to how receiving short packets are handled. > >> I suppose you are using BULK. Else you will need to use ISOCHRONOUS transfers. > > Yes it's using bulk transfers. > > I did consider isochronous transfers when I started this project but I wasn't sure if there would be enough bandwidth (but perhaps I read the spec wrong). I imagine there would be enough for this data rate but we have others at higher speeds (eg 35MB/sec). If you want reliable data transfer, BULK is the best. > > Related to bandwidth - are there any statistics gathered about how busy a port is? No, but I wanted to add a text-graph frontent to usbdump to collect this info realtime. Else use a USB wire-analyzer. --HPS From owner-freebsd-usb@freebsd.org Thu May 2 09:47:18 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CF77158ECD4 for ; Thu, 2 May 2019 09:47:18 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 4997585CD0 for ; Thu, 2 May 2019 09:47:16 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail03.adl6.internode.on.net with ESMTP; 02 May 2019 19:00:52 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x429UhwM078977 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 2 May 2019 19:00:45 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x429IfvD068329 for ; Thu, 2 May 2019 18:48:41 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by [118.211.90.89] (envelope-sender ) (MIMEDefang) with ESMTP id x429IZh5068327; Thu, 02 May 2019 18:48:41 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: Date: Thu, 2 May 2019 18:48:34 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: 1.3 (*) No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4997585CD0 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [7.51 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[143.137.101.150.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.966,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,body]; IP_SCORE(3.15)[ip: (9.37), ipnet: 150.101.0.0/16(4.32), asn: 4739(2.10), country: AU(-0.01)] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 09:47:18 -0000 > On 2 May 2019, at 18:06, Hans Petter Selasky wrote: > On 2019-05-02 10:22, O'Connor, Daniel wrote: >>> On 2 May 2019, at 06:15, Hans Petter Selasky = wrote: >>> On 2019-05-01 10:34, O'Connor, Daniel wrote: >>>> I don't have a solid hypothesis for the failures as yes but one = thing I'd like to make sure is that the USB stack is keeping the USB = hardware busy with pending requests - does anyone know if the USB FIFO = code does that automatically? >>>=20 >>> Only the XHCI driver supports HW based double buffering of BULK = transfers. >> Ahh interesting - is that a ECHI hardware limitation or a driver one? >=20 > It is an EHCI hardware "limitation". It is possible to queue up more = jobs with the EHCI, but it ends that you get a race with the hardware = you'll need to catch. I think it is related to how receiving short = packets are handled. OK, thanks. To be honest I would much prefer to work out why this particular = hardware & software seem to drop the ball for such a long time - 50msec = without the kernel getting to schedule something (on a basically idle = system) is quite perplexing to me. >>> I suppose you are using BULK. Else you will need to use ISOCHRONOUS = transfers. >> Yes it's using bulk transfers. >> I did consider isochronous transfers when I started this project but = I wasn't sure if there would be enough bandwidth (but perhaps I read the = spec wrong). I imagine there would be enough for this data rate but we = have others at higher speeds (eg 35MB/sec). >=20 > If you want reliable data transfer, BULK is the best. OK, yes, has to be reliable :) >> Related to bandwidth - are there any statistics gathered about how = busy a port is? >=20 > No, but I wanted to add a text-graph frontent to usbdump to collect = this info realtime. Else use a USB wire-analyzer. I wondered about this too, probably easier than instrumenting the EHCI = driver I suppose. Sadly I don't have a USB analyser and even if I did the system in = question is in another country :( -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-usb@freebsd.org Thu May 2 10:32:39 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FA87158FC85 for ; Thu, 2 May 2019 10:32:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50CD2873A7 for ; Thu, 2 May 2019 10:32:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7A25B260354; Thu, 2 May 2019 12:32:35 +0200 (CEST) Subject: Re: USB transfers in device drivers To: "O'Connor, Daniel" Cc: freebsd-usb@freebsd.org References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> From: Hans Petter Selasky Message-ID: Date: Thu, 2 May 2019 12:32:07 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 50CD2873A7 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.88)[-0.884,0]; IP_SCORE(-2.53)[ip: (-8.91), ipnet: 2a01:4f8::/29(-2.06), asn: 24940(-1.69), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 10:32:39 -0000 On 2019-05-02 11:18, O'Connor, Daniel wrote: > OK, thanks. > To be honest I would much prefer to work out why this particular hardware & software seem to drop the ball for such a long time - 50msec without the kernel getting to schedule something (on a basically idle system) is quite perplexing to me. Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in hw.usb.ehci ? --HPS From owner-freebsd-usb@freebsd.org Thu May 2 11:00:56 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A5551590F27 for ; Thu, 2 May 2019 11:00:56 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 3241D889EC for ; Thu, 2 May 2019 11:00:53 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail03.adl6.internode.on.net with ESMTP; 02 May 2019 20:30:51 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x42B0hlw042452 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 2 May 2019 20:30:43 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x42AilOR028442 for ; Thu, 2 May 2019 20:14:47 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [10.0.2.26] ([10.0.2.26]) by ns.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x42Aiggq028438; Thu, 02 May 2019 20:14:47 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: Date: Thu, 2 May 2019 20:14:41 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 3241D889EC X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [7.43 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[143.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.907,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; IP_SCORE(3.14)[ip: (9.28), ipnet: 150.101.0.0/16(4.31), asn: 4739(2.10), country: AU(-0.01)] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 11:00:56 -0000 > On 2 May 2019, at 20:02, Hans Petter Selasky wrote: >=20 > On 2019-05-02 11:18, O'Connor, Daniel wrote: >> OK, thanks. >> To be honest I would much prefer to work out why this particular = hardware & software seem to drop the ball for such a long time - 50msec = without the kernel getting to schedule something (on a basically idle = system) is quite perplexing to me. >=20 > Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in = hw.usb.ehci ? No not, yet - thanks for the pointer! -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-usb@freebsd.org Thu May 2 11:04:12 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF4071591371 for ; Thu, 2 May 2019 11:04:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF516891D0 for ; Thu, 2 May 2019 11:04:11 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 20B8926026E; Thu, 2 May 2019 13:04:10 +0200 (CEST) Subject: Re: USB transfers in device drivers To: "O'Connor, Daniel" Cc: freebsd-usb@freebsd.org References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> From: Hans Petter Selasky Message-ID: <0d155a73-31b1-d901-9874-6cb017e6b5d5@selasky.org> Date: Thu, 2 May 2019 13:03:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CF516891D0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.27 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.80)[-0.798,0]; IP_SCORE(-3.16)[ip: (-9.38), ipnet: 88.99.0.0/16(-4.72), asn: 24940(-1.69), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 11:04:12 -0000 On 2019-05-02 12:44, O'Connor, Daniel wrote: > > >> On 2 May 2019, at 20:02, Hans Petter Selasky wrote: >> >> On 2019-05-02 11:18, O'Connor, Daniel wrote: >>> OK, thanks. >>> To be honest I would much prefer to work out why this particular hardware & software seem to drop the ball for such a long time - 50msec without the kernel getting to schedule something (on a basically idle system) is quite perplexing to me. >> >> Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in hw.usb.ehci ? > > No not, yet - thanks for the pointer! The 50ms delay may also be due to a physical link data error and needed recovery through clear stall which is expensive. --HPS From owner-freebsd-usb@freebsd.org Thu May 2 12:00:55 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC6D015939F0 for ; Thu, 2 May 2019 12:00:55 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 16B928BD37 for ; Thu, 2 May 2019 12:00:52 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail07.adl2.internode.on.net with ESMTP; 02 May 2019 21:30:50 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x42C0hdV084547 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 2 May 2019 21:30:44 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x42Bcf2o067020 for ; Thu, 2 May 2019 21:08:41 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [10.0.2.26] ([10.0.2.26]) by ns.dons.net.au (envelope-sender ) (MIMEDefang) with ESMTP id x42BcZXa067014; Thu, 02 May 2019 21:08:41 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: <0d155a73-31b1-d901-9874-6cb017e6b5d5@selasky.org> Date: Thu, 2 May 2019 21:08:35 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <612D5BA0-8580-4CA0-9D8F-67E7D60B2692@dons.net.au> References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> <0d155a73-31b1-d901-9874-6cb017e6b5d5@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: -1 () No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 16B928BD37 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.59 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.98)[0.976,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; HAS_XAW(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[dons.net.au]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(2.23)[ip: (4.74), ipnet: 150.101.0.0/16(4.31), asn: 4739(2.10), country: AU(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[131.137.101.150.list.dnswl.org : 127.0.5.1] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 12:00:55 -0000 > On 2 May 2019, at 20:33, Hans Petter Selasky wrote: >=20 > On 2019-05-02 12:44, O'Connor, Daniel wrote: >>> On 2 May 2019, at 20:02, Hans Petter Selasky = wrote: >>>=20 >>> On 2019-05-02 11:18, O'Connor, Daniel wrote: >>>> OK, thanks. >>>> To be honest I would much prefer to work out why this particular = hardware & software seem to drop the ball for such a long time - 50msec = without the kernel getting to schedule something (on a basically idle = system) is quite perplexing to me. >>>=20 >>> Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in = hw.usb.ehci ? >> No not, yet - thanks for the pointer! >=20 > The 50ms delay may also be due to a physical link data error and = needed recovery through clear stall which is expensive. >=20 I see the same error on different hardware sets (both motherboard and = USB device) so I don't think it's that. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-usb@freebsd.org Thu May 2 17:02:08 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E8AA159B34A for ; Thu, 2 May 2019 17:02:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3225697330 for ; Thu, 2 May 2019 17:02:07 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 4F6E7260197; Thu, 2 May 2019 19:02:05 +0200 (CEST) Subject: Re: USB transfers in device drivers To: "O'Connor, Daniel" Cc: freebsd-usb@freebsd.org References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> <0d155a73-31b1-d901-9874-6cb017e6b5d5@selasky.org> <612D5BA0-8580-4CA0-9D8F-67E7D60B2692@dons.net.au> From: Hans Petter Selasky Message-ID: <93e4ad37-bb57-b186-4743-d6ad86cd40ce@selasky.org> Date: Thu, 2 May 2019 19:01:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <612D5BA0-8580-4CA0-9D8F-67E7D60B2692@dons.net.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3225697330 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.42 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; IP_SCORE(-3.16)[ip: (-9.38), ipnet: 88.99.0.0/16(-4.72), asn: 24940(-1.70), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 17:02:08 -0000 On 2019-05-02 13:38, O'Connor, Daniel wrote: > > >> On 2 May 2019, at 20:33, Hans Petter Selasky wrote: >> >> On 2019-05-02 12:44, O'Connor, Daniel wrote: >>>> On 2 May 2019, at 20:02, Hans Petter Selasky wrote: >>>> >>>> On 2019-05-02 11:18, O'Connor, Daniel wrote: >>>>> OK, thanks. >>>>> To be honest I would much prefer to work out why this particular hardware & software seem to drop the ball for such a long time - 50msec without the kernel getting to schedule something (on a basically idle system) is quite perplexing to me. >>>> >>>> Sounds like a lost IRQ issue. Did you try any of the EHCI quirks in hw.usb.ehci ? >>> No not, yet - thanks for the pointer! >> >> The 50ms delay may also be due to a physical link data error and needed recovery through clear stall which is expensive. >> > > I see the same error on different hardware sets (both motherboard and USB device) so I don't think it's that. > If you can check if a USB BULK transfer is pending during this delay, then it might also be a firmware issue. --HPS From owner-freebsd-usb@freebsd.org Thu May 2 17:26:18 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 301B5159C1B4 for ; Thu, 2 May 2019 17:26:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B308F6850C for ; Thu, 2 May 2019 17:26:16 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x32f.google.com with SMTP id f23so2807268otl.9 for ; Thu, 02 May 2019 10:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=14cw249BS8jsP+RYB/HWr6ojqq6o0QExjWJ+Yh09SiM=; b=UK0iqsKzmmxscTCeC+o9sTnBijRHONbwrUjRTpsuTElxiKMTa0xYaorRjnvjuxYiSU ZwLuANFEsBw+Nt6RFT2YonQj/2ZMwzoe2T3M5vY5mBj4UCHKJB8tfOvBDY1wanwUUZt0 rLhjc3eHIF/BmrxeQbSt/Kvv9aFetDqeirbX+/2Qc1lEM2lSBZAQy5nnXYgWBW/rx4Vk KaoDuRWPN4uKT8+j6XIakhFskETkDN6SmgcgUlpyJeS7MqOrOtbwYJbeZYdzc8hUGOMX ke7iSIo0RFtC1LvVYDxwSYV1LRW6XhcGwGgqkN9wYstOSwYnmjtY29Gw/x3zXKXMrf0X xS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=14cw249BS8jsP+RYB/HWr6ojqq6o0QExjWJ+Yh09SiM=; b=WX6c8RybeIY7U5AMJYcQGJobEDQXLnsBzSJ2ySPX+scSuNVgbcUMWT8O5+TLnsuho8 hK3BPszWZsWk25uhz8HPY4kQgMdFkvQIcq4hguTwYV+NFZFQ7SqmXUaSC2yg/8+E07Fz vk2tkIuUL2Q5jUtzxo1Mnfm9Lgme1E0gYbXiTj5eFDmDpPHAtU280lSiURy+ynek8bp4 BaQpkzNZ2CNpT1j0oiAUIxAKbyY9SyfYt8rYvFsMv7mf9Lq++vA43+Qj5+opaogHdATc nh2E3xS8HsZmat1ytAUeemXs1L0W6/qgnMCj6UktcTsp7NjjFHTYl9GnTMpsf1mIbYtM O2Qg== X-Gm-Message-State: APjAAAUHcDJt/wXIqoTWdIgy6rQJkihanET7naZkaSzkrs6V+h8F0VFK KcrUtm5ZcoWcmXBFoGBW/n5fuuHaFP0Feg== X-Google-Smtp-Source: APXvYqz8ltwx+xgjspOIW8tGTmSKuRbdf9jRux2WQzlymxnz/WEBvZTbLxnlAtm8lcmSFxLJayvSsg== X-Received: by 2002:a05:6830:1359:: with SMTP id r25mr3632075otq.317.1556817975352; Thu, 02 May 2019 10:26:15 -0700 (PDT) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com. [209.85.210.47]) by smtp.gmail.com with ESMTPSA id w12sm7282903otp.63.2019.05.02.10.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 10:26:14 -0700 (PDT) Received: by mail-ot1-f47.google.com with SMTP id f23so2807195otl.9; Thu, 02 May 2019 10:26:14 -0700 (PDT) X-Received: by 2002:a9d:648f:: with SMTP id g15mr3266058otl.220.1556817974109; Thu, 02 May 2019 10:26:14 -0700 (PDT) MIME-Version: 1.0 From: Tomasz CEDRO Date: Thu, 2 May 2019 19:26:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: VirtualBox Extensions Pack (for USB and Video) To: "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B308F6850C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=UK0iqsKz X-Spamd-Result: default: False [-6.19 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; MX_GOOD(-0.01)[ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ASPMX2.GOOGLEMAIL.COM,ALT1.ASPMX.L.GOOGLE.COM,ASPMX5.GOOGLEMAIL.COM,ASPMX3.GOOGLEMAIL.COM,ASPMX4.GOOGLEMAIL.COM]; RCVD_IN_DNSWL_NONE(0.00)[f.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; IP_SCORE(-2.91)[ip: (-9.04), ipnet: 2607:f8b0::/32(-3.19), asn: 15169(-2.25), country: US(-0.06)] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 17:26:18 -0000 Hello world! Are there any plans to implement VirtualBox Extension Pack on FreeBSD? That would allow USB 2.0 + 3.0 support and better screen acceleration + integration, etc. USB support seems most desirable and important, especially for hardware hacking which is quite limited at the moment to USB 1.0. With great USB stack that FreeBSD already has it should be possible to implement those Extensions for VirtualBox right? :-) Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-usb@freebsd.org Thu May 2 18:25:03 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A5D2159DD19; Thu, 2 May 2019 18:25:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C30D6C8E2; Thu, 2 May 2019 18:25:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (static-71-168-218-4.cmdnnj.fios.verizon.net [71.168.218.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jkim/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DC043E1F6; Thu, 2 May 2019 18:25:02 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: VirtualBox Extensions Pack (for USB and Video) To: Tomasz CEDRO , "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List References: From: Jung-uk Kim Openpgp: preference=signencrypt Autocrypt: addr=jkim@FreeBSD.org; prefer-encrypt=mutual; keydata= mQENBFJBztUBCAChqNyGqmFuNo0U7MBzsD+q/G6Cv0l7LGVrOAsgh34M8wIWhD+tztDWMVfn AhxNDd0ceCj2bYOe67sTQxAScEcbt2FfvPOLp9MEXb9qohZj172Gwkk7dnhOhZZKhVGVZKM4 NcsuBDUzgf4f3Vdzj4wg6WlqplnTZo8lPE4hZWvZHoFIyunPTJWenybeV1xnxK7JkUdSvQR0 fA59RfTTECMwTrSEfYGUnxIDBraxJ7Ecs/0hGQ7sljIj8WBvlRDU5fU1xfF35aw56T8POQRq F4E6RVJW3YGuTpSwgtGZOTfygcLRhAiq3dFC3JNLaTVTpM8PjOinJyt9AU6RoITGOKwDABEB AAG0Hkp1bmctdWsgS2ltIDxqa2ltQEZyZWVCU0Qub3JnPokBPQQTAQoAJwUCUkHO1QIbAwUJ E0/POwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRB8n5Ym/NvxRqyzB/wL7QtsIpeGfGIA ZPMtgXMucM3NWzomyQMln2j2efUkDKthzh9jBxgF53TjOr7imwIt0PT2k1bqctPrq5IRqnu9 mGroqaCLE3LG2/E3jEaao4k9PO6efwlioyivUo5NrqIQOQ4k3EAXw7d2y0Dk1VpTgdMrnUAB hj7lGlLqS4ydcrf24DdbCRGdEQwqd9DBeBgbWynxAJMgbZBhYVEyIHuQKkJ8qY0ibIPXXuF0 KYDeH0qUHtWV2K3srNyPtymUkBQD84Pl1GWRYx05XdUHDmnX0JV3lg0BfYJZgZv0ehPQrMfY Fd9abTkf9FHQYz1JtsC8wUuRgqElRd6+YAGf8Tt9uQENBFJBztUBCADLtSrP44El2VoJmH14 OFrlOgxzZnbn+Y/Gf1k12mJBiR+A+pBeRLD50p7AiTrjHRxO3cHcl9Dh0uf1VSbXgp8Or0ye iP/86fZPd4k5HXNmDTLL0HecPE08SCqGZ0W8vllQrokB1QxxRUB+fFMPJyMCjDAZ7P9fFTOS dTw1bJSTtOD8Sx8MpZUa9ti06bXFlVYDlaqSdgk181SSx+ZbSKkQR8CIMARlHwiLsa3Z9q9O EJr20HPyxe0AlTvwvFndH61hg7ds63eRvglwRnNON28VXO/lvKXq7Br/CiiyhFdKfINIx2Z5 htYq22tgGTW7mBURbIKoECFBTX9Lv6BXz6w9ABEBAAGJASUEGAEKAA8FAlJBztUCGwwFCRNP zzsACgkQfJ+WJvzb8UZcJQf+IsTCxUEqY7W/pT84sMg5/QD3s6ufTRncvq14fEOxCNq1Rf4Q 9P+tOFa8GZfKDGB2BFGIrW7uT5mlmKdK1vO6ZIA930y5kUsnCmBUEBJkE2ciSQk01aB/1o62 Q3Gk/F6BwtNY9OXiqF7AcAo+K/BMIaqb26QKeh+IIgK1NN9dQiq3ByTbl4zpGZa6MmsnnRTu mzGKt2nkz7vBzH6+hZp1OzGZikgjjhYWVFoJo1dvf/rv4obs0ZJEqFPQs/1Qa1dbkKBv6odB XJpPH0ssOluTY24d1XxTiKTwmWvHeQkOKRAIfD7VTtF4TesoZYkf7hsh3e3VwXhptSLFnEOi WwYofg== Message-ID: Date: Thu, 2 May 2019 14:24:47 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5" X-Rspamd-Queue-Id: 1C30D6C8E2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 18:25:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5 Content-Type: multipart/mixed; boundary="HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4"; protected-headers="v1" From: Jung-uk Kim To: Tomasz CEDRO , "freebsd-usb@FreeBSD.org" , freebsd-x11@freebsd.org, FreeBSD Questions Mailing List Message-ID: Subject: Re: VirtualBox Extensions Pack (for USB and Video) References: In-Reply-To: --HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 19. 5. 2., Tomasz CEDRO wrote: > Hello world! >=20 > Are there any plans to implement VirtualBox Extension Pack on FreeBSD? > That would allow USB 2.0 + 3.0 support and better screen acceleration > + integration, etc. USB support seems most desirable and important, > especially for hardware hacking which is quite limited at the moment > to USB 1.0. With great USB stack that FreeBSD already has it should be > possible to implement those Extensions for VirtualBox right? :-) Unfortunately, there is no way to port VirtualBox Extension Pack because it is NOT open sourced. In fact, it is governed by a different license. https://www.virtualbox.org/wiki/VirtualBox_PUEL Jung-uk Kim --HoMIYWBm6mj7N17U4JdQ7nejhIv8yFha4-- --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlzLNe8ACgkQfJ+WJvzb 8UbtZAf/edGSGw/GNoycyAUkLkrEZQ4mmLfhFLAXe0ZVWUlGeJghVTFDXF4/zOES stz+1OaMTddUpw4LE7Cn+DBmvNJSpzVRbrmGwDjnVoxoH/4YeTpNUOhwxlGi1UCc 0SqjlvpWFaK6zs+l71LAYisXB/ucNsZGTwfSK7Hbl6fZNGlkP5IaqWP+pP80iS5F /Wntt8lZSG+JM72l4njUD3xtoZF0T0DkC+Qsuk8hLCci7sM60SGXd2Fz6+BSECe2 9HH+CQMtlkT+Q1lBcXowKt3N4SWwe91cLlQ5mcGBzPp1NCQFZ0pGhH1llm2yFjdo mEzMWCXI3QCgTHAC8WiR0RUwt5Lkrg== =Laov -----END PGP SIGNATURE----- --XUBz798VgWEhH8aV5mvD8DKx8Dkz0WjT5-- From owner-freebsd-usb@freebsd.org Fri May 3 08:06:17 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CF871588726 for ; Fri, 3 May 2019 08:06:17 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [150.101.137.139]) by mx1.freebsd.org (Postfix) with ESMTP id A907D8CAB5 for ; Fri, 3 May 2019 08:06:13 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.90.89]) by ipmail02.adl2.internode.on.net with ESMTP; 03 May 2019 17:31:01 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id x4380hWG028535 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 3 May 2019 17:30:57 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id x437Yhat007648 for ; Fri, 3 May 2019 17:04:43 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from maelstrom.gsoft.com.au (Maelstrom.gsoft.com.au [203.31.81.59]) by [118.211.90.89] (envelope-sender ) (MIMEDefang) with ESMTP id x437YaU7007643; Fri, 03 May 2019 17:04:43 +0930 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: USB transfers in device drivers From: "O'Connor, Daniel" In-Reply-To: <93e4ad37-bb57-b186-4743-d6ad86cd40ce@selasky.org> Date: Fri, 3 May 2019 17:04:36 +0930 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <832686F8-4E93-4039-8489-B48CB3B7B809@dons.net.au> References: <3B922C60-32E5-484E-8AFA-28FF7255CF2C@dons.net.au> <64924732-9848-4AF6-B37E-4ED3889DB711@dons.net.au> <0d155a73-31b1-d901-9874-6cb017e6b5d5@selasky.org> <612D5BA0-8580-4CA0-9D8F-67E7D60B2692@dons.net.au> <93e4ad37-bb57-b186-4743-d6ad86cd40ce@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.104.8) X-Spam-Score: 0 () No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: A907D8CAB5 X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [7.28 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[139.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.998,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; DMARC_NA(0.00)[dons.net.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; IP_SCORE(2.89)[ip: (8.09), ipnet: 150.101.0.0/16(4.31), asn: 4739(2.08), country: AU(-0.01)] X-Spam: Yes X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 08:06:17 -0000 > On 3 May 2019, at 02:31, Hans Petter Selasky wrote: >=20 > On 2019-05-02 13:38, O'Connor, Daniel wrote: >>> On 2 May 2019, at 20:33, Hans Petter Selasky = wrote: >>>=20 >>> On 2019-05-02 12:44, O'Connor, Daniel wrote: >>>>> On 2 May 2019, at 20:02, Hans Petter Selasky = wrote: >>>>>=20 >>>>> On 2019-05-02 11:18, O'Connor, Daniel wrote: >>>>>> OK, thanks. >>>>>> To be honest I would much prefer to work out why this particular = hardware & software seem to drop the ball for such a long time - 50msec = without the kernel getting to schedule something (on a basically idle = system) is quite perplexing to me. >>>>>=20 >>>>> Sounds like a lost IRQ issue. Did you try any of the EHCI quirks = in hw.usb.ehci ? >>>> No not, yet - thanks for the pointer! >>>=20 >>> The 50ms delay may also be due to a physical link data error and = needed recovery through clear stall which is expensive. >>>=20 >> I see the same error on different hardware sets (both motherboard and = USB device) so I don't think it's that. >=20 > If you can check if a USB BULK transfer is pending during this delay, = then it might also be a firmware issue. OK, I'll try and come up with a program to process usbdump output and = show things like response latency. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum