From owner-freebsd-stable@FreeBSD.ORG Wed Jul 7 20:53:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F7DF106566C for ; Wed, 7 Jul 2010 20:53:54 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id D59888FC17 for ; Wed, 7 Jul 2010 20:53:53 +0000 (UTC) Received: by pwj9 with SMTP id 9so41354pwj.13 for ; Wed, 07 Jul 2010 13:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Cb1F+JLt7vhfxuqz5Wvuccjrij2Y6tNSP/EskTxzp9o=; b=eerDtOevwIdIRJ5GkjPgQlsL70GvlMAunx21ASY14oyikkukLHsY+b+1LcEFU+JPda Zx1LQyhmZr/aRstKBVOcliBxO/F/p87paEJrcQGeRhAwM37/qOG1h3elkMFXrAoQ5U+I epz8RMnE6+HKFtkCNQUh0WAqFO120Xt7dOZeE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=opzn7KSiHEpCUQbJlAEa1xf57Z+lTuGtnFkNjN/Q3sTmvySzSoRfae27pXuiMf7SqB jpPqMu7S1FCf1VeTNMApoCC6r7Of2uOKCu6dzxKr2t0OdlZSXdnHXDuqjn9IwJysRjbP HdXrjioGWBv2rCFoiMMTvCC/qrALWbOaWG0OQ= MIME-Version: 1.0 Received: by 10.114.66.10 with SMTP id o10mr8257723waa.169.1278536033009; Wed, 07 Jul 2010 13:53:53 -0700 (PDT) Received: by 10.231.37.11 with HTTP; Wed, 7 Jul 2010 13:53:52 -0700 (PDT) In-Reply-To: <4C34E0E6.9070801@aldan.algebra.com> References: <4C34C5DE.7040007@aldan.algebra.com> <20100707185928.GA16180@icarus.home.lan> <4C34E0E6.9070801@aldan.algebra.com> Date: Wed, 7 Jul 2010 13:53:52 -0700 Message-ID: From: Freddie Cash To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: 8.x grudges X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 20:53:54 -0000 On Wed, Jul 7, 2010 at 1:17 PM, Mikhail T. wrot= e: > 07.07.2010 14:59, Jeremy Chadwick ???????(??): >>> >>> =C2=A0 =C2=A0 =C2=A0FREEBSD_COMPAT7 kernel option is, apparently, a req= uirement (and >>> =C2=A0 =C2=A0 =C2=A0thus not an "option") -- the kernel-config files, t= hat worked with >>> =C2=A0 =C2=A0 =C2=A07.x, break without this option in them (in addition= to all the >>> =C2=A0 =C2=A0 =C2=A0nuisance, that's documented in UPDATING -- which, s= omehow, makes >>> =C2=A0 =C2=A0 =C2=A0the breakage acceptable). config(8) would not warn = about this, but >>> =C2=A0 =C2=A0 =C2=A0kernel build fails. >>> >> >> We don't use this option (meaning it's removed from our kernels). =C2=A0= It's >> definitely not required. =C2=A0All it does is ensure your kernel can >> comprehend executables/binaries built on 7.x. >> > > Attached is the kernel config-file (i386), that worked fine under 7.x. Th= e > kernel-compile will break (some *freebsd7* structs undefined), without th= e > COMPAT_FREEBSD7 option. Try it for yourself... While you may get lucky sometimes, it's very *VERY* rare to be able to re-use a kernel config file across major version releases, at least unchanged. Going from 4.x to 5.x required a new kernel config file. (4.x was my first real install of FreeBSD that was upgraded.) Going from 5.x to 6.x required a new kernel config file. Going from 6.x to 7.x required a new kernel config file. Why do you think going from 7.x to 8.x would be any different? When doing major version upgrades, always start with GENERIC from the new release, and add build your custom config file from there. This is way things have been for many, many, many years. Minor version upgrades (7.x to 7.y) rarely require a new kernel config file, although it's still a good idea to start with GENERIC for the duration of the upgrade. But major upgrades have pretty much always required it. --=20 Freddie Cash fjwcash@gmail.com