From nobody Wed Dec 27 20:27:33 2023 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 4T0jr92vn9z56GRZ for ; Wed, 27 Dec 2023 20:27:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 4T0jr90YNLz4TRK for ; Wed, 27 Dec 2023 20:27:53 +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=1703708869; bh=iGHaoAlAniHEiUtxeDb8MwgJQaqBdQAWxwSVcxYgcSg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ZEB/2KyjMhIv84FluOSe6sp+8xlLCekntWCMkpVHMUokYmKrjvyj683BBzrttU8TAAnek26svyBx3P6ZNZ4UlFJeVjs4cf0kafJBG7pGhGkpfAKOagTaAfeiWeslP2EQ88TdIyQXCHPFXKtdNYKA+xf6TPtlQLgGeMn4H2FMhtMexXQyM5pe6hcPbtRwJEybSFSSNKr9MFr6y2FJgn3/a7aAPt8suLc7qAsuTyOViDs6TV9kmsp2hgUxrBI/hT9/k+c050+xbpzzr3pYMMDWYcY6clfOCqLYfxVdnDE/QgBsZCNQhVX476v+HzIF24bpWWB5FdBbCscuebNHsmqpRQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1703708869; bh=efncT5Wz6D8+/Gxz1GLzaM47a14EF8PNIx/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A8CcqWqRQrr1BqFnX42oG0c5EgTMh0FyRMjD_PlYrF0Ia8 zOe..wapQVhTXf2mAJEluC6ZT1XqhZwqNf2bgKAx_ujszge8PPG82O5Ti6619wtQJBOtJ.wgK7Me q7diBuNJ6.v5HA8MOcsWumpHeHvjuEvPXBhAyZ25KW82ebw5YRn5z1lyknYRrQO7.SspuMPFAWBK RIBw1WcP.1F4eEcqqdvpoRAI0UQdXgHMpbWABw5FPY1yhlJh4hQj.WHjetQxLqEIAEM8YjPZD8IC TbGH317NU9OLKiRK2cLpH3cl.zEhziyJChK5Z_vAlrE7C4fNMOK0dTUi7LcpTHWUS8_mrrQOJDZe RG6MsHGtLomFLF6VkCUBVjIzmMATvDJZdq3MaqKhoAjylloNmyc9cg.H9AxrulsXF0Vmn2P1xI4k hgIzZzuR82a1tOf2OWd5vVuWQBe.U9CoRUeSd_7s6Ab_jcmUsM_VX52oUyWP.dm8X7gBWfiFMfvR RxPXue4z.r8QloX.3pwUxisVD4IVhPylkY_5h8bCkXcpM1DXweGv.vW8Tpkub0.k2w7IfuBQdZbd XJGQ- X-Sonic-MF: X-Sonic-ID: d3f948d7-6e8b-4543-8ce1-37dc0aaa683b Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Dec 2023 20:27:49 +0000 Received: by hermes--production-gq1-6949d6d8f9-qkzts (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 217c7caf6935a2a9e2873596d0a2a8ca; Wed, 27 Dec 2023 20:27:44 +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: Wed, 27 Dec 2023 12:27:33 -0800 Cc: John F Carr , "ticso@cicely.de" , Marcin Cieslak , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6A38A60B-3281-468D-907C-26AB2F8D07A6@yahoo.com> References: <16864054-4os0-pq3p-7qp0-7299666908os@fncre.vasb> <55q37289-ss30-nq9o-7r31-086n999p394s@fncre.vasb> <23100FB9-BB4A-48FF-A715-84EF7F6F59A6@mit.edu> <6DD2FDE4-77DB-499A-AED8-F179A9DAA0EF@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.300.61.1.2) 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] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4T0jr90YNLz4TRK On Dec 27, 2023, at 10:55, bob prohaska wrote: > Here's another example of a spontaneous disconnect, followed by > brining the ssh session back up and re-starting tip. The USB end > of the link is a 14-release Pi3 on the local network, So it is not shown in http://www.zefox.net/~fbsd/netmap ? It would be to the right-of/below "lan", possibly to the right-of/below wifi? > so it does > not see ssh door-knocking. The serial console display is on a host > which is on the public Net and so does see frequent ssh attacks For the just below, which machine is connected to which machine via what technique (ssh vs. tip), including any staging of multiple stages? > login:=20 > login: Login timed out after 300 seconds > Dec 26 17:56:56 www login[8694]: 1 LOGIN FAILURE ON ttyu1 >=20 > FreeBSD/arm64 (www.zefox.org) (ttyu1) >=20 > login:=20 >=20 > FreeBSD/arm64 (www.zefox.org) (ttyu1) >=20 > login:=20 >=20 > FreeBSD/arm64 (www.zefox.org) (ttyu1) >=20 > login: client_loop: send disconnect: Broken pipe > bob@raspberrypi:~ $ ssh 192.168.1.10 Is @raspberrypi the "pi4 RasPiOS workstation" in the diagram? The diagram does not show "192.168.1.10" style notation for anything. > Password for bob@pelorus: > Last login: Thu Dec 28 23:01:43 2023 > FreeBSD 14.0-RELEASE-p4 (GENERIC) #0 releng/14.0-n265400-4edf3b80733e: = Wed Dec 27 20:21:26 PST 2023 The diagram shows releng/14 explicitly only for: |---50.1.20.26 www.zefox.com Pi2 releng/14 ftdi usb-serial---50.1.20.24 (There are 3 "-current" and 3 "12.3" as well.) So, is 192.168.1.10 that "Pi2 releng/14"? > . . . > -- Benedict Reuschling > bob@pelorus:~ % su > Password: > # tip ucom > Stale lock on cuaU0 PID=3D1312... overriding. > connected > Dec 26 2pts exce [enter typed, this looks like a log entry from the = public host] > Password: [but how did it get reflected back to that host as = input?] > Login incorrect > login: So is the login prompt from: |---50.1.20.24 pelorus.zefox.org Pi3 -current via the earlier "ftdi usb-serial---50.1.20.24"? > It isn't surprising to see leftover data flushing into the USB end = host > when tip opens the serial connection. It is surprising that the host = at > the serial end of the line sees some of that data as input, at least = to me. Overall I've not been able to understand what the (various?) hypothesized stage-by-stage byte flow paths are in these notes. > Maybe I simply misunderstand ...... Does getty not flush input before = asking > for a login and password? Is echo happening between tip sessions? For the RPi*'s involved, what does each config.txt have for content and what vintage of RPi* firmware is involved? These get into if the PL011 vs. mini-UART are in use. As I remember it used to be that: RPi2B v1.1 had the PL011 bound to the serial connection by default = (a.k.a.: as primary) RPi3B had the mini-UART bound to the serial connection by default = (a.k.a.: as primary) and: RPi2B v1.1 had the mini-UART as secondary but not bound to anything RPi3B had the PL011 as secondary and bound to Bluetooth (The RPi4B is like the RPi3B in this respect, as I remember.) The PL011 is the fully functional UART. What is your: dtoverlay=3Ddisable-bt vs. dtoverlay=3Dminiuart-bt vs. Niether status for each RPi3B/4B that is involved? =3D=3D=3D Mark Millard marklmi at yahoo.com