From owner-freebsd-arm@freebsd.org Sat Nov 18 16:56:32 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 3EA9DDBF79E for ; Sat, 18 Nov 2017 16:56:32 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E1D075E82 for ; Sat, 18 Nov 2017 16:56:31 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id vAIGudfc048001 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 18 Nov 2017 08:56:39 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id vAIGuc6Z048000; Sat, 18 Nov 2017 08:56:38 -0800 (PST) (envelope-from fbsd) Date: Sat, 18 Nov 2017 08:56:38 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: ssh sessions close spontaneously on rpi2 Message-ID: <20171118165638.GA47956@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) 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: Sat, 18 Nov 2017 16:56:32 -0000 It appears that something(s) are profoundly amiss on r325916 when running on rpi2. With make -j4 clean running in /usr/ports, new ssh connections fail promptly after login. For example ===========begin copy/paste=========== bob@raspberrypi:~ $ ssh com Password for bob@www.zefox.com: Last login: Sat Nov 18 08:38:45 2017 from 192.168.1.20 FreeBSD 12.0-CURRENT (RPI2) #9 r325916: Fri Nov 17 01:03:51 PST 2017 To change an environment variable in /bin/sh use: $ VARIABLE="value" $ export VARIABLE bob@www:~ % Connection to com closed. bob@raspberrypi:~ $ bob@raspberrypi:~ $ ssh com Password for bob@www.zefox.com: Last login: Sat Nov 18 08:41:33 2017 from 192.168.1.20 FreeBSD 12.0-CURRENT (RPI2) #9 r325916: Fri Nov 17 01:03:51 PST 2017 You can use aliases to decrease the amount of typing you need to do to get commands you commonly use. Examples of fairly popular aliases include (in Bourne shell style, as in /bin/sh, bash, ksh, and zsh): alias lf="ls -FA" alias ll="ls -lA" alias su="su -m" In csh or tcsh, these would be alias lf ls -FA alias ll ls -lA alias su su -m To remove an alias, you can usually use 'unalias aliasname'. To list all aliases, you can usually type just 'alias'. bob@www:~ % Connection to com closed. =============end copy/paste============ Stopping the make clean session restores normal behavior. Long-established ssh connections seem to keep functioning normally, three have stayed up overnight, though two restarts of the make clean session. At the same time, the reports of attempted umounts of /dev seem to have stopped, although the make clean sessions still stop, with only a cryptic "2 errors" on the controlling ssh session. There's nothing on the console or in the message log. Altogether this is rather disturbing and I'd be grateful for any insights. bob prohaska