Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2024 11:18:23 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: USB-serial adapter suggestions needed
Message-ID:  <ZaGQfy8u2xYzztri@www.zefox.net>
In-Reply-To: <A1F3092A-CEB1-44DE-ADB3-F45113004B34@yahoo.com>
References:  <ZZ7fBDxYd8Yyw5fm@www.zefox.net> <E769A770-8D23-4EFC-8E75-F0ACF6705C4E@yahoo.com> <55AC6824-587D-4C67-B64B-2045A1112F69@yahoo.com> <ZZ8ugUkEDXbSUjZp@www.zefox.net> <041F74B4-3D44-4364-9EBD-9F21A4F3B313@yahoo.com> <ZaBLnwaHWYedwY9m@www.zefox.net> <902798B1-2B66-4ECD-BDAC-195C85066FE6@yahoo.com> <8B4C76B2-707E-4978-9CB3-5D547303A7E5@yahoo.com> <ZaFoY58MqBv9hX5b@www.zefox.net> <A1F3092A-CEB1-44DE-ADB3-F45113004B34@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 12, 2024 at 10:34:11AM -0800, Mark Millard wrote:
> 
> If you did not specify the signal explicitly, you tried:
> 
>      15    SIGTERM          terminate process    software termination signal
> 
> (I'm not claiming all those "terminate process" signals are
> likely to be involved. But SIGTERM is need not be involved
> at all.)
> 
> > Both the ssh connection from workstation to terminal
> > server and the su to root needed to run tip survive.
> > 
> > I should apologize for not testing this sooner, it
> > was a very easy experiment. If you think of useful
> > variations please indicate them.
> 
> See above, in particular SIGHUP .
> 

Just tried SIGHUP several times. The ssh connection didn't
disconnect. There were also no reports about overriding stale
locks. 

Using SIGKILL reported:

login: Killed
             root@nemesis:/home/bob # 
root@nemesis:/home/bob # tip ucom
Stale lock on cuaU0 PID=45604... overriding.
connected


FreeBSD/arm (ns2.zefox.net) (ttyu0)
but the ssh session and su survived.

Finally, I tried SIGSTOP. Again, ssh and su stayed up, but
restarting tip reported:
all ports busy
Power-cycling the usb-serial adpter with usbconfig
isn't able to free the port. That's new-to-me behavior.
Deleting the /dev/cuaU0-related files didn't help.

Not sure what to make of this, except that ssh survives
exit of tip, graceful or not.  

Thanks for reading!

bob prohaska




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