From owner-freebsd-stable@FreeBSD.ORG Sat Nov 15 15:21:07 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 72C29185 for ; Sat, 15 Nov 2014 15:21:07 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C62F289 for ; Sat, 15 Nov 2014 15:21:07 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::edec:632d:bcc:2985] (unknown [IPv6:2001:7b8:3a7:0:edec:632d:bcc:2985]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9F9EBB80A; Sat, 15 Nov 2014 16:20:55 +0100 (CET) Subject: Re: best overall upgrade from 8.x? Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B3576B11-077F-4AD9-963E-3E6E50EC7306"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b1 From: Dimitry Andric In-Reply-To: <20141115125347.GC16633@swelter.hanley.stade.co.uk> Date: Sat, 15 Nov 2014 16:20:49 +0100 Message-Id: References: <54673CA1.5020008@netfence.it> <20141115125347.GC16633@swelter.hanley.stade.co.uk> To: aw1@stade.co.uk X-Mailer: Apple Mail (2.1990.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: Sat, 15 Nov 2014 15:21:07 -0000 --Apple-Mail=_B3576B11-077F-4AD9-963E-3E6E50EC7306 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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. A regular boot to full multi user mode may or may not work, depending on numerous unpredictable circumstances. :-) > Fortunately the quick and dirty upgrade approach works for this case. > I did not expect it to (8-) > > cd /usr/src > mergemaster -p > make installkernel > make installworld > mergemaster > shutdown -r now This is not the correct procedure, and just as above, it may or may not work. The new world you install with installworld can depend on kernel features which are only available *after* you reboot with the kernel just installed with installkernel. The proper procedure, mentioned at the bottom of /usr/src/UPDATING, is: make buildworld make kernel KERNCONF=YOUR_KERNEL_HERE [1] [3] mergemaster -Fp [5] make installworld mergemaster -Fi [4] make delete-old [6] Here, "make kernel" is just shorthand for "make buildkernel" followed by "make installkernel". -Dimitry --Apple-Mail=_B3576B11-077F-4AD9-963E-3E6E50EC7306 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlRnb1cACgkQsF6jCi4glqOOIgCgnpudsGtqZN6XbaYTEvMEwiuf IHwAnRy7ILBBvQQu0t3VtlLgZ/hY+jzW =iawL -----END PGP SIGNATURE----- --Apple-Mail=_B3576B11-077F-4AD9-963E-3E6E50EC7306--