From owner-freebsd-current@freebsd.org Sun Jan 8 16:46:53 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FFAFCA5AE5 for ; Sun, 8 Jan 2017 16:46:53 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0AC1B4B for ; Sun, 8 Jan 2017 16:46:53 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A782CA5AE4; Sun, 8 Jan 2017 16:46:53 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A1B3CA5AE3 for ; Sun, 8 Jan 2017 16:46:53 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 011131B49; Sun, 8 Jan 2017 16:46:52 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id v08GkodT004108; Sun, 8 Jan 2017 16:46:50 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v08Gkog0004107; Sun, 8 Jan 2017 08:46:50 -0800 (PST) (envelope-from david) Date: Sun, 8 Jan 2017 08:46:50 -0800 From: David Wolfskill To: current@freebsd.org Cc: bdrewery@freebsd.org Subject: Possible race condiction during -j16 buildworld (r311640 -> r311678) Message-ID: <20170108164650.GC1366@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org, bdrewery@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 16:46:53 -0000 --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable One (of four) in-place source-based updates of head/amd64 from r311640 -> r311678 failed twice for me in "make buildworld" (at slightly different points during the build). The first retry got a bit further; the second completed successfully. I have a typescript of the entire thing, so I'll make that available in . The reason that there were 4 updates is that I have to machines (my laptop and a build machine, "freebeast"), each of which builds its normal kernel ("CANARY" for the laptop; "GENERIC" for the build machine), then I've also been testing building & running with the EARLY_AP_TEST option enabled in the kernel. And while I could do that by merely building the additional kernel in the "normal" environment and giving it a "smoke test" every once in a while, I chose to duplicate the entire slice, then add the EARLY_AP_TEST option to the kernels in questions. In any case, it was the EARLY_AP_TEST on the build machine that had the apparent issue. So, in , you'll find typescript_r311678 (9MB), as well as typescript_r311678.gz (780KB). I use the "_bw" csh alias to do the builds; as described in , that alias (ultimately) expands to: setenv TMPDIR /tmp && \ id && \ mount && \ cd /usr/src && \ uname -a && \ date && \ make -j16 buildworld && \ date && \ make -j16 buildkernel && \ date && \ rm -fr /boot/modules.old && \ cp -pr /boot/modules{,.old} && \ make installkernel && \ date && \ pushd /usr/ports && \ pushd x11/nvidia-driver && \ make clean ; popd ; popd && \ date && \ mergemaster -U -u 0022 -p && \ date && \ rm -fr /usr/include.old && \ date && \ mv /usr/include{,.old} && \ date && \ rm -fr /usr/share/man && \ date && \ make installworld && \ date && \ mergemaster -F -U -u 0022 -i && \ date && \ make delete-old && \ date && \ df -k There's a copy of the machine's (verbose) dmesg.boot at . I have 2 local modifications to the tree: 1) The hack to src/sys/conf/newvers.sh, discussed on . 2) A change I had made several days ago to src/Makefile.inc1, augmenting ITOOLS with "env" (as some installation step apparently needed it). I hadn't got around to testing to determine if it's still needed. As for why it seeme dto hit the EARLY_AP_TEST and not the GENERIC one...? No clue -- dumb luck, I suppose: that should have no effect once the machine has attained multi-user mode.... Peace, david --=20 David H. Wolfskill david@catwhisker.org Epistemology for post-truthers: How do we select parts of reality to ignore? See http://www.catwhisker.org/~david/publickey.gpg for my public key. --CblX+4bnyfN0pR09 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJYcmz6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4Xa2kIAKsp3g4sEoZWcWBJtC071lCe VZ/87CBWw/uzDvroaySX85KatZ7fm/caZd2ZMePJ/XC2ZoQ6UDmKl5MZ6aquLD8b RYCHqmOMMcwlDmDyXNJguZ/w8DCiEdGzS8zXx/tde9ykp1BqvQzBkCg5Vuvw6yxJ Zb/0Tqu6NxyYhi1+OI8rWKELtewejHmgJSPeFuqISxIfIzG41h45/XSxLDd4fMTp M8oSOsH55rp1TFa2R3Bnw8aP2isME169ZejK4J6/qqs/vIeIBBDxBxxDEyPhUVDL BeogPJ2GDnsYDeINlcPy3QNaPS2x4k2IFBqi9NyEG3aWg/RuIQOxBqDnEyJe8G4= =jMqv -----END PGP SIGNATURE----- --CblX+4bnyfN0pR09--