From owner-freebsd-questions@FreeBSD.ORG Mon Sep 12 19:19:39 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 A61CA16A41F for ; Mon, 12 Sep 2005 19:19:39 +0000 (GMT) (envelope-from s_chalmers70@yahoo.com) Received: from web50203.mail.yahoo.com (web50203.mail.yahoo.com [206.190.38.44]) by mx1.FreeBSD.org (Postfix) with SMTP id AE1C543D5E for ; Mon, 12 Sep 2005 19:19:37 +0000 (GMT) (envelope-from s_chalmers70@yahoo.com) Received: (qmail 51650 invoked by uid 60001); 12 Sep 2005 19:19:36 -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=xB6BkzsAzlDtbXf3vdg57iHxEOXJ4OFffr9aofcs9E0gLfLR5FZRc349nfdKtL8DGKh/wDKOL/qH/oXCehqm894kYJ34fjGN2+7htxu4JnGhyMG6+takwhhPAm7CzrXvgRe/rx2+mFbpevaxok5OKFf2AQjU4TsZRPTIFcDL3vQ= ; Message-ID: <20050912191936.51648.qmail@web50203.mail.yahoo.com> Received: from [82.41.71.69] by web50203.mail.yahoo.com via HTTP; Mon, 12 Sep 2005 20:19:36 BST Date: Mon, 12 Sep 2005 20:19:36 +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: Re: 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 19:19:39 -0000 Oops, Forgot to mention that after mounting /usr/src and /usr/obj on the client machine, that I had issued the 'shutdown' command, as per the Handbook Thanks! --- Stuart Chalmers wrote: > 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 ... > > ----------> shutdown ----------> > > 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 > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com