From nobody Thu Apr 28 05:42:57 2022 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 913741AAB535 for ; Thu, 28 Apr 2022 05:43:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kpl0025z2z3vG9 for ; Thu, 28 Apr 2022 05:43:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651124585; bh=2KQTsY52ZBOyr7DRec4ScbawcwqzokbCPbTmtfPiifU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=aV7wAiksZoAAUM7tFfP/c5/nASxPOh286lEffrrqsYUSkmx+q+s55JpmMTEryRPNs9ahJiYPIWw93igePcrDg2bRyY/0WhMjBFP5SCAMvnaMzBJSRdzmmqo13LdIMMaVfFoZj2R79yCMU1NGKh1GUhRSE6dMvZJbQHB175KehbHPgTh6l4SHFaZ99HSrL537NU9Z+IuiSy17rck+6yHUdaxDKAmZRf4NpPtNqV0kT0RsyrDzY+We+SFqH+jRz/iLxbUNGfcYVaolhftFThOeU+u3lpWTG/LytFlHnMrhD9qbDYTzT/1G16nO13sNjIGSEMnTKU2uoRAkp0BtAsvtcg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651124585; bh=6bgd1GJP8nAyJMkSS/VQfchOUFyp7dSC2YStRRbqSe3=; h=X-Sonic-MF:Subject:From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cXBHzVnKe7jJfvtJtFzO4WeQYdw_O2LoVdZOKGPKEV0S 4fZMHIIhseBm0tPCrjcFU83UF2xGpxNzvCYBO2tBxkhkFzRJ_4U0zjktqyPTI6ds1mgSZ5IlxlW3 8A3bmqth4A2OHKQu03IL5viY8XMD1tQ5y.rNzcbzwupyrXp8RMW5HQOQL9OweknpR9oUEsAu6ci4 E3Q0OyYcr8GzrMyHLE0JWfhA74bawPMVh42sa3MQMKRu4Cp.7ZNkexX0nSEKLj3LCmg9qxj0w.1H kMrU4Fs5AG3dB4c5jCvYKbwSWZIIlHEQsSdAROaXvUOkCcd4JZ2hYrjnv0Yez2zE1Q4XBuabwCPp hjyFFl1n6u8roVwAyny5b8qJfC63DkAx7ivgis8z4bca9AkXbbj7Xm82Lxh5rSxukqt0B5mRpQHl ySex7Z_Ov5IL4O9EOvQqVJkCHHwx6sw2unhUGzz8Dv9b_4jlvN5xgUxYvLRN4aYMztIZh4qzj_kT s.l3EEEDd7XdzAwvFz244fYtnQomjL7FW.1Chjn6yqplZ57SyEIRhFtbglsZVkoXbYS2lDgH1o5Q rLe4GRmSYUSgELZXwKeKl1jY- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Apr 2022 05:43:05 +0000 Received: by hermes--canary-production-bf1-5f4c6455f8-hgcs7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 241044914d82e384325c7e137dc09006; Thu, 28 Apr 2022 05:42:59 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: Erratic ping behavior, was Re: Pi3 answers ssh only if outbound ping is running on -current From: Mark Millard In-Reply-To: <8A57B411-AA06-47F4-935D-EDF45D8DF0EC@yahoo.com> Date: Wed, 27 Apr 2022 22:42:57 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <70C2DF4B-D08B-491D-B7B5-1EAD0D1BF0E3@yahoo.com> References: <8F9A6C9A-69BF-4D42-9886-A3F08BCB2EA0@yahoo.com> <506CD1A7-3D34-4E1B-AEAA-A1A819C6CC73@yahoo.com> <20220216231826.GA54961@www.zefox.net> <64138E81-2415-4D4A-A31A-D901DC53EB01@yahoo.com> <8936EFD1-F1FD-48CF-9ED3-4D42595464DC@yahoo.com> <20220313193406.GA65568@www.zefox.net> <20220314010330.GA70447@www.zefox.net> <9FA3F874-2987-44A2-A987-F905E78CCA65@yahoo.com> <20220428023226.GA5666@www.zefox.net> <8A57B411-AA06-47F4-935D-EDF45D8DF0EC@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Kpl0025z2z3vG9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=aV7wAiks; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[192.168.1.143:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[192.168.1.143:email]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 9842 Lines: 234 On 2022-Apr-27, at 22:04, Mark Millard wrote: > On 2022-Apr-27, at 19:32, bob prohaska wrote: > >> On Sun, Mar 13, 2022 at 09:45:02PM -0700, Mark Millard wrote: >>> >>> A point of testing is to compare/contrast different contexts >>> instead of guessing about the alternatives. If the test >>> that I proposed showed the failure, it would disprove your >>> hypothesis --and it that happened it would be good to know. >>> >> >> You're correct, as usual.... >> >> I just tried booting the 13.1-RC4 candidate on my Pi3 from >> microSD. It exhibits the same strange "no response to inbound >> ping" as before. It does seem to set time successfully using >> ntp, and outbound ping works fine. >> >> Inbound ping from both the same (public) network and across >> a NAT link from my LAN work very poorly. The NAT'd link shows >> 92% packet loss, the direct link around 88% loss. >> >> The USB devices present are an FTDI232 and an ASMT usb-sata >> bridge, neither is in active use. >> >> Inbound ssh connections time out, even with outbound ping >> running and getting answers. Not even a password prompt. >> >> It's hard to believe I'm the only one seeing this...... > > RPi3B? RPi3B+? Which Rev? > > So, if I gather correctly, if I expand: > > FreeBSD-13.1-RC4-arm64-aarch64-RPI.img.xz > > onto an microsd card, boot an RPi3B with > EtherNet plugged in, and test pinging to > it, I will have replicated your context > except for, possibly: > > A) RPi3B exact Model/Revision > B) presence of a FTDI232 plugged into a USB2 port > C) presence of a ASMT usb-sata bridge plugged into > a USB2 port (no drive?) > D) the details of the EtherNet network that I'd > being using. (No public network or NAT in > the path between machines [same local subnet, > no other local subnets present], just a simple > local switch, the cables, the RPi3B, whatever > other computer(s) I use, and the device that > provides DHCP assignments for the network.) > > If true, I can try such. But to get to a matching > test, you would have to deal with eliminating > (B-C) from the context and setting up something > like (D) as the networking context. (Seems more > reasonable than me trying to replicate your > public network/NAT context.) > > Note: I would normally have a serial port connected > to the proper pins for having a boot console. Once > I prove I have correctly set up/booting microsd card > media context, I could eliminate that. (The other > end is USB but that is not what the RPi3B is connected > to.) > Well, booting it and not even logging in to it, pinging it from the Rock64, where I am logged in: # ping 192.168.1.143 PING 192.168.1.143 (192.168.1.143): 56 data bytes 64 bytes from 192.168.1.143: icmp_seq=0 ttl=64 time=1.223 ms 64 bytes from 192.168.1.143: icmp_seq=1 ttl=64 time=0.575 ms 64 bytes from 192.168.1.143: icmp_seq=2 ttl=64 time=0.552 ms 64 bytes from 192.168.1.143: icmp_seq=3 ttl=64 time=0.663 ms 64 bytes from 192.168.1.143: icmp_seq=4 ttl=64 time=0.536 ms 64 bytes from 192.168.1.143: icmp_seq=5 ttl=64 time=0.539 ms 64 bytes from 192.168.1.143: icmp_seq=6 ttl=64 time=0.529 ms 64 bytes from 192.168.1.143: icmp_seq=7 ttl=64 time=0.641 ms 64 bytes from 192.168.1.143: icmp_seq=8 ttl=64 time=0.610 ms 64 bytes from 192.168.1.143: icmp_seq=9 ttl=64 time=0.635 ms 64 bytes from 192.168.1.143: icmp_seq=10 ttl=64 time=0.617 ms 64 bytes from 192.168.1.143: icmp_seq=11 ttl=64 time=0.618 ms 64 bytes from 192.168.1.143: icmp_seq=12 ttl=64 time=0.652 ms 64 bytes from 192.168.1.143: icmp_seq=13 ttl=64 time=0.605 ms 64 bytes from 192.168.1.143: icmp_seq=14 ttl=64 time=0.730 ms 64 bytes from 192.168.1.143: icmp_seq=15 ttl=64 time=1.319 ms 64 bytes from 192.168.1.143: icmp_seq=16 ttl=64 time=0.618 ms 64 bytes from 192.168.1.143: icmp_seq=17 ttl=64 time=0.567 ms 64 bytes from 192.168.1.143: icmp_seq=18 ttl=64 time=0.563 ms 64 bytes from 192.168.1.143: icmp_seq=19 ttl=64 time=0.560 ms 64 bytes from 192.168.1.143: icmp_seq=20 ttl=64 time=0.556 ms 64 bytes from 192.168.1.143: icmp_seq=21 ttl=64 time=0.624 ms 64 bytes from 192.168.1.143: icmp_seq=22 ttl=64 time=0.530 ms 64 bytes from 192.168.1.143: icmp_seq=23 ttl=64 time=0.532 ms 64 bytes from 192.168.1.143: icmp_seq=24 ttl=64 time=0.655 ms 64 bytes from 192.168.1.143: icmp_seq=25 ttl=64 time=0.643 ms 64 bytes from 192.168.1.143: icmp_seq=26 ttl=64 time=0.634 ms 64 bytes from 192.168.1.143: icmp_seq=27 ttl=64 time=0.630 ms 64 bytes from 192.168.1.143: icmp_seq=28 ttl=64 time=0.601 ms 64 bytes from 192.168.1.143: icmp_seq=29 ttl=64 time=0.590 ms 64 bytes from 192.168.1.143: icmp_seq=30 ttl=64 time=0.618 ms 64 bytes from 192.168.1.143: icmp_seq=31 ttl=64 time=0.526 ms 64 bytes from 192.168.1.143: icmp_seq=32 ttl=64 time=0.629 ms 64 bytes from 192.168.1.143: icmp_seq=33 ttl=64 time=1.482 ms 64 bytes from 192.168.1.143: icmp_seq=34 ttl=64 time=0.538 ms 64 bytes from 192.168.1.143: icmp_seq=35 ttl=64 time=0.628 ms 64 bytes from 192.168.1.143: icmp_seq=36 ttl=64 time=0.547 ms 64 bytes from 192.168.1.143: icmp_seq=37 ttl=64 time=0.642 ms 64 bytes from 192.168.1.143: icmp_seq=38 ttl=64 time=0.539 ms 64 bytes from 192.168.1.143: icmp_seq=39 ttl=64 time=0.614 ms 64 bytes from 192.168.1.143: icmp_seq=40 ttl=64 time=0.641 ms 64 bytes from 192.168.1.143: icmp_seq=41 ttl=64 time=0.621 ms 64 bytes from 192.168.1.143: icmp_seq=42 ttl=64 time=0.542 ms 64 bytes from 192.168.1.143: icmp_seq=43 ttl=64 time=0.658 ms 64 bytes from 192.168.1.143: icmp_seq=44 ttl=64 time=0.614 ms 64 bytes from 192.168.1.143: icmp_seq=45 ttl=64 time=0.781 ms 64 bytes from 192.168.1.143: icmp_seq=46 ttl=64 time=0.784 ms 64 bytes from 192.168.1.143: icmp_seq=47 ttl=64 time=0.573 ms 64 bytes from 192.168.1.143: icmp_seq=48 ttl=64 time=0.586 ms 64 bytes from 192.168.1.143: icmp_seq=49 ttl=64 time=0.564 ms 64 bytes from 192.168.1.143: icmp_seq=50 ttl=64 time=0.553 ms ^C --- 192.168.1.143 ping statistics --- 51 packets transmitted, 51 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.526/0.648/1.482/0.184 ms Then logging in and creating an account for ssh access to use, tested from a macOS system on the network: Password for markmi@generic: FreeBSD 13.1-RC4 releng/13.1-n250133-283d1b98251 GENERIC Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier To change this login announcement, see motd(5). If you want to recursively copy a directory preserving file and directory attributes use "cp -a source target" -- Lars Engels markmi@generic:~ $ ifconfig lo0: flags=8049 metric 0 mtu 16384 options=680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 ue0: flags=8843 metric 0 mtu 1500 options=80009 ether b8:27:eb:df:cf:a5 inet 192.168.1.143 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active nd6 options=29 markmi@generic:~ $ gpart show -p => 63 62333889 mmcsd0 MBR (30G) 63 2016 - free - (1.0M) 2079 102312 mmcsd0s1 fat32lba [active] (50M) 104391 62228537 mmcsd0s2 freebsd (30G) 62332928 1024 - free - (512K) => 0 62228537 mmcsd0s2 BSD (30G) 0 57 - free - (29K) 57 62228480 mmcsd0s2a freebsd-ufs (30G) markmi@generic:~ $ So trying from something based on FreeBSD [main, so: 14], a RPi4B on the same local subnet: # ssh markmi@192.168.1.143 (markmi@192.168.1.143) Password for markmi@generic: Last login: Thu Apr 21 04:13:50 2022 from 192.168.1.106 FreeBSD 13.1-RC4 releng/13.1-n250133-283d1b98251 GENERIC Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier To change this login announcement, see motd(5). You can `set autologout = 30' to have tcsh log you off automatically if you leave the shell idle for more than 30 minutes. markmi@generic:~ $ So the basic test does not show any problems that you are reporting. Can you replicate the simpler environment and see if you have the problem in it? === Mark Millard marklmi at yahoo.com