From nobody Thu Jun 17 19:58:12 2021 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 5F3F85D29D6 for ; Thu, 17 Jun 2021 19:58:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (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 4G5Xt00nd1z3nXd for ; Thu, 17 Jun 2021 19:58:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1623959894; bh=splyckiFt2NGZM7cGWzDJfiXLsBxLbPwaQI1ZLtfWPw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Ixxh1zNDcVnIXo9eh02XVP6CyfxlyXarXxZDHwDy0jMXQSF/SeZi2CYwn7mnkCU8eZyQl/1xN5jhjudHF4SjBWhm3v0siismYxfXVsJWxBoTVZBRMW7XSn+UdbnarDr2IEaan1oThpBBr3YMDUUhN+omUgqBQYHsbK832K511xIgxFAndtCU08NWVGLlgvFMCPaDp+/aQv7/4jwj2lXDYeLbcBUVG8M8iIFtlSfe2FZWGvSx1+GgdEKS5JvQn1RibmbBfbCeIWYG2/cBCWf4B8URuYbApW1hg9gMmPuNr3NXXvkqCAi2hFkDwIt8J0BcyksURX7cLB6v6Yumjj5mog== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1623959894; bh=scAik/5O5wd1rozP/vcd9L7lWX8qRPOB5Gtf8yEz4iP=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ghztbkUD3zrhj5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HHqUuIUcHMn0vjUuHkjkRJo86HEVhb3MieFeOo6D.FpCy.5JrgDa5CgGdAhfAAjJFyhKxsdl2I zaKp78bOF6s4t9G4408uY2auEyKKvdgd22z3aPhdAuFtYv0NYCbe6donlR2RzHiNNve2hKtHLG3W 0Qvvh8XcCQrP91ekIK23EqR8Okj0MVbB4uOVxEWvFBkxW7Rys3Xs3qgxl.MXhZsleUS5yt70_Qc_ n2t.Z9NpNuJswIZS.p3BFW6WkDAVrjeCnkCgcvBtIDB9HN723lMw0EJkVZ0_hwk.R94SGQz2vSEW Z4EE.C7vfKMqDW9wM_q1VNVm1Bb3xu8EkIIXl8YOTJbtnrNklAiV4fxF2PWmWmilq6njlKuY01nt ktA4iYHzI.ulRW_xcgYOWYYu5RwdNvyUk2IDsi734C0LLp8Gmkx2LNsYykl0hLXeK01m8YCuSS.W TCN3FHncLtL5YY59C5C5mj0pRU3Kl0nI_aErWty9XJ24OFng3AsYZMWA9aU6EH1qy_lL3j3LEB7r ctsBL85ihPI7ZlfhEag902CmsGUoEW.Na6mVlBNVG9HoiXUVnr2mFhyrmbF85JtFrQl7aWU5bUgx Jg3lJFYy18YY.GrXyWo7R9N.CG7B04rEQP6LgTNmav5npNdfnIk7kvirflNI7PjtVHJ_u5RsO4Gu FWsuh6rPguAKbtrXFRJg0yHnSOvXyhHB4uSFR7KsGrsDPwFuf.0xx84bI8p92tEJxjLowI2NZVL8 XakY4Cgpc0TS3n0IaIA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Thu, 17 Jun 2021 19:58:14 +0000 Received: by kubenode561.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 00f3b9ab53f538cb7eb4d54cf62558dd; Thu, 17 Jun 2021 19:58:13 +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.100.0.2.22\)) Subject: Re: G_RPI4 Buildkernel stops silently on RPi4 In-Reply-To: <20210617180628.GA19752@www.zefox.net> Date: Thu, 17 Jun 2021 12:58:12 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <170B68D1-D405-4B36-83DA-68BABED1EC50@yahoo.com> References: <20210617180628.GA19752@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4G5Xt00nd1z3nXd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Jun-17, at 11:06, bob prohaska wrote: > I'm not sure G_RPI4 is still relevant to anybody, but a silent > stoppage in buildkernel struck me as surprising. A retry using > GENERIC-MMCCAM worked without trouble and is running now.=20 >=20 > A recent attempt to update world and kernel G_RPI4 on a Pi4 running > 14-current stopped in buildworld, with no obvious error: >=20 > root@nemesis:/usr/src # tail b*.log > =3D=3D> buildkernel.log <=3D=3D > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20210206' > PATH=3D'/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/usr/src/arm64.aarch64' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk = /usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.linker.mk' > .PATH=3D'. /usr/src' >=20 > make: stopped in /usr/src >=20 >=20 > There was nothing on the serial console, nor the controlling terminal. > The sources were updated a few minutes earlier, reporting >=20 > root@nemesis:/usr/src # git pull > remote: Enumerating objects: 100, done. > remote: Counting objects: 100% (100/100), done. > remote: Compressing objects: 100% (48/48), done. > remote: Total 59 (delta 51), reused 18 (delta 10), pack-reused 0 > Unpacking objects: 100% (59/59), 7.13 KiB | 17.00 KiB/s, done. > =46rom https://git.freebsd.org/src > 8fa5c577de..0247c33e89 main -> origin/main > Updating 8fa5c577de..0247c33e89 > Fast-forward > sys/amd64/amd64/efirt_machdep.c | 9 ++++ > sys/kern/subr_param.c | 6 +-- > sys/mips/conf/AR71XX_BASE | 1 - > sys/mips/conf/PB92 | 1 - > sys/mips/conf/QCA953X_BASE | 1 - > sys/mips/conf/std.AR5312 | 1 - > sys/mips/conf/std.AR5315 | 1 - > sys/mips/conf/std.AR724X | 1 - > sys/mips/conf/std.AR91XX | 1 - > sys/mips/conf/std.AR933X | 1 - > sys/mips/conf/std.AR934X | 1 - > sys/mips/conf/std.MALTA | 1 + > sys/mips/conf/std.QCA955X | 1 - > sys/mips/conf/std.XLP | 1 - > sys/tests/fib_lookup/fib_lookup.c | 140 = +++++++++++++++++++++++++++++++++++++++++++++-------- > sys/vm/vm_page.c | 2 +- > sys/vm/vm_page.h | 1 + > usr.sbin/bsdconfig/include/messages.subr | 1 + > usr.sbin/bsdconfig/share/media/ftp.subr | 1 + > usr.sbin/bsdinstall/scripts/mirrorselect | 1 + > usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c | 4 +- > 21 files changed, 137 insertions(+), 40 deletions(-) >=20 > The build command was > make -j4 -DWITH_META_MODE buildworld > buildworld.log && make -j4 = buildkernel -DWITH_META_MODE KERNCONF=3DG_RPI4 > buildkernel.log > which has worked well for some months. # ls -Tld /usr/fbsd/mm-src/sys/arm64/conf/* -rw-r--r-- 1 root wheel 293 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/DEFAULTS -rw-r--r-- 1 root wheel 12838 Mar 3 15:49:42 2021 = /usr/fbsd/mm-src/sys/arm64/conf/GENERIC -rw-r--r-- 1 root wheel 429 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/GENERIC-MMCCAM -rw-r--r-- 1 root wheel 323 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/GENERIC-MMCCAM-NODEBUG -rw-r--r-- 1 root wheel 1253 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/GENERIC-NODEBUG -rw-r--r-- 1 root wheel 840 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/GENERIC-UP -rw-r--r-- 1 root wheel 54 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/LINT -rw-r--r-- 1 root wheel 6389 Jan 26 13:11:51 2021 = /usr/fbsd/mm-src/sys/arm64/conf/NOTES But that is on system that has not been updated in some time: merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 merge-base: CommitDate: 2021-03-12 20:29:42 +0000 7381bbee29df (HEAD -> main, pure-src) cam: Run all XPT_ASYNC ccbs in a = dedicated thread n245444 (--first-parent --count for merge-base) G_RPI4 seems to not be from FreeBSD's source tree. You may have to give more context or show the contents of the file. > Just noticed the KERNCONF=3DG_RPI4, which I tried as an experiment = that > seemed to work. That reads like you forgot the KERNCONF=3DG_RPI4 the first time and the build worked when it was retried with it supplied? (Ultimately: I'm confused.) > The original motive was a smaller kernel, but that no > longer seems to be the case; GENERIC-MMCCAM is ~30 kB smaller 8-)=20 Was this a comparison with an older G_RPI4 build? A new rebuild that worked? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)