Subject: build problems on readonly filesystem
To: None <current-users@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 06/30/2003 17:24:53
I built -current on a file server with:

kirk$ sh build.sh -u -U -O /export/NetBSD-current/obj-i386 \
-T /export/NetBSD-current/tools-i386 \
-D /export/NetBSD-current/build-i386 \
-R /export/NetBSD-current/release-i386 release

Next, I try to install it on an NFS client which mounts the -current
build readonly on /mnt.

bones# sh build.sh -u -U -O /mnt/obj-i386 -T /mnt/tools-i386 \
-D /mnt/build-i386 -R /mnt/release-i386 -w /tmp/wrapper install=/

This gives some pax errors about /./mnt. These don't seem to be fatal,
but I am not sure yet. Anyone know what is going on?

The errors in ./var/games come from the fact that these files have
mode=600 and are thus not readable by root over NFS. I forgot to do
a 'chmod -R og+rX' after the build on the server. It would be nice
if the build process would handle that somehow.

And it seems there is still (again?) an NFS issue. The server did not
crash; I guess it was just not responding for a long time. I will
investigate this further. Its an NFS mount with default parameters
with IPv6 over 802.11b. This is when reading big files. I had these
problems before, but that was when writing big files.

===> build.sh command: build.sh -u -U -O /mnt/obj-i386 -T /mnt/tools-i386 -D /mnt/build-i386 -R /mnt/release-i386 -w /tmp/wrapper install=/
===> build.sh started: Mon Jun 30 09:20:09 CEST 2003
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /mnt/tools-i386
===> DESTDIR path:     /mnt/build-i386
===> RELEASEDIR path:  /mnt/release-i386
===> makewrapper:      /tmp/wrapper
===> Updated /tmp/wrapper
(cd /mnt/src/distrib/sets &&  /mnt/tools-i386/bin/nbmake INSTALLDIR=/ INSTALLSETS= installsets)
DESTDIR=/mnt/build-i386  MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/mnt/tools-i386/bin/nbcksum MAKE=/mnt/tools-i386/bin/nbmake MTREE=/mnt/tools-i386/bin/nbmtree PAX=/mnt/tools-i386/bin/nbpax sh /mnt/src/distrib/sets/maketars -d /mnt/build-i386  -M /mnt/build-i386/METALOG -N /mnt/src/etc  -i / 
Parsing /mnt/build-i386/METALOG
Copying set base
pax: Cannot set file uid/gid of /./mnt (Read-only file system)
pax: Cannot set permissions on /./mnt (Read-only file system)
pax: Cannot set permissions on /./mnt (Read-only file system)
pax: Access/modification time set failed on: /./mnt (Read-only file system)
pax: Cannot set permissions on /./mnt (Read-only file system)
pax: Access/modification time set failed on: /./mnt (Read-only file system)
Copying set comp
Copying set games
pax: Unable to open ./var/games/hackdir/perm to read (Permission denied)
pax: Unable to open ./var/games/phantasia/gold to read (Permission denied)
pax: Unable to open ./var/games/phantasia/lastdead to read (Permission denied)
pax: Unable to open ./var/games/phantasia/mess to read (Permission denied)
pax: Unable to open ./var/games/phantasia/monsters to read (Permission denied)
pax: Unable to open ./var/games/phantasia/motd to read (Permission denied)
pax: Unable to open ./var/games/phantasia/void to read (Permission denied)
Copying set man
nfs server kirk.rvdp.org:/export/NetBSD-current: not responding
Read from remote host bones: Connection reset by peer
Connection to bones closed.
kirk$

	rvdp