From owner-freebsd-questions@FreeBSD.ORG Tue Feb 28 16:30:38 2006 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 2A68216A420 for ; Tue, 28 Feb 2006 16:30:38 +0000 (GMT) (envelope-from duncan.fbsd@gmail.com) Received: from smtp106.sbc.mail.re2.yahoo.com (smtp106.sbc.mail.re2.yahoo.com [68.142.229.99]) by mx1.FreeBSD.org (Postfix) with SMTP id 04D7243D72 for ; Tue, 28 Feb 2006 16:30:33 +0000 (GMT) (envelope-from duncan.fbsd@gmail.com) Received: (qmail 18887 invoked from network); 28 Feb 2006 16:30:32 -0000 Received: from unknown (HELO pres1750.mylan.net) (donaldj@ameritech.net@69.211.89.144 with plain) by smtp106.sbc.mail.re2.yahoo.com with SMTP; 28 Feb 2006 16:30:32 -0000 From: "Donald J. O'Neill" To: Kris Kennaway Date: Tue, 28 Feb 2006 10:30:16 -0600 User-Agent: KMail/1.9.1 References: <7.0.1.0.2.20060221103409.021a8808@broadpark.no> <200602280848.15780.duncan.fbsd@gmail.com> <20060228145251.GA80820@xor.obsecurity.org> In-Reply-To: <20060228145251.GA80820@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-14" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200602281030.16637.duncan.fbsd@gmail.com> Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: Haven't been able to make world in about a year 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, 28 Feb 2006 16:30:38 -0000 On Tuesday 28 February 2006 08:52, Kris Kennaway wrote: > On Tue, Feb 28, 2006 at 08:48:15AM -0600, Donald J. O'Neill wrote: > > > > >11) script /home/script/buildworld/iw-???date run" > > > > >12) cd /usr/src pwd > > > > >13) mergemaster -p > > > > >14) make installworld > > > > >15) mergemaster -i ???install everything? > > > > >16) exit > > > > >17)shutdown -r now > > > > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > >This should help a bit. > > > > > > > > Hello Don! > > > > Thank you for some good help. > > > > > > > > My make.conf only had some use.perl stuff. > > > > I added your flags. > > > > > > > > Also I've revised my sequence: > > > > > > > > cvsup -g -L 2 /etc/cvsupfile \ > > > > > > > > && cd /usr/obj \ > > > > && chflags -R noschg * \ > > > > && rm -rf * \ > > > > > > > > && cd /usr/src ; make clean \ > > > > && make buildworld \ > > > > && make buildkernel KERNCONF=3DNINJA \ > > > > && make installkernel KERNCONF=3DNINJA \ > > > > && make installworld \ > > > > && mergemaster \ > > > > > > > > And am now ready to give it another go :) > > > > > > Until you are satisfied that everything works without any > > > problems at all, please don't use scripts to run the builds. > > > > > > For instance, your script above lacks a call to ``mergemaster > > > -p'' before the ``make buildworld'' step, which may be necessary. > > > > That's a call to 'script' to run, telling it where to put the > > resulting text file. While it is running, commands are given and > > executed. Later, if something goes wrong, or you saw something you > > want to check on, you have a record of what happened that you can > > look at, and pass on to others, if needed. > > > > Could you explain the logic of running mergemaster -p, when you > > have nothing to run it on. /usr/obj was blown away at the beginning > > of the buildworld sequence. What are you going to check at that > > point? Please take a look at the handbook for the sequence that > > things should occur in. I would say look at /usr/src/UPDATING, but > > their sequence doesn't include installing the kernel anymore. > > He means to run mergemaster -p before make installworld, as in the > instructions quoted at the top of this email and in > /usr/src/UPDATING. Also, the documented sequence *does* include > installing the kernel, so I don't know what you mean there either. > > Kris He may mean that, but it's not what he said. I went by what he said. =46rom /usr/src/UPDATING: To rebuild everything and install it on the current system. ----------------------------------------------------------- # Note: sometimes if you are running current you gotta do more than # is listed here if you are upgrading from a really old current. make buildworld make kernel KERNCONF=3DYOUR_KERNEL_HERE [1] [3] mergemaster -p [5] make installworld make delete-old mergemaster [4] To upgrade in-place from 5.x-stable or higher to 6.x-stable ----------------------------------------------------------- make buildworld [9] make kernel KERNCONF=3DYOUR_KERNEL_HERE [8] [1] [3] mergemaster -p [5] make installworld make delete-old mergemaster -i [4] I just don't see where it says "make installkernel KERNCONF=3DYOUR_KERNEL.= =20 It used to. That's where I got my original procedure from as the=20 handbook at the time was somewhat confusing. Now the procedure in the=20 handbook is better. Don