From owner-freebsd-stable@FreeBSD.ORG Mon Nov 17 17:08:17 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A2DE101 for ; Mon, 17 Nov 2014 17:08:17 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52C00750 for ; Mon, 17 Nov 2014 17:08:17 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id sAHH90Uq007079 for ; Mon, 17 Nov 2014 09:09:01 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: "freebsd-stable@freebsd.org" In-Reply-To: References: <54673CA1.5020008@netfence.it> <20141115125347.GC16633@swelter.hanley.stade.co.uk> , From: "Chris H" Subject: Re: best overall upgrade from 8.x? Date: Mon, 17 Nov 2014 09:09:01 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <971085e211564c84a0460ca945eda837@ultimatedns.net> Content-Transfer-Encoding: 8bit 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: Mon, 17 Nov 2014 17:08:17 -0000 On Sat, 15 Nov 2014 09:26:22 -0600 Adam Vande More wrote > On Sat, Nov 15, 2014 at 9:20 AM, Dimitry Andric wrote: > > > On 15 Nov 2014, at 13:53, Adrian Wontroba wrote: > > > > > > On Sat, Nov 15, 2014 at 12:44:33PM +0100, Andrea Venturoli wrote: > > >> On 11/15/14 05:48, Kevin Oberman wrote: > > >>> I'd wait a month or so and, if no problems that might impact you pop > > up, > > >>> I'd go with 10.1 > > >> Uh... is direct upgrade (using sources) possible from 8.4 to 10.1? > > >> No need to step through 9.x? > > > > > > Even the move from 9.2 (a near year old 9/stable) to 10.1 (stable/10 as > > > of about 3 weeks ago) is slightly problematic. > > > > > > Following the normal upgrade procedure of installkernel and then > > > rebooting with the userland untouched runs into a problem whereby > > > rc.conf falls apart with a shower of eval errors, no networking, ... > > > > > > I do not know the cause. > > > > I almost certainly know the cause: you are supposed to reboot into > > single user mode after installkernel. > > > This is almost certainly not the cause. Something else in the horked up > given procedure or some omission of facts is the likely cause. Fortunately, > nice people have already created documentation on how to do this: > > https://www.freebsd.org/doc/handbook/makeworld.html FWIW The following has worked perfectly for ~10yrs. 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= make -DALWAYS_CHECK_MAKE installkernel KERNCONF= reboot (in single user mode) fsck -p (optional, but a good idea) mount -u / mount -a -t ufs swapon -a (most cases; optional) adjkerntz -i (not always necessary, but DO check current time/date, just in case) mergemaster -p cp -Rp /etc /etc.old cd /usr/src make installworld mergemaster -F or mergemaster -vF (my personal choice) or mergemaster -cvF make delete-old reboot HTH --Chris > > > -- > Adam > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"