From owner-freebsd-stable@FreeBSD.ORG Tue Nov 18 06:13:12 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3F3D8FA for ; Tue, 18 Nov 2014 06:13:12 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A7A9388 for ; Tue, 18 Nov 2014 06:13:12 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id tp5so3928283ieb.40 for ; Mon, 17 Nov 2014 22:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=l3lVGkkIqbckXwnvb6IeSUJlePjgLb/qoI5cyL5V/yE=; b=kagtYU6tJO27xGo3Seq8L5XJ1vIrfLyzRrkp2M5P/HuwCyMoohiktfu+QrQj1TYxn2 txteZbrk1K1bh/WpMj5r2+kYNA9nsRKt9PIfIn39cq8RLlTQ9M0lbuYrdZ0kPYX6/ZGQ xIm9eszRqUOg3drF7PJCwxSN5Oum+Uo1WNvIRMYHBkh/yieie41KklPRAzfInxLf1Kiy yegvOJEPV16uNGb/g7mulN3N0Wyu5XUJkVLcZIGgxQfbTeCVQnV4kT+pRfDNNwN4lQ1m uUG3ruq4pVz0QNv6d6KVbBaE0Sd3KYXjM1DIoWOP0CGOn+voo61BgnTFiVaI3XlrLG4f OQNQ== MIME-Version: 1.0 X-Received: by 10.50.79.166 with SMTP id k6mr976096igx.0.1416291191914; Mon, 17 Nov 2014 22:13:11 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.7.169 with HTTP; Mon, 17 Nov 2014 22:13:11 -0800 (PST) In-Reply-To: <971085e211564c84a0460ca945eda837@ultimatedns.net> References: <54673CA1.5020008@netfence.it> <20141115125347.GC16633@swelter.hanley.stade.co.uk> <971085e211564c84a0460ca945eda837@ultimatedns.net> Date: Mon, 17 Nov 2014 22:13:11 -0800 X-Google-Sender-Auth: la9H7minqlqfIHNvPEEG5Kzr8mg Message-ID: Subject: Re: best overall upgrade from 8.x? From: Kevin Oberman To: Chris H Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 06:13:12 -0000 This is a bit nit-picky, but... (in-line) NOTE personal experience indicates that regression issues introduced > by pkg(8), makes >=8.3-* the minimum starting point. YMMV > > I have used the following for ~10yrs. w/o issue (comments added for > *hopeful* clarity). > > The IMMEDIATELY following, is only relevant RE-building world/kernel: > cd /usr/obj > chflags -R noschg * > rm -rf * > > > cd /usr/src > make buildworld > > NOTES: > SINGLE CPU: make -j4 buildworld > > NOTE: > MULTI CPU: make -j(6 through ??) buildworld > > # pre version 9 > make kernel-toolchain > > make -DALWAYS_CHECK_MAKE buildkernel KERNCONF= > I would add -jN to this using the same value for 'N' as used for buildworld make -DALWAYS_CHECK_MAKE installkernel KERNCONF= > > reboot (in single user mode) > > fsck -p (optional, but a good idea) > mount -u / > Redundant before the fact as the next command (mount -a -t ufs) does this, too mount -a -t ufs > swapon -a (most cases; optional) > > adjkerntz -i (not always necessary, but DO check current time/date, just in > case) > In more fetail, if the hardware clock is UTC, this is not required. If /etc/wall_cmos_clock exists, this is needed, but you really should do it BEFORE mounting disks. UPDATING shows it right after the fsck. It avoids any possibility of something being time-stamped in the future. > > mergemaster -p > This is way, way to late. On at least one case, this would have lead to a very awkward failure of installworld. The man page is explicit that it should be run before buildworld. This is the only thing in this that is really, really wrong and can lead to a recoverable, but very annoying failure. > > cp -Rp /etc /etc.old > Not really needed, but good for the "belt and braces" type. > > cd /usr/src > > make installworld > > mergemaster -F > or mergemaster -vF (my personal choice) > or mergemaster -cvF > > make delete-old > This can be a bit painful as you are prompted for every file. I suggest "make check-old" and then "rm -rf" any directories listed as ready for deletion. direcctories are listed near the end, just before libs. > > reboot > > HTH > > --Chris > -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com