Re: NFS installworld failures

From: Russell L. Carter <rcarter_at_pinyon.org>
Date: Mon, 06 Oct 2014 14:47:24 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ian,

On 10/06/14 08:29, Ian Lepore wrote:
> On Sun, 2014-10-05 at 20:37 -0700, Russell L. Carter wrote:

[...]

>> 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.
>> 

[...]

> It was mentioned in another reply, but maybe overlooked... the
> contents of /etc/make.conf and /etc/src.conf must be identical
> between the systems where you do buildworld and installworld.  For
> example, if you buildworld using WITHOUT_CTF and installworld
> without using that same setting, it will try to build the missing
> pieces at install time.


Ah, the make.confs differ between client and server.  Ok, fix that,
rm /usr/obj/usr, make -j6 buildworld && buildkernel on the server.

make installworld on the client:

===> cddl/lib/drti (install)
- --- drti.o ---
/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': ''
1 error generated.

Ok, make installworld on the server, which succeeds.  This is
reinstalling r272576M.  Try again to make installworld on the client,
in case the server installworld perturbed the build; same failure.

Ok, kill off /usr/obj/usr again, and I restrict the buildworld to one
thread, which is interminable, but whatever.

make installworld then succeeds on the client.  (ntpd is functioning
as it should on both client and server)

As I mentioned in another message, this sort of thing happened all
the time in June, then for a couple of months the NFS installs were
solid, and now they are flaky again.

BR,
Russell

(The server filesystems are error-free zfs, as is the client)



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

iQIcBAEBAgAGBQJUMw3sAAoJEFnLrGVSDFaErSoP/jt2rd0bvTrw/XOiv5clA9ZL
MDTZwK0srB93ygOr5ctihc3sjhtSKe57I+bm3hpiPpUBj4Y+epOdRFAZnEG5LECq
qDLi7rWGFsnrUKhBPkmFz4YzZbXlSAqBbmqQ2VbUP921Wu1bD09+0ETPWZyJV6Bb
c2+L+Gl+LclE7/cksECMYgUqFdzwsR5zi4xpKkhXmQ1CCrbZMRTfMWJDQkl77KW6
V4ZgE53jtZg1qHSMXit9ay1u+pkhrytDFPBtqM8h2ukUifiH6xP+utNfq7O3pLXk
xk/N9OhPCDd/SjofyH0SSSA5l7ka/0NEfxBimTfAoOMZp/3r8T8NS1x/iPgoAw3k
2rad74BlmrlSCwAQVNe5UMDJO2BZEbJ9a90js7naAWA6NG72Wi1s8HUA5JECVTfg
Kx+tkm7+SSiC7myCNU1/lGTBdAHf0ZJ9I37Y3gFYK299Ayr+lqqRcxp4ujE4FhXS
WSX9DLlctGfaFf0PCtywMuWT8+5F7vMqoFhlTTBlCGbfjMu0ZkB/hiJT0ksKcjOs
uasflmxewbffGqykp7XWQa8SUNcFIUj2lBgPqQRLf2I+3kBbtHe6nZW1p53/anVL
l+T78Gpp9wQxuVrKyJGZ0UbKYRaxqWnT3EL515oCU9W5g9pCFnqpaS541SWxDIGX
dpby6I9gcik+Xi4/kJSG
=4yse
-----END PGP SIGNATURE-----
Received on Mon Oct 06 2014 - 19:47:29 UTC

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