From nobody Tue Oct 12 00:56:41 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 EB979180E17E for ; Tue, 12 Oct 2021 00:56:41 +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 4HSy0n4sbmz3GM9 for ; Tue, 12 Oct 2021 00:56:41 +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 19C0ufeC099785 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 11 Oct 2021 17:56:42 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 19C0ufnt099784; Mon, 11 Oct 2021 17:56:41 -0700 (PDT) (envelope-from fbsd) Date: Mon, 11 Oct 2021 17:56:41 -0700 From: bob prohaska To: MJ Cc: freebsd-arm@freebsd.org Subject: Re: Oddities on Pi4 under -current Message-ID: <20211012005641.GA99640@www.zefox.net> References: <20211011163211.GA98507@www.zefox.net> 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: X-Rspamd-Queue-Id: 4HSy0n4sbmz3GM9 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 Tue, Oct 12, 2021 at 09:33:49AM +1100, MJ wrote: > > > On 12/10/2021 3:32 am, bob prohaska wrote: > > > The slow response to ssh login appeared only in the past week or so. > > It isn't entirely reproducible, usually happening after idle time. > > The delay isn't more then five or ten seconds, but very noticeable. > > [ping session omitted] > The RPI4 has green-mode on idle. If your switch supports it, then it's activated. This might account for some delay, but that looks a little too large what you've reported. Maybe someone else with an RPI4 could provide a confirmation? > > Reference: https://forums.raspberrypi.com/viewtopic.php?t=257144#p1569652 > A power conservation feature seems a likely culprit, if one has been newly added or turned on. The delayed response appeared after a world/kernel update, I think about two weeks ago. I didn't make any manual config changes. Dropped ssh sessions have been a problem for a while now, but this seems noticeably worse. Right now there are two ssh sessions open between my desktop machine (Pi4 running WiFi on RaspiOS) and the Pi4 running -current. One is interactive, and has been up all day. The other is used to run a tip session to the serial console of a Pi2. That usually drops within half a day leaving a stale lock on the device file. At other times there have been four or more ssh connections to the offending Pi4, only the one running the serial connection seems to be affected. There are quite a few links in the chain: USB-serial adapter, wired ethernet, router, WiFi and finally the RaspiOS workstation. The only link associated with the trouble is the USB-serial adapter. Thanks for reading, and any hints where to look for the trouble. bob prohaska