From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 15:10:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A60116A4CE for ; Wed, 2 Jun 2004 15:10:47 -0700 (PDT) Received: from chello080110061116.502.15.vie.surfer.at (chello080110061116.502.15.vie.surfer.at [80.110.61.116]) by mx1.FreeBSD.org (Postfix) with SMTP id 2076B43D58 for ; Wed, 2 Jun 2004 15:10:46 -0700 (PDT) (envelope-from 4711@chello.at) Received: (qmail 15743 invoked from network); 2 Jun 2004 22:10:44 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 2 Jun 2004 22:10:44 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Thu, 3 Jun 2004 00:10:34 +0200 User-Agent: KMail/1.6.2 References: <200406021741.i52HfQ4k064742@freefall.freebsd.org> In-Reply-To: <200406021741.i52HfQ4k064742@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_kBlvAMix21zrKKD"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200406030010.44248.4711@chello.at> cc: Jean-Marc Zucconi Subject: Re: Installworld with NFS mounts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 22:10:47 -0000 --Boundary-02=_kBlvAMix21zrKKD Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 02 June 2004 19:41, Jean-Marc Zucconi wrote: > Is it supposed to work? I have properly mounted all required disks on > the target machine and it failed first with 'touch: not found'. OK I > copied touch in /tmp/install.$$ and tried again. Then it failed > because it could not find install, then rpcgen. I copied them again in > the temp dir, but now it can't go beyond the following: > > =3D=3D=3D> lib/csu/i386-elf > install -o root -g wheel -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib > install: crt1.o: No such file or directory > > Any ideas? > > Jean-Marc It works fine for me. I use it for kernel, userland, ports and package=20 installation. Builds from nfs client side work fine, too. Some points you c= an=20 check: =20 1. On your building machine: Does /usr/obj/usr/src/lib/csu/i386-elf/crt1.o exi= st?=20 If not something went wrong with your "make buildworld". On the target machine: Are kernel and the userland you try to install in sy= nc?=20 2.=20 =46rom the FreeBSD Handbook: "All the machines in this build set need to=20 mount /usr/obj and /usr/src from the same machine, and at the same point."= =20 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html Are you sure both directory trees exported and mounted correctly? ie. my /etc/exports line on the nfs server looks like this: /usr/obj /usr/src /usr/ports -maproot=3D0:0 -network 192.168.123.0 -mask=20 255.255.255.0 My corresponding /etc/fstab lines on the target host: 192.168.123.10:/usr/ports /usr/ports nfs rw,-i,-s,-r=3D8192,-w=3D8192 0 0 192.168.123.10:/usr/src /usr/src nfs rw,-i,-s,-r=3D8192,-w=3D8192 0 0 192.168.123.10:/usr/obj /usr/obj nfs rw,-i,-s,-r=3D8192,-w=3D8192 0 0 3. Does nfs properly work? Some cheap low-end NICs possibly show a high packet= =20 retransmission rate and packet loss. This also can happen, if your nfs serv= er=20 is overloaded. You can check this with 'netstat -i -w 5', tcpdump or any=20 other network sniffer. In this case tuning of your nfs mounts could help a= =20 little (man 8 mount_nfs). Try to play around with readsize and timeouts or= =20 try to use tcp instead of udp.=20 Hth ch =20 =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x941B6B0B=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.eduroo --Boundary-02=_kBlvAMix21zrKKD Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAvlBkcyi/EZQbawsRAr6tAKCNb+GOD5ki17rZNKPS9HU1ca5w0wCgmcK2 d9ihgKJOBNXkhBbSMbH8DHA= =LxK0 -----END PGP SIGNATURE----- --Boundary-02=_kBlvAMix21zrKKD--