From owner-freebsd-questions@freebsd.org Sat Mar 19 12:37:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FB0CAD4EA1 for ; Sat, 19 Mar 2016 12:37:36 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A8CD1FD for ; Sat, 19 Mar 2016 12:37:36 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id p65so101061820wmp.1 for ; Sat, 19 Mar 2016 05:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=orOGjBN88ZBB/+EXY+p061Rk8KJqLEBq8BzKtAkeE50=; b=o3K3AHErZfVjre7rkbt8wFgA3ZzQbDqjVRlRmpmUsVfGbPmNsZt/wti5jefzHM19He LzayDdHKdkTF/9R8MBbU9tAqBujFJ/k1dZVocbBc8518FhV3bndgU+afCCYN2rk6ori7 qRFlSdgmtQ7DR+BAZ4umZgvkCi7MtX4fvFmxxd7c53RV9C47Re3sWeHM9G0BBIkrS3YT sC19GpEC/j9/rYkIg+bLI5G4BxEFnfXbR68HMRJwk2zbXg+BJWVjEMGZfYW4ZtMnaMcT MMt+oEfTXKuqbqJzzSHX98/DVFRIxv4IlgLF4HHYmV1sFxSwik6lhk35u9M/NppKzkdZ XX+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=orOGjBN88ZBB/+EXY+p061Rk8KJqLEBq8BzKtAkeE50=; b=GsRsl9x7gIMeSoEE3R+zWUndU5Vlp9QqlTCOWT8d96cjhGrjUIVDbFG8ALPoSl1fHm rNdDW1A99bzcicaBxKuew/Veqfd6QcEniRzDg0hBaZBpEpinAzx8EcWFnVPNQk48VC8Q 87iHMznvgEoGgQ9IqPxwj4IXl/DOb7VbgsatWMcUIt7HYwpznKnj+bYrbIdPFTMmkb0H i7xn9RpHxpgFIkp4tYQ59toKbKSEiWg9yO+D0oCkXNJCz6U6O/DSAYx78Vubx5F+S92W fbTbWUEk+6YteGZwhx5uztvm7oC7RHfs1EyUbJUE210MaOjR6CjemVpNcXC3IsGEpWXc 0PSQ== X-Gm-Message-State: AD7BkJL5I59E4XZwj8noGS2pzCvjdDHQirt4QvJjwvlPcACOLnpNoAGpkkJXMKn7ZoKVtmH7nj8EYapoOqE2pA== X-Received: by 10.28.52.197 with SMTP id b188mr4243787wma.77.1458391054309; Sat, 19 Mar 2016 05:37:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.246.73 with HTTP; Sat, 19 Mar 2016 05:37:14 -0700 (PDT) In-Reply-To: <20160319132752.932a5a1e.freebsd@edvax.de> References: <20160319132752.932a5a1e.freebsd@edvax.de> From: Anton Sayetsky Date: Sat, 19 Mar 2016 14:37:14 +0200 Message-ID: Subject: Re: FreeBSD 9.0 16kb Page Size To: Polytropon Cc: Timothy Macintyre , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2016 12:37:36 -0000 2016-03-19 14:27 GMT+02:00 Polytropon : > On Fri, 18 Mar 2016 11:11:17 +0000, Timothy Macintyre wrote: >> I'm trying to do some testing on FreeBSD 9.0 with the page size >> set to 16kb on amd64 but I'm having trouble building a stable kernel. >> >> I've changed the PAGE_SHIFT to 14 under param.h and also updated >> pmap.h/c with the following values so it doesn't complain about >> invalid struct sizes at compile but I'm getting a crash after >> install and reboot. Is there something I'm missing here? >> >> >> #define _NPCM 12 >> #define _NPCPV 677 > > You should probably repeat that experiment with a currently > supported code base. FreeBSD 9.0 is already EOL. The best > idea would be to use the FreeBSD 10.2 release (amd64) and > make the required changes. > > In case you have a valid reason not to use FreeBSD 10, but > instead need to keep FreeBSD 9, try the most current release, > which is FreeBSD 9.3. Remember: it's a legacy release, not a > production release. You're wrong. I've just checked official FreeBSD site: >LATEST RELEASES >Production: 10.2, 10.1, 9.3 > If you have done this and you're still experiencing problems, > write to the freebsd-hackers@ mailing list, which is primarily > intended for higher-level "Technical Discussions relating to > FreeBSD", as freebsd-questions@ is mostly a users' question > list (less technical, often focused on "easy" problems). > Messing with the bowels of the kernel's memory management > isn't a typical "user question". ;-)