From nobody Fri Jan 12 20:38:30 2024 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 4TBYKN2ZPGz56J7j for ; Fri, 12 Jan 2024 20:38:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBYKN09jJz4N2m for ; Fri, 12 Jan 2024 20:38:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705091926; bh=nfg2Ve8x8DXtg101Vu0GSD9y9/TCUjgEx3E+eD729FQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=pVWIt4aL61ltzRuYhkezZJLG0gpqd5q6ybXPwq+DU0TGxJAw0uKAufO84YNNb7TX8/ppKtcYN34gT9snXIOBE+wfzU2pnfXq/lJJu0S77YK+VqwB3aSHIM5Rsny7+tc4lBsdf8YzDo7GvwVfwEmiAEeN2ZurQXhmCHitOvv/qne/llFW0tgGYCGc3zIpguP7gpDxXj1mK4HMDTURK10H08Ts8ummi2S6l8Ze7i8WwW6GJPi1KZBA5GSfoHPLOfEQlfoCyT2QUqvxx3NkJojnR62HjzAddZhDJndb40muyu2b/bjNP4jZioeArMOO2JDfKcsRiyLxcRizeAzdIG+Zew== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705091926; bh=pvJhx+9O8mwNfUbU9tf8RWcXwlKQy92gS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AF_Lm3x9ZK1h9zOTZwdlsXKAykylPelvW0GM.be.IMpbjDAhT.NrTAHQ9kgJv_VSSXS_FatfTqd nHyxDhGO30.Z_IUd6r4WLyn_u8oUJmGjk.SNmO.L.I86qyvHY98LEnq5YnmDaFwFnj1SR61ckg6h 05kngmCocvJCHeLRDhOZqHA8O9L7k5qxAqJgydwVFFUETTwjlZpTSBt.v1U2RBw0fRqt4LGembHN Rv9AS6Ab_4dGBJEEoUuP2SUR8fN_WvrmNHJTaYi5RTuz7gYX0REjqsqrjL.1Du029EMFV9pbSZRz ilJHT.SM.q_D9ycUaiPpUCwTIPay7Ie4f6rahRoZXswRhndDsdaJfXrswMvP8AV749IlZ69PKZqE bvNfaIHcMHOwUDc7zZidE4aCbkFS3OATeM3a5Ghn9VsTpmUh6FY3_25BRI_Z6zCteWMUgVN.uk.w ChoeOFxfD_rXjfxeozd0wZsRT9OOouFQaHfYjMd3YPdNf4E9AxUmtEKdPKBdOWDR9yg3PycRwSi6 u4OLYNobjzj9pY9TUOkzUTUb12mh.koPDidZvoB8_fcs.RdbsP9edPw.WLFn6DeWlAYGCHYkGlZA - X-Sonic-MF: X-Sonic-ID: b8cc48c6-8fa2-496b-b975-9c82a1f5046e Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Jan 2024 20:38:46 +0000 Received: by hermes--production-gq1-78d49cd6df-vkd75 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 26219c72f027a4ab6d7c79e0b02260ce; Fri, 12 Jan 2024 20:38:41 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: USB-serial adapter suggestions needed From: Mark Millard In-Reply-To: Date: Fri, 12 Jan 2024 12:38:30 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <482FA770-89E8-42E8-945E-B662AD564AFE@yahoo.com> References: <55AC6824-587D-4C67-B64B-2045A1112F69@yahoo.com> <041F74B4-3D44-4364-9EBD-9F21A4F3B313@yahoo.com> <902798B1-2B66-4ECD-BDAC-195C85066FE6@yahoo.com> <8B4C76B2-707E-4978-9CB3-5D547303A7E5@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Queue-Id: 4TBYKN09jJz4N2m X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Jan 12, 2024, at 11:18, bob prohaska wrote: > On Fri, Jan 12, 2024 at 10:34:11AM -0800, Mark Millard wrote: >>=20 >> If you did not specify the signal explicitly, you tried: >>=20 >> 15 SIGTERM terminate process software termination = signal >>=20 >> (I'm not claiming all those "terminate process" signals are >> likely to be involved. But SIGTERM is need not be involved >> at all.) >>=20 >>> Both the ssh connection from workstation to terminal >>> server and the su to root needed to run tip survive. >>>=20 >>> I should apologize for not testing this sooner, it >>> was a very easy experiment. If you think of useful >>> variations please indicate them. >>=20 >> See above, in particular SIGHUP . >>=20 >=20 > Just tried SIGHUP several times. The ssh connection didn't > disconnect. There were also no reports about overriding stale > locks.=20 >=20 > Using SIGKILL reported: >=20 > login: Killed > root@nemesis:/home/bob #=20 > root@nemesis:/home/bob # tip ucom > Stale lock on cuaU0 PID=3D45604... overriding. > connected >=20 >=20 > FreeBSD/arm (ns2.zefox.net) (ttyu0) > but the ssh session and su survived. >=20 > 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. >=20 > Not sure what to make of this, except that ssh survives > exit of tip, graceful or not. =20 Remember: Jan 10 14:29:48 nemesis kernel: ucom_close: tp=3D0xffffa00001979800 Jan 10 14:29:48 nemesis kernel: ucom_shutdown:=20 Jan 10 14:29:48 nemesis kernel: ucom_dtr: onoff =3D 0 Jan 10 14:29:48 nemesis kernel: ucom_line_state: on=3D0x00, off=3D0x01 Jan 10 14:29:48 nemesis kernel: ucom_rts: onoff =3D 1 Jan 10 14:29:48 nemesis kernel: ucom_line_state: on=3D0x02, off=3D0x00 Jan 10 14:29:48 nemesis kernel: ucom_cfg_close:=20 Jan 10 15:04:07 nemesis su[35181]: bob to root on /dev/pts/4 (and what was somewhat before and somewhat after)? What were those messages like (if any) for each of the types of kills? =3D=3D=3D Mark Millard marklmi at yahoo.com