From owner-freebsd-usb@freebsd.org Wed Mar 18 22:58:41 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A225226FFAD for ; Wed, 18 Mar 2020 22:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48jQSd1xXbz4TgK for ; Wed, 18 Mar 2020 22:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2BF1426FFAC; Wed, 18 Mar 2020 22:58:41 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2B0AB26FFAB for ; Wed, 18 Mar 2020 22:58:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48jQSc2m6cz4Tfc for ; Wed, 18 Mar 2020 22:58:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A3A713D4 for ; Wed, 18 Mar 2020 22:58:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 02IMwemQ037218 for ; Wed, 18 Mar 2020 22:58:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02IMwe9E037217 for usb@FreeBSD.org; Wed, 18 Mar 2020 22:58:40 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 244845] ue0 realtek interface stops working after some time connection stalls problem down->up helps unitek Y-3083B Date: Wed, 18 Mar 2020 22:58:40 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tomek@cedro.info 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: Wed, 18 Mar 2020 22:58:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244845 --- Comment #12 from Tomasz "CeDeROM" CEDRO --- Today the link was lost - ifconfig showed no media and the ifconfig down/up= did not help the card driver got into some sort of locked state - but the cable= was all the time connected to the card and the leds were blinking. Dmesg showed: ue0: link state changed to DOWN ue0: link state changed to UP ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED ue0: link state changed to DOWN ue0: link state changed to UP ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED ue0: link state changed to DOWN ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR ue0: link state changed to UP ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED ue0: link state changed to DOWN ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR ue0: link state changed to UP ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED ue0: link state changed to DOWN ue0: link state changed to UP ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED ue0: link state changed to DOWN ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED I did not catch that IOERROR / CANCELLED on usbdump sorry. Will provide more info when have one. This IOERROR is also related with link loss / media det= ect failure. Below is the grep from usbdump related with TIMEOUT error that leads to connectivity loss that can be fixed with ifconfid down/up: % usbdump -v -r freeebsd-ue-ure-usbdump-20200316-3.pcap|grep -A 6 -B 5 -n = -w "ERR=3D[A-Z]*" 5252760- frame[1] READ 4 bytes 5252761-20:50:59.099903 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5252762- frame[0] WRITE 8 bytes 5252763- frame[1] READ 4 bytes 5252764- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5252765:20:50:59.557650 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5252766-20:50:59.607357 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5252767- frame[0] WRITE 8 bytes 5252768- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5252769-20:50:59.607850 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5252770- frame[0] WRITE 8 bytes 5252771-20:50:59.607852 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D1444,IVAL=3D0 -- 5253579- frame[1] READ 4 bytes 5253580-20:51:09.108675 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5253581- frame[0] WRITE 8 bytes 5253582- frame[1] READ 4 bytes 5253583- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5253584:20:51:09.379367 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5253585-20:51:09.429616 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5253586- frame[0] WRITE 8 bytes 5253587- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5253588-20:51:09.430104 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5253589- frame[0] WRITE 8 bytes 5253590-20:51:09.430106 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D76,IVAL=3D0 -- 5254312- frame[1] READ 4 bytes 5254313-20:51:19.118915 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5254314- frame[0] WRITE 8 bytes 5254315- frame[1] READ 4 bytes 5254316- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5254317:20:51:19.197339 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5254318-20:51:19.247365 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5254319- frame[0] WRITE 8 bytes 5254320- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5254321-20:51:19.247857 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5254322- frame[0] WRITE 8 bytes 5254323-20:51:19.247858 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D76,IVAL=3D0 -- 5254973- frame[1] READ 4 bytes 5254974-20:51:28.128696 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5254975- frame[0] WRITE 8 bytes 5254976- frame[1] READ 4 bytes 5254977- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5254978:20:51:29.015878 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5254979-20:51:29.065282 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5254980- frame[0] WRITE 8 bytes 5254981- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5254982-20:51:29.065632 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5254983- frame[0] WRITE 8 bytes 5254984-20:51:29.065648 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D1444,IVAL=3D0 -- 5255792- frame[1] READ 4 bytes 5255793-20:51:38.139942 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5255794- frame[0] WRITE 8 bytes 5255795- frame[1] READ 4 bytes 5255796- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5255797:20:51:38.833663 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5255798-20:51:38.883373 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5255799- frame[0] WRITE 8 bytes 5255800- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5255801-20:51:38.883862 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5255802- frame[0] WRITE 8 bytes 5255803-20:51:38.883863 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D76,IVAL=3D0 -- 5256525- frame[1] READ 4 bytes 5256526-20:51:48.151193 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5256527- frame[0] WRITE 8 bytes 5256528- frame[1] READ 4 bytes 5256529- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5256530:20:51:48.651917 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5256531-20:51:48.701623 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5256532- frame[0] WRITE 8 bytes 5256533- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5256534-20:51:48.702115 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5256535- frame[0] WRITE 8 bytes 5256536-20:51:48.702117 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D108,IVAL=3D0 -- 5257260- frame[1] READ 4 bytes 5257261-20:51:58.162347 usbus0.9 DONE-CTRL-EP=3D00000080,SPD=3DSUPER,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 5257262- frame[0] WRITE 8 bytes 5257263- frame[1] READ 4 bytes 5257264- 0000 00 38 00 00 -- -- -- -- -- -- -- -- -- -- -- -- |.8..=20= =20=20=20=20=20=20=20=20 | 5257265:20:51:58.471157 usbus0.9 DONE-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT 5257266-20:51:58.520289 usbus0.9 SUBM-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D8,IVAL=3D50 5257267- frame[0] WRITE 8 bytes 5257268- 0000 02 01 00 00 02 00 00 00 -- -- -- -- -- -- -- -- |........= =20=20=20=20=20 | 5257269-20:51:58.520570 usbus0.9 DONE-CTRL-EP=3D00000000,SPD=3DSUPER,NFR=3D1,SLEN=3D0,IVAL=3D50,ERR=3D0 5257270- frame[0] WRITE 8 bytes 5257271-20:51:58.520574 usbus0.9 SUBM-BULK-EP=3D00000002,SPD=3DSUPER,NFR=3D1,SLEN=3D108,IVAL=3D0 I hope that helps anyhow.. --=20 You are receiving this mail because: You are the assignee for the bug.=