Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 20:51:20 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        "Russell L. Carter" <rcarter@pinyon.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: NFS installworld failures
Message-ID:  <20141006035120.GF1295@albert.catwhisker.org>
In-Reply-To: <54320E76.3010702@pinyon.org>
References:  <54320E76.3010702@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--E7i4zwmWs5DOuDSH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Oct 05, 2014 at 08:37:26PM -0700, Russell L. Carter wrote:
> Greetings,
>=20
> Am I the only one attempting to maintain a local cluster using
> a buildworld server and mounting /usr/src/ and /usr/obj/ via NFS?

No; I do that, as well (for a couple of "client" machines), but they're
tracking stable/9, rather than head.  (I'd switch them to stable/10, but
they run authoritative name servers, and I haven't figured out a
reasonable way to do that migration because of the way the installation
of the dns/bind99 port depends on the version of the OS at install (vs.
run) time.)

> I intermittently run into installworld failures, usually
> in sys/boot/i386 but occasionally e.g. cddl/lib where the
> install targets are apparently out of date, and want to be
> rebuilt, which doesn't work with a read-only mount.
>=20
> Is this a reasonable thing to expect to work, or maybe not?

I would expect it to work -- at least, if the machines are all
reasonably closely synchronized with respect to time-of-day.
Oh -- and if the machines have compatible /etc/{make,src}.conf files.

IIRC, I also ended up needing to create a symlink or two.

> Every system in the cluster has got ntpd functioning correctly.

Well, that should take care of the time-of-day (potential) issue.

> Here's today's 2nd blocker:
>=20
> =3D=3D=3D> cddl/lib/drti (install)
> /usr/bin/cc  -O2 -pipe
> -I/usr/src/cddl/lib/drti/../../../sys/cddl/compat/opensolaris
> -I/usr/src/cddl/lib/drti/../../../cddl/compat/opensolaris/include
> -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/head
> -
> -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libctf/com=
mon
>  -I/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace=
/common  -I/usr/src/cddl/lib/drti/../../../sys/cddl/contrib/opensolaris/uts=
/common  -DPIC -fpic -DNEED_SOLARIS_BOOLEAN -std=3Dgnu99 -fstack-protector =
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Ws=
trict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-=
qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wch=
ar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-defin=
ition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declaration=
s -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-va=
riable -Qunused-arguments -c /usr/src/cddl/lib/drti/../../../cddl/contrib/o=
pensolaris/lib/libdtrace/common/drti.c -o drti.o
> error: unable to open output file 'drti.o': ''
> ...

Sorry; it's been a long time since I encountered anything similar to
that, and I no longer recall what might have contributed to it.  But I
do definitely do NFS installs; ref.:

FreeBSD albert.catwhisker.org 9.3-STABLE FreeBSD 9.3-STABLE #74  r272439M/2=
72471:903504: Fri Oct  3 05:14:22 PDT 2014     root@freebeast.catwhisker.or=
g:/usr/obj/usr/src/sys/ALBERT  i386

FreeBSD bats.catwhisker.org 9.3-STABLE FreeBSD 9.3-STABLE #74  r272439M/272=
471:903504: Fri Oct  3 05:17:39 PDT 2014     root@freebeast.catwhisker.org:=
/usr/obj/usr/src/sys/BATS  i386

(My "build machine" -- "freebeast" -- is powered off until just
before midnight.)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--E7i4zwmWs5DOuDSH
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJUMhG3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7eu4P/2WsZCwngOuj4Zby6bo/V2L3
bh0OHKrpWSMzNfhMvhofVoum+4aNEdrYynSgPI6JInbQi7iQjTzBovNEUlsDf4yu
7YWkaR5AB9ZPwlbVrexZlWayd6LFZcLQ7rOu9DhKnVHu0xuPTFvsfg9V6FkSFEkQ
O0osjK6H4pI94hyObpBaIillpUgufkzhzbNeoDbZUaF9hEoOYqJRAVOL/1d6pou5
0QXinCx7qxbAqfWQx95+frMzOo3mpXLos0EGVq2PQ9ioRiQme/DjAbm5X1s5/C91
SmRLmmqtbs4idtI9Oa5XkKYhzkmtB23L6UcCgjvDLrKgRDSr0qfEIflUouNug6rn
5+0c2MMFgt8BGG8eqjoV39nJFlpkJNh+xgPB3ViPe2TP8Qawsc7g3TIowtov2S9y
27H4JfqKqyVMlL0t39pX+HOVkOBqn/87p/ZzNDE/k+RJxlmFGDtjzm7ZgKBSUPG2
+ZXcIMaT8uqJWCXVwPcztlc7LtighDpa4ceMRLdXYcNHzb9Xm1XYc/UNKrE6bflQ
q8dHckFddqgaPeC8b/d5UakWptS8+epUlJv3ihLBTHymxot63vFyRiGJpYJoSIbg
Rz8UX2ECH0kD8yebw7EXIjgZfbfB0p/yfIQs2W+70qcRuD4hqR0/jKbH1kt1T/X7
xNOA84lSCLfVLprLFRxq
=ZsNv
-----END PGP SIGNATURE-----

--E7i4zwmWs5DOuDSH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141006035120.GF1295>