From nobody Fri Jan 21 20:54:02 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 93A0B1970C98 for ; Fri, 21 Jan 2022 20:54:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgWnz0nDgz4qd8 for ; Fri, 21 Jan 2022 20:54:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642798446; bh=AwnNm7W1yORi+Hg/F9Pgo88sOSO2JbyC5KwAQjJbfrs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ECEhKFxerCFAI3QeR/KRknPjlExe9+AEmdQBN/jnH1cRKiO0RRQk+d0W01ENdwdAIEjyDzhzS2mIVS0QZYhDXbSLl1sXOHRbmkfv1KfzayX/jH5YxeHP6zlorKucSZyJrf0Z7wwz/73CFB//SXCRdagxck2OuSHOPtuMiuWAtDFB8+6JZHWBSfX0jFybyB6sYL/TCHyhhN+EQWBEXsQ+jHkI0jG0iYetik4iAdCnhHvHRhe65rTe2SgOaOFvM1yzpVoX8whxxk7uPNEH1Vxcelgim7UW6IEzGGiBkdICjDji6E78/71Rsj3bFtqbWzKsTYWckRQN+qlVg4umAK24NA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642798446; bh=bkhOiDzNMlGbch5Y7z+vyWpHVmrNzC+eAuIXS+wlm2j=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=bXVty8P1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QP.KePxUApc.r4JM7Bv4TjhNLQJM0IlmUGp2KiOsO44g.bU4TD77Kq_2w0TkniPgDwf. i0wjHLRKLYq._9vCNDerEJib6oxa6vSwZbMadbeQQtOl.d1_SCSdWnQ1BMGqdxRYcgrGQUnBKrgY .TNFVgbEKQVNFxbp.3exvcud8pBXWzMWBd7YAPsp8osNTwRZcBFMMDY8Jptx_yIIKgRpv84ig3vX CjUgU2jQhSEQRZ0DSj4MbAx3A_gfoSYNx6HnWJ_DMjLi8aTHu8iABA2SA2AVU5rbiY531fgEmW2T Bj3Ibscc.Bv32QFJ2rws1eOKkp2Kam6TOSwf5ZgGZO0amiU.jNwchdte.P8k2poPOl0YXBY_sVvk .A06.hSW6qLTpPfBUKKvT.3k09ntJ8dymA5IVoXol7g6UNUOY9OG_AAOuFPj8U0k_PQoZ565KzKr zI6_QC3jtvvnO9wMZ65NKojiqCZ35BSHR0OjPFCm7s.HksYsq6l42dLBzDkAz0Jg8Hx7p2ykO6Hb cCFCLvfNIhrHv X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Fri, 21 Jan 2022 20:54:06 +0000 Received: by kubenode521.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b921cd52aa36f5b3d3e44b7b4e3769c6; Fri, 21 Jan 2022 20:54:03 +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: Ping troubles, was Re: Troubles building world on stable/13 From: Mark Millard In-Reply-To: <20220121163445.GA28761@www.zefox.net> Date: Fri, 21 Jan 2022 12:54:02 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2CABF256-CC55-4449-80CB-A3DFF9B4B7A7@yahoo.com> References: <20220121031601.GA26308@www.zefox.net> <20220121163445.GA28761@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JgWnz0nDgz4qd8 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ECEhKFxe; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [0.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)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.83:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.83:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jan-21, at 08:34, bob prohaska wrote: > On Thu, Jan 20, 2022 at 10:00:34PM -0800, Mark Millard wrote: >> On 2022-Jan-20, at 19:16, bob prohaska wrote: >>=20 >>> ******************** >>>=20 >>> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: >>> Preprocessed source(s) and associated run script(s) are located at: >>> c++: note: diagnostic msg: /tmp/gmock-all-836ef8.cpp >>> c++: note: diagnostic msg: /tmp/gmock-all-836ef8.sh >>> c++: note: diagnostic msg:=20 >>>=20 >>> ******************** >>> *** [gmock-all.o] Error code 139 >>=20 >> So: SIGSEGV (signal 11) >>=20 >=20 > Aha! I didn't make the connection at all. >=20 >>> make[4]: stopped in /usr/src/lib >>> --- all_subdir_lib/clang --- >>>=20 >>> FWIW, filemon is enabled in /boot/loader.conf and the build command = was >>> make -j2 -DWITH_META_MODE buildworld > buildworld.log >>>=20 >=20 >>=20 >> "uname -apKU" output from the building environment? >>=20 >=20 > root@pelorus:/usr/src # uname -apKU > FreeBSD pelorus.zefox.org 13.0-STABLE FreeBSD 13.0-STABLE #6 = stable/13-n248948-9418a626103: Thu Jan 13 12:12:06 PST 2022 = bob@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 = aarch64 1300523 1300523 >=20 >> Commit identification for the /usr/src/ for stable/13 >> that is being built? >=20 >=20 > Not sure what's meant by "commit identification, hopefully it's = somewhere in > the uname output. Git status reports: The commit-id 9418a626103 in the uname -apKU output was for what you are already running. I was also after the id for what you are trying to build. I have multiple source trees around, one for stable/13 . I use: # more ~/fbsd-based-on-what-commit.sh=20 #! /bin/sh branch=3D"`git $* branch --show-current`" \ && echo "branch: $branch" \ && base=3D"`git $* merge-base freebsd/$branch HEAD`" \ && git $* log --oneline --no-color $base..HEAD \ && base_date=3D"`TZ=3DUTC git $* log --format=3Dfuller --date=3Diso-local = --no-color $base^..$base | grep CommitDate:`" \ && echo "merge-base: $base" \ && echo "merge-base: $base_date" \ && git $* log --oneline --no-color $base^..$base \ && echo "n`git $* rev-list --first-parent --count $base` (--first-parent = --count for merge-base)" like so (for my stable/13 source tree, your path would likely be /usr/src instead): # ~/fbsd-based-on-what-commit.sh -C /usr/13S-src/ branch: stable/13 merge-base: a5f69859956049b5153b0e1b67f8f4a99622dc6f merge-base: CommitDate: 2022-01-15 12:55:32 +0000 a5f698599560 (HEAD -> stable/13, freebsd/stable/13) Ignore = debugger-injected signals left after detaching n249004 (--first-parent --count for merge-base) > root@pelorus:/usr/src # git status > On branch stable/13 > Your branch is up to date with 'freebsd/stable/13'. >=20 > Untracked files: > (use "git add ..." to include in what will be committed) > buildkernel.log > buildscript > buildworld.log > installkernel.log > installmmcscript > installscript > installworld.log > mmcscript > poudriereupscript > poudup.log > rpi4script >=20 >=20 > It took 2.17 seconds to enumerate untracked files. 'status -uno' > may speed it up, but you have to be careful not to forget to add > new files yourself (see 'git help status'). > nothing added to commit but untracked files present (use "git add" to = track) That output does not include a commit-id. >> Any console messages? dmesg -a output of interest? >> /var/log/messasges content of interest? >>=20 >=20 > Nothing obvious, in particular no "killed, out of swap" type messages. >=20 >> Any messages of interest somewhat earlier in the >> buildworld.log ? >>=20 >=20 > Not that I can recognize. I started to put the buildworld.log file on = my > public webserver and was surprised to find that sftp didn't connect. > Trying to connect from the server to pelorus so as to use get failed > likewise.=20 >=20 > Next I tried to ping from the webserver to the stable/13 machine, no = answer. > Finally I started a ping from stable/13 to the webserver, at which = point > the opposing ping session woke up. That seems most strange. >=20 > With ping running once per second from webserver to stable/13 usually = a=20 > single packet is returned. Starting a ping in the reverse direction at > 10 second intervals _usually_ results in a single packet reply; = occasionally > none or two. It isn't entirely consistent.=20 >=20 > Both machines are on wired public networks, so between them there is = no > NAT involved. Packet losses correspond roughly to rate; Most of the > 1-second packets are lost, most of the 10-second packets are answered. = =20 >=20 >> Does the problem repeat via using the files: >>=20 >> /tmp/gmock-all-836ef8.cpp >> /tmp/gmock-all-836ef8.sh >>=20 >=20 > Not sure how to try that, but it seems to repeat on a simple repeat of > the buildworld command. The .sh compiles the .cpp using the options involved when the failure happened. Copy the files to an appropriate place and then run the .sh script. >> on that RPi3? Elsewhere that has more resources, such >> as more RAM? >=20 > I've only this one machine running stable/13, but a Pi3 and a Pi4 = running > -current don't seem to be affected, nor do several pi2's running = stable/12 > ARMv7. System-clang is 13 on all those for now. The .sh and .cpp test should be executable on all the machines. > The troublesome machine has been updated many times using git pull = followed > by buildworld -DWITH_META_MODE. Might it be necessary to occasionally = run > one of the cleaning targets? In other words, could META_MODE permit = obsolete=20 > files to persist across builds and reboots?=20 >=20 I only rarely rm -fr in a build tree area to start from scratch. Nothing wrong with such an experiment. =3D=3D=3D Mark Millard marklmi at yahoo.com