From owner-freebsd-questions@FreeBSD.ORG Tue Mar 20 17:04:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CDDB16A401 for ; Tue, 20 Mar 2007 17:04:18 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1F213C4B0 for ; Tue, 20 Mar 2007 17:04:17 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1673034ana for ; Tue, 20 Mar 2007 10:04:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ftzD7E5R0S7Zy8AadKEeK3GmUVfEhLBZgRdk9OQ13Q7A0j3RJi+vlSFsu1Ewz8qlbw0bTkRA1yWfdg7WqfLR5Id0Qca9QIViq+n5mZiBjaG//6swumc14A4xkhlNDKeOitD257LNAjoRYhTovEIzCmjkGsxPi9LXjuOaufdkqP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r9oiZERsDAyYTvYvTVkf4WiZh6tnDjPKa/8MRBQ1qlQnm3vvEzOCfr//c7vLS/6szGD5a+i9FHxRNqUqtlNTwEYa3/VgQldE8TNFkSihZAeNGL/G4ed9EslkefJD54HXKN+lf975Z3mIGokBVWh8pwHH1WDyh4S0Jf0/UugGt+w= Received: by 10.100.37.4 with SMTP id k4mr5269524ank.1174410257262; Tue, 20 Mar 2007 10:04:17 -0700 (PDT) Received: by 10.114.26.7 with HTTP; Tue, 20 Mar 2007 10:04:17 -0700 (PDT) Message-ID: <8efc42630703201004t123da858ucf168521a1115a8d@mail.gmail.com> Date: Tue, 20 Mar 2007 13:04:17 -0400 From: "Simon Chang" To: "Jonathan Horne" In-Reply-To: <36454.167.246.36.14.1174404316.squirrel@webmail.dfwlp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <36454.167.246.36.14.1174404316.squirrel@webmail.dfwlp.org> Cc: freebsd-questions@freebsd.org Subject: Re: strange installworld issue 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: Tue, 20 Mar 2007 17:04:18 -0000 On 3/20/07, Jonathan Horne wrote: > im trying to installworld on a machine that is having its first update. > buildworld and kernel completed without any errors, and installkernel seemed > just fine. however, when i installworld, this is the error i get: > > phoenix# make installworld > mkdir -p /tmp/install.7QbDbVE1 > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep > install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true > uname wc zic; do cp `which $prog` /tmp/install.7QbDbVE1; done > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 > CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.7QbDbVE1 > /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall > awk: Permission denied > "/usr/src/Makefile.inc1", line 101: warning: "awk > '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' > /usr/include/osreldate.h" returned non-zero status > echo:Permission denied > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > the machine is: > phoenix# uname -a > FreeBSD phoenix 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #1: Sat Feb 10 11:15:11 > EST 2007 root@phoenix:/usr/obj/usr/src/sys/PHOENIX i386 > > ...but i believe its an AMD64 running i386. obivously, this was done once > successfully, but it was done by my partner (but following my directions). i > will note, that i am doing it in full multiuser mode, and not in single user (as > the cannonical method dictates), but at this point, im not totally sure my > current mode is where my problem lies. > > can anyone help decipher this error message? > It looks like the installworld fails because of some permissions issue (see the several permissions denied messages just before the stop errors). Either: 1) You did not become root when you were attempting to do this, 2) Some of your binaries had the system immutable flags set, 3) Some other crazy stuff going on. I have heard Dan Langille say that he could do an installworld without dropping down to single user before (he wrote a tutorial on www.freebsddiary.org where he talked about buildworld on a fast box and installworld on a slow box). But just so that we can compare apples to apples, you should try doing it in single-user mode to start. SC