From owner-freebsd-current@freebsd.org Mon Aug 24 17:26:42 2020 Return-Path: Delivered-To: freebsd-current@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 E56623C8872; Mon, 24 Aug 2020 17:26:42 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZzZ95z4Cz3yvn; Mon, 24 Aug 2020 17:26:41 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 4F2118D4A213; Mon, 24 Aug 2020 17:26:31 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id C106BE7082A; Mon, 24 Aug 2020 17:26:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id yRGOGs8MGUeI; Mon, 24 Aug 2020 17:26:29 +0000 (UTC) Received: from [169.254.45.172] (unknown [IPv6:fde9:577b:c1a9:4902:30c5:8164:4a84:388]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 37ACBE707AC; Mon, 24 Aug 2020 17:26:28 +0000 (UTC) From: "Bjoern A. Zeeb" To: "bob prohaska" Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Strange USB loop Date: Mon, 24 Aug 2020 17:26:27 +0000 X-Mailer: MailMate (2.0BETAr6146) Message-ID: <9E59062A-865E-454C-8D1F-AB42F33EA020@lists.zabbadoz.net> In-Reply-To: <20200824163736.GA9845@www.zefox.net> References: <20200824163736.GA9845@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4BZzZ95z4Cz3yvn X-Spamd-Bar: - X-Spamd-Result: default: False [-1.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_MEDIUM(-0.62)[-0.621]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.49)[-0.487]; 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]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm,freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 17:26:43 -0000 On 24 Aug 2020, at 16:37, bob prohaska wrote: > After updating to > FreeBSD 13.0-CURRENT (GENERIC) #5 r364475: Mon Aug 24 06:47:29 PDT 2020 > on a Pi3 it was necessary to disconnect the mouse, keyboard and usb-serial > adapter to allow the machine to mount root from USB via a hub. > > Once the machine came back up with root mounted from USB, I tried plugging > the serial adapter, mouse and keyboard back in via the hub. > > The FTDI serial adapater was recognized without trouble, but when the > elderly Dell mouse was connected, a stream of > > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > uhub_reattach_port: giving up port reset - device vanished > > began to scroll on both the monitor and console. Unplugging > the mouse made no difference. Plugging the mouse directly > into the Pi's USB port allowed recognition and function, > but the stream of errors persisted. Network access seems > normal. > > It looks almost as if there's some sort of infinite loop > running in the USB software. The need to disconnect mouse > and keyboard to permit mountroot to work isn't new, but > the "giving up port reset" _is_ new at least to me. > > Are there any experiments which might narrow down what's wrong? I hit something like it last weekend and found this one: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666 /bz