From nobody Sun Dec 19 00:51:34 2021 X-Original-To: freebsd-arm@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 E716018F1182 for ; Sun, 19 Dec 2021 00:51:30 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JGkgQ3Q6xz4cxv for ; Sun, 19 Dec 2021 00:51:30 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 1BJ0pZqk012486 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 18 Dec 2021 16:51:35 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 1BJ0pZVf012485; Sat, 18 Dec 2021 16:51:35 -0800 (PST) (envelope-from fbsd) Date: Sat, 18 Dec 2021 16:51:34 -0800 From: bob prohaska To: MJ Cc: freebsd-arm@freebsd.org Subject: Re: Dealing with slow USB disks, was: Re: Saving environment variables in u-boot Message-ID: <20211219005134.GA12292@www.zefox.net> References: <20211216180704.GA4173@www.zefox.net> <214132DD-A095-4349-BB81-B79CB8CF6B0C@yahoo.com> <20211217013613.GA4452@www.zefox.net> <20211218005946.GA7670@www.zefox.net> <5C44D0E6-2FF1-4EEB-B21A-83333D6FCF46@yahoo.com> <9D416106-660F-40BB-98D2-1354B53D2FEF@yahoo.com> <20211218223543.GA9484@www.zefox.net> <6105a8a6-e760-2183-72fd-92e5a60aa8df@gmail.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6105a8a6-e760-2183-72fd-92e5a60aa8df@gmail.com> X-Rspamd-Queue-Id: 4JGkgQ3Q6xz4cxv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Dec 19, 2021 at 10:56:04AM +1100, MJ wrote: > > > > My suggestion: Have you tried directly connecting the USB into the RPI4? > I've had previous run-ins with RPI3B and powered hubs where it seems to be > very slow to enumerate the hub and therefore the devices attached. > The same disk and enclosure boot without issue on the Pi4, so I've little doubt it'd work. I tried removing the USB hub and plugging the disk straight into the Pi3, expecting it to fail on low voltage. To my surprise it warm-booted ok, but the disk still doesn't enumerate. Five tries at usb reset finally revealed the disk, run bootcmd_usb0 brought the disk and FreeBSD up without visible hiccups. The serial console output has been added to http://www.zefox.net/~fbsd/slow_usb_notes. Five usb resets _isn't_ an improvement, but at least it now seems the trouble isn't the hub. Thanks for the suggestion! bob prohaska