From nobody Fri Sep 16 06:20:59 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MTP8n08MNz4cYPv for ; Fri, 16 Sep 2022 06:21:13 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4MTP8m1RCxz3bh1 for ; Fri, 16 Sep 2022 06:21:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.3.0.5] (unknown [178.232.223.95]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B4247260236; Fri, 16 Sep 2022 08:21:02 +0200 (CEST) Message-ID: Date: Fri, 16 Sep 2022 08:20:59 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: TP-LINK USB no carrier after speed test Content-Language: en-US To: Ivan Quitschal Cc: freebsd-current@freebsd.org References: <7d14c045-81dc-fc08-4d62-69fb90a26edb@selasky.org> <9188fd1d-00ae-134b-488a-e75fbd152c98@selasky.org> From: Hans Petter Selasky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MTP8m1RCxz3bh1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; 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 [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FREEMAIL_TO(0.00)[hotmail.com]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[selasky.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 9/15/22 17:36, Ivan Quitschal wrote: > > > On Thu, 15 Sep 2022, Ivan Quitschal wrote: > >> >> >> On Thu, 15 Sep 2022, Hans Petter Selasky wrote: >> >>> On 9/15/22 17:18, Hans Petter Selasky wrote: >>>> On 9/15/22 17:16, Ivan Quitschal wrote: >>>>> >>>>> Hi All >>>>> >>>>> Does anybody have any idea what could be happening here?. >>>>> I have a laptop DELL INSPIRON 3511 and everything works just fine, >>>>> literally everything. even the iwlwifi0. >>>>> >>>>> But in order to use my full 600mbps, i dont use the wireless but a >>>>> TP-LINK USB ethernet connected on "ue0" >>>>> >>>>> ugen0.6: at usbus0, cfg=0 md=HOST >>>>> spd=HIGH (480Mbps) pwr=ON (200mA) >>>>> >>>>> >>>>> but something really strange is happening .. everytime i open the >>>>> chromium e do a speedtest (could be speedtest.net or any other) , >>>>> at the end of the test the eth interface dies .. it changes from >>>>> full-duplex to half-duplex/no carrier and the only way to get the >>>>> internet back thru ue0 is by rebooting the whole thing. >>>>> not even a "service netif restart" does anything >>>>> >>>>> if anyone has any ideas why is that , would be appreciated >>>>> >>>> >>>> Hi, >>>> >>>> I think it some new features they use in the USB data protocol which >>>> we don't support. Check the Linux code. >>>> >>>> Between does: >>>> >>>> usbconfig -d 0.6 reset >>>> >>>> recover the device? >>>> >>>> --HPS >>>> >>> >>> Hi, >>> >>> Search for axge on bugzilla: >>> >>> I suspect you are using this chipset: >>> >>> Try: >>> >>> usbconfig show_ifdrv >>> >>> To know for sure. >>> >>> Also see: >>> >>> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.freebsd.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D210488&data=05%7C01%7C%7Ce7f888b3635f4e898ca308da972fa69b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637988528164303655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zvw7m8lJ%2FHocK%2FXJIDfdPv%2FArCpE5pk9lYz%2BY8WzMCc%3D&reserved=0 >>> >>> >>> --HPS >>> >> >> >> Hi Hans, >> >> actually the driver i use is not agxe (i thought it would be by the >> time i >> bought the usbcard) >> >> this is the module im using >> >> if_ure.ko >> >> and thank you , yes, reseting the usb entry with your command worked >> just fine. >> i got the internet back after doing this >> >> usbconfig -d 0.6 reset >> >> do we have a bug here then? >> >> thank you >> >> --tzk >> > > oh, i forgot to mention that the ure driver freezes not during the > download test but in the middle of the upload, always > > dont know if that helps > > thanks > > --tzk Hi Ivan, Yes, there seems to be problem there. I need to look at the driver. Maybe it is simply sending too much data, than the device can handle! --HPS