Re: NFS installworld failures

From: David Wolfskill <david_at_catwhisker.org>
Date: Sun, 5 Oct 2014 20:51:20 -0700
On Sun, Oct 05, 2014 at 08:37:26PM -0700, Russell L. Carter wrote:
> Greetings,
> 
> 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.
> 
> 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:
> 
> ===> 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/common
>  -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=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/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/272471:903504: Fri Oct  3 05:14:22 PDT 2014     root_at_freebeast.catwhisker.org:/usr/obj/usr/src/sys/ALBERT  i386

FreeBSD bats.catwhisker.org 9.3-STABLE FreeBSD 9.3-STABLE #74  r272439M/272471:903504: Fri Oct  3 05:17:39 PDT 2014     root_at_freebeast.catwhisker.org:/usr/obj/usr/src/sys/BATS  i386

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

Peace,
david
-- 
David H. Wolfskill				david_at_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.

Received on Mon Oct 06 2014 - 01:51:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC