From nobody Sat Dec 30 16:42:57 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 4T2SjY4tpnz55Zhx for ; Sat, 30 Dec 2023 16:43:13 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T2SjX43jcz4Cmn for ; Sat, 30 Dec 2023 16:43:12 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 3BUGgwAZ049226 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 30 Dec 2023 08:42:58 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 3BUGgvOr049225; Sat, 30 Dec 2023 08:42:57 -0800 (PST) (envelope-from fbsd) Date: Sat, 30 Dec 2023 08:42:57 -0800 From: bob prohaska To: Mark Millard Cc: John F Carr , ticso@cicely.de, Marcin Cieslak , freebsd-arm@freebsd.org Subject: Re: USB-serial adapter suggestions needed Message-ID: References: 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 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Result: default: False [-1.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; FREEMAIL_TO(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zefox.net]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4T2SjX43jcz4Cmn X-Spamd-Bar: - On Thu, Dec 28, 2023 at 07:40:30PM -0800, Mark Millard wrote: > > Use of the mini-uart is probably not a good idea for the serial console: dtoverlay=disable-bt should also be listed, like for the other RPi3B* . That makes perfect sense, especially in concert with use of powerd on www.zefox.org, the serial console being monitored. I switched the console back to the PL011, but left powerd active. About six hours later the ssh session from workstation to terminal server dropped again. After restoring the ssh session from workstation to pelorus (the terminal server) and starting tip through the usb-serial adapter www.zefox.org's console login prompt came up. It still contained a flurry of what looked like garbage characters (a few printable) at the start but they were replaced by a clean login prompt that worked correctly. That was a surprise. Next I turned off powerd on www.zefox.org, rebooted and confirmed both a PL011 console and no powerd running. Brought up the ssh link to pelorus (terminal server) and tip through the usb-serial adapter to www.zefox.org's console. Next the connection to the terminal server dropped again, this time prematurely, as I disturbed the network. It was re-started next morning in the usual way and tip was resumed to www.zefox.org's console. It came up exactly as usual: # tip ucom Stale lock on cuaU0 PID=8335... overriding. connected FreeBSD/arm64 (www.zefox.org) (ttyu0) login: �}�ɽѽ �����������͕ŁɁm�ɕ��ѡu5)5)^Q���������������݁�͡�m����u違�ɽ��^Y�͡}���}�ɽѽ���}��ɽ����������͕Ł́m�ɕ��ѡu5)5)^Q������������݁��݁�͡�m����u遙�х��Q�����с����ɕ���ѡ��ѥ��ѥ�����Ɂ��ݹ�5)�Password: Login incorrect login: Login timed out after 300 seconds Dec 30 07:55:32 www login[1072]: 1 LOGIN FAILURE ON ttyu0 FreeBSD/arm64 (www.zefox.org) (ttyu0) Login: It really looks as if the garbage somehow got into the data stream _from_ the terminal server _to_ the console. > > In fact, other than the force_mac_address, the general content should be like the one with arm_64bit=1 as far as I can tell. Do you have specific reasons for needing any of the differences? > Certainly not that difference, arm_64bit=1 has been restored. No obvious effect so far. It appears that www.zefox.org was set up in June of 2020, the discrepancies are likely due to age and inept administration Might the trouble be the terminal server Pi3? It's running FreeBSD pelorus 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 #0 releng/14.0-n265400-4edf3b80733e: Wed Dec 27 20:21:26 PST 2023 bob@pelorus:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 The usb serial bridge reports as ugen1.6: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (90mA) [mention of limited Net access noted] Thanks _very_ much for your help and to anyone following this thread. bob prohaska