From owner-freebsd-questions@FreeBSD.ORG Mon Sep 12 16:11:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B38F516A425 for ; Mon, 12 Sep 2005 16:11:26 +0000 (GMT) (envelope-from s_chalmers70@yahoo.com) Received: from web50204.mail.yahoo.com (web50204.mail.yahoo.com [206.190.38.45]) by mx1.FreeBSD.org (Postfix) with SMTP id 7993F43D60 for ; Mon, 12 Sep 2005 16:11:25 +0000 (GMT) (envelope-from s_chalmers70@yahoo.com) Received: (qmail 72649 invoked by uid 60001); 12 Sep 2005 16:11:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=noNRqjBFhg5Oqh4jJxiDWrLuEiGOBNvnOqaI2iMovsSjh4CMA07NXZ8dUac3kCWns8A2HDkIUyoSF7GNQgwQBAQ5UxIODfmQLqPLhzo9X0EPWwwAHppB+EoUWQD//Snnf+b4o07XWdT54+5yh78Y7lkF0NiHuGOxlyq7Hgl6YHw= ; Message-ID: <20050912161124.72647.qmail@web50204.mail.yahoo.com> Received: from [82.41.71.69] by web50204.mail.yahoo.com via HTTP; Mon, 12 Sep 2005 17:11:24 BST Date: Mon, 12 Sep 2005 17:11:24 +0100 (BST) From: Stuart Chalmers To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: problem with 'make installkernel' over NFS on FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 16:11:27 -0000 Hi, I am in the process of trying to do an update of kernel and world on an old machine (machine A), using a newer, faster, machine (machine B). Machine B is set up as an NFS server for machine A. The /etc/exports file on machine B inculdes: /usr -maproot=root:0 -alldirs -network 192.168.0.0 -mask 255.255.255.0. Mahine A currently has address 192.168.0.197. Machine B has /usr mounted on a device, not, say, /usr/src. I have followed the following process. While logged onto machine B: cvsup /usr/src cd /usr/src make buildworld make buildkernel KERNCONF= Once this is complete, I then log onto machine A and mount /usr/src and /usr/obj via NFS. The /etc/fstab contains: 192.168.0.2:/usr/src /usr/src nfs ro,-i,noauto 192.168.0.2:/usr/obj /usr/obj nfs rw,-i,noauto (Machine B has 192.168.0.2 assigned to it's internal interface). The KERNCONF file is visible on machine A, and the /etc/make.conf files are pretty similar, speifically: CPUTYPE?=pentium CFLAGS= -O2 -fno-strict-aliasing -pipe COPTFLAGS= -O2 -fno-strict-aliasing -pipe NOPROFILE=true COMPAT4X=true KERNCONF= However, when I cd to (the NFS mounted) /usr/src on machine A and enter ... make installkernel KERNCONF= ... the install fails. >From what I can see, the program /usr/bin/install core dumps with exit status 4. Looking at the man page for install(1) it seems that there is an issue with fchflags(2) over NFS. The questions are then, is my guess correct, and is there a work around? Also, for info, I'm trying to install 5.4-RELEASE-P7 onto A, while B has 5.4-RELEASE-p6 as it's kernel, but DOES have the FreeBSD-SA-05:20.cvsbug update. Any help gratefully received ... Thanks. PS. I did use machine B as the client and machine A as the server, mounted and installed using DESTDIR, but there were a whole lot of warnings about (I think) chflags which certainly didn't look right! ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com