Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 08:56:38 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        freebsd-arm@freebsd.org
Subject:   ssh sessions close spontaneously on rpi2
Message-ID:  <20171118165638.GA47956@www.zefox.net>

next in thread | raw e-mail | index | archive | help
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


 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171118165638.GA47956>