From owner-freebsd-current@freebsd.org Thu Jan 3 01:01:27 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D2E4143742C for ; Thu, 3 Jan 2019 01:01:27 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E3F85813E4 for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id A1C6D1437429; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EF661437428 for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 246A6813DE for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1546477285; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=J/RWyOAFFuzfmdV0WURXOiXLaEk=; b=Q+Ze6OEm58B8ZiNmm9PCYCYKKYok+f65SqkJzcstmw1OyB2SUiFLokwEGWMrRiQ/ HB2F6S5rDTV63vgWRX8E+jwCjgWZEYbaAINoyfIDmCfHa3KFUyCfbh9WxUvusMil POh+FQJhgzVGvcSEknT/PKuUerUqh+/CJGgv0fPFqK6S3RLjT/GgAl0Ochr6pvXb EmCI7kC0ecD+eGQ9ZlJVBu76H3Wu90X78I0QmkRgAm4bp1xRY86KeE37Fd3wgmMS gzpdQpAyMOoW6L+r2Wf2xJBuK3eQ9QWvoi1+j8aI9Kqe/WZNeV4mKfWIOb5Sr0I5 L3reMPeQCuCm7wSISa+KIA==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=K/pgJGeI c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=3JhidrIBZZsA:10 a=48faUk6PgeAA:10 a=stKDiEJDuLZZKY9bAwEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=softfail; sender-id=softfail Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received: from [209.6.230.48] ([209.6.230.48:45062] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 4A/37-19624-4EE5D2C5; Wed, 02 Jan 2019 20:01:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23597.24292.297840.309399@jerusalem.litteratus.org> Date: Wed, 2 Jan 2019 20:01:24 -0500 From: Robert Huff To: John Baldwin Cc: Robert Huff , current@freebsd.org Subject: Re: kernel config question In-Reply-To: <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> <23597.11683.194179.304498@jerusalem.litteratus.org> <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> X-Mailer: VM 8.2.0b under 26.1 (amd64-portbld-freebsd12.0) X-Rspamd-Queue-Id: 246A6813DE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 01:01:27 -0000 John Baldwin writes: > - [8] In order to have a kernel that can run the 4.x binaries needed to > - do an installworld, you must include the COMPAT_FREEBSD4 option in > - your kernel. Failure to do so may leave you with a system that is > - hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is > - required to run the 5.x binaries on more recent kernels. And so on > - for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. > + [8] The new kernel must be able to run existing binaries used by > + an installworld. When upgrading across major versions, the new > + kernel's configuration must include the correct COMPAT_FREEBSD > + option for existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x > + binaries). Failure to do so may leave you with a system that is > + hard to boot to recover. A GENERIC kernel will include suitable > + compatibility options to run binaries from older branches. Maybe not perfect, but _much_ better. Thanks. Respectfully, Robert Huff