From owner-freebsd-arch@FreeBSD.ORG Wed Oct 15 12:14:15 2014 Return-Path: Delivered-To: freebsd-arch@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 4C40B2B0 for ; Wed, 15 Oct 2014 12:14:15 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 CF0A2E8D for ; Wed, 15 Oct 2014 12:14:14 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s9FCEAep085690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Oct 2014 15:14:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua s9FCEAep085690 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s9FCEARF085689; Wed, 15 Oct 2014 15:14:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 15 Oct 2014 15:14:10 +0300 From: Konstantin Belousov To: Terry Kennedy Subject: Re: [rfc] Add boot-time warning messages to PAE kernels Message-ID: <20141015121410.GW2153@kib.kiev.ua> References: <01PDRGFBJ8CO000821@tmk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01PDRGFBJ8CO000821@tmk.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 12:14:15 -0000 On Wed, Oct 15, 2014 at 03:35:45AM -0400, Terry Kennedy wrote: > > PAE is the way to get NX bit on 32bit kernels. > > Educate me here - is this non-amd64-capable hardware being used in a > production environment, or amd64-capable hardware being run in i386 mode > for some reason? I haven't run into any i386 user code that wouldn't run > on a FreeBSD amd64 kernel, so I'm trying to see why PAE is the desired > solution here. I do not understand the question. One of the reason for PAE existence at the current times is the ability to get working !PROT_EXEC support on i386 kernel. I have no idea about 'production' environments. WRT user 32bit code which does not run on amd64 kernel, you obviously did not tried hard. The compat32 is lacking; the simple (from the PoV of the kernel facilities used) programs do run, but anything more involved has a chance to meet unimplemented functionality. E.g., should pf control considered management interfaces ? But it is required for things like miniupnpd and squid in transparent mode.