From owner-freebsd-arm@freebsd.org Tue Nov 21 21:15:09 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7855DD94E70 for ; Tue, 21 Nov 2017 21:15:09 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-143.reflexion.net [208.70.210.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D509804A0 for ; Tue, 21 Nov 2017 21:15:08 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 13916 invoked from network); 21 Nov 2017 21:15:07 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 21 Nov 2017 21:15:07 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Tue, 21 Nov 2017 16:15:07 -0500 (EST) Received: (qmail 13800 invoked from network); 21 Nov 2017 21:15:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 21 Nov 2017 21:15:07 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id A591EEC7E18; Tue, 21 Nov 2017 13:15:06 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ssh sessions close spontaneously on rpi2 Date: Tue, 21 Nov 2017 13:15:05 -0800 References: <20171118165638.GA47956@www.zefox.net> <20171120165832.GA55836@www.zefox.net> To: bob prohaska , Freebsd-arm In-Reply-To: <20171120165832.GA55836@www.zefox.net> Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 21:15:09 -0000 On 2017-Nov-20, at 8:58 AM, bob prohaska wrote: > Can anybody reproduce the following behavior on RPI2 ? >=20 > Boot the machine multi-user and start two ssh login sessions. >=20 > On one, start a top session, as a placeholder. On the second, > su to root, cd to /usr/ports and run > make -j8 clean > clean.log & >=20 > Next, try to open another (this makes three) ssh connection. Log in, > and just watch.=20 >=20 > On my test box at FreeBSD 12.0-CURRENT (RPI2) #10 r325987 the = connection > fails within a couple of minutes; the login session terminates without > explanation and the connection closes.=20 >=20 > No errors are on the serial console, /var/log/messages records nothing > related. Ssh sessions started prior to starting make clean seem = unaffected. Given the messages that I've been getting but you have not, I figure my attempting this under my current conditions would not be effective. But I've another oddity that you might try: A) I booted and ran top on the serial console ( top -CaePosize ) B) I logged in 4 ssh sessions and had each do "openssl speed" top gets an unexpected result: CPU 2 shows as 100% idle and the others 0.0% idle. The process CPU column agrees, in that that the total is around 300% instead of around 400%. A couple of the tend to show closer to 50% as long as 4 are running. At 3 running it goes back to each being near 100%. # uname -apKU FreeBSD rpi2 12.0-CURRENT FreeBSD 12.0-CURRENT r325700M arm armv7 = 1200053 1200053 (I normally run a non-debug kernel that has debug symbols.) I may try jumping to -r325997 . =3D=3D=3D Mark Millard markmi at dsl-only.net