From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 00:24:26 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 93BDA16A4CF for ; Fri, 16 Apr 2004 00:24:26 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 155B043D2F for ; Fri, 16 Apr 2004 00:24:25 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3G7OB3A004639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Apr 2004 08:24:11 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3G7OBhd004634; Fri, 16 Apr 2004 08:24:11 +0100 (BST) (envelope-from matthew) Date: Fri, 16 Apr 2004 08:24:10 +0100 From: Matthew Seaman To: Aaron Walker Message-ID: <20040416072410.GA3983@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Aaron Walker , freebsd-questions@freebsd.org References: <1082074881.12893.13.camel@morpheus> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <1082074881.12893.13.camel@morpheus> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040407, clamav-milter version 0.70g cc: freebsd-questions@freebsd.org Subject: Re: getting a current system 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: Fri, 16 Apr 2004 07:24:26 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 15, 2004 at 08:21:21PM -0400, Aaron Walker wrote: > I've been trying to get an up-to-date FreeBSD system running for the > past 2 weeks, but keep running into problems. I've tried both 5.2.1 and > 4.9 (with 4.9 giving me more problems believe it or not). I'm pretty > sure I followed the steps in the handbook correctly, but I might be > wrong. Basically, I'd like to verify that I am doing this correctly.=20 > Right after a fresh install I have been doing: >=20 > - Editing supfiles in /usr/share/examples/cvsup. Specifically, the > doc-supfile, ports-supfile and (stable-supfile for 4.9 and > standard-supfile for 5.2.1). Changed the CVS host and the default base > to /usr/local/etc/cvsup > - Ran 'cvsup -g -L 2 SUPFILE' for the supfiles above that were edited. > - Created /etc/make.conf with simple flags: > CPUTYPE=3Dathlon-xp > CFLAGS=3D-O -pipe > MAKE_SHELL=3Dsh > NOPROFILE=3Dtrue > - Ran 'mergemaster -p' to check if any config changes are needed before > running 'make buildworld'=20 > - cd /usr/src && make -j4 buildworld > - make buildkernel (for now I have just used the GENERIC until I get > this all working) > - make installkernel > - Reboot to single-user mode > - make installworld > - mergemaster >=20 > Is this all that is needed to update the system? 4.9 gave me the most > problems during and after the above steps. I am really determined to > get this working, despite all the problems I am having. A fresh install > of 5.2.1 has just finished, so I am gonna try this again (hopefully with > the help of you guys). Yes, that is a pretty fair summary of the steps required to update a system. There's a couple of other points, neither of which should be anything that blocks things from working: i) MAKE_SHELL -- as far as I can tell, this was a proposal that was either never committed to the FreeBSD sources, or was once committed and has since been removed. Although this variable is documented in make.conf(5)... The original proposal can be seen here: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D36961+0+archive/2000= /freebsd-hackers/20000430.freebsd-hackers but greping the 4-STABLE sources doesn't return any hits, except for that man page, and the particular case of libreadline, where MAKE_SHELL is used as a variable in it's configure system. In any case, the presence or absence of MAKE_SHELL in your /etc/make.conf should not have any effect on what you're trying to do. I'd leave it out myself. ii) Using parallel make -- the '-j 4' flags. Certainly should work, but if you're running into problems, this should be the first thing you drop when trying to debug them. =20 The only other thing that leaps out at me as a possible problem is: CPUTYPE=3Dathlon-xp Under 4.x that's not one of the recognised settings. You would want: CPUTYPE=3Dk7 in that case. But as you say, you're using 5.2.1 now, where it is one of the recognised CPU types. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf4oadtESqEQa7a0RAgdWAJ4tNjzXt7CvX4SD2KJVlAtvVbYFrwCghBNh lm/nfS7fFS9ermJmPObkH5w= =+Jg2 -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--