From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 09:34:25 2003 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 B88D116A4B3 for ; Mon, 22 Sep 2003 09:34:25 -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 57C2544011 for ; Mon, 22 Sep 2003 09:34:24 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8MGXCJK036090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2003 17:34:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h8MGXCDT036089; Mon, 22 Sep 2003 17:33:12 +0100 (BST) (envelope-from matthew) Date: Mon, 22 Sep 2003 17:33:11 +0100 From: Matthew Seaman To: Brent Bailey Message-ID: <20030922163311.GC34858@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Brent Bailey , questions@freebsd.org References: <31494.207.5.142.198.1064245283.squirrel@bmyster.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4jXrM3lyYWu4nBt5" Content-Disposition: inline In-Reply-To: <31494.207.5.142.198.1064245283.squirrel@bmyster.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.2 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,MANY_EXCLAMATIONS, PGP_SIGNATURE_2,PLING_QUERY,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: questions@freebsd.org Subject: Re: CVSUP and Make World help !?!? 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: Mon, 22 Sep 2003 16:34:25 -0000 --4jXrM3lyYWu4nBt5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 22, 2003 at 11:41:23AM -0400, Brent Bailey wrote: > i found this how to ...is this the correct way to update via CVSUP and > make world ?? It's mostly right: probably goes a bit beyond what you actually need to do. The problem with it is here: > Drop to single user mode: > # shutdown now This is not right: the point is that you have to shut the system right down and reboot with the *new* kernel you've just installed. Just dropping to single user doesn't do that. =20 > Or reboot into single user mode: >=20 > # shutdown -r now This is the correct version. Note that the point of rebooting into single user is two-fold. First of all, it lets you test the new kernel -- it's relatively easy to back out a duff kernel and reboot with the previous version. However, if you were to just blindly install both kernel and world together, and something went wrong, you would be without a reasonable way to back out to a previous, working system. You'ld probably have to go into complete disaster-recovery-from-backup mode. Secondly, it avoids having to boot all the way up with your new kernel and your old world. You need kernel and world to be synchronised on FreeBSD, and it's generally good practice to make sure the system is a quiescent as possible while you're updating all of the vital bits of it. As far as testing the new kernel: since you're using a well tested, release version of a stable OS (except for those of you running -CURRENT, that is) not a great deal is required. Generally if the kernel will boot up far enough to get you to single user mode, that's good enough that you can confidently carry on with the rest of the upgrade. The new kernel may still not be quite right (eg. you may have missed out some important driver from the configuration), but nothing so vital should be wrong that it can stop you fixing the problem from the upgraded system. 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 --4jXrM3lyYWu4nBt5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/byRHdtESqEQa7a0RAlZ+AJ9Aa41Q2xdq5ttACJncMXZMU43g7ACbBU+m fEsvQTiHAjl5uQv0e6hGL8k= =wrDK -----END PGP SIGNATURE----- --4jXrM3lyYWu4nBt5--