Date: Sun, 20 Mar 2016 10:16:37 +0000 From: Timothy Macintyre <tmacintyre@outlook.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Fw: FreeBSD 9.0 16kb Page Size Message-ID: <VI1PR05MB1343F3ED86DA432DA8DC265BDA8E0@VI1PR05MB1343.eurprd05.prod.outlook.com> In-Reply-To: <VI1PR05MB1343451F6F4EBE6BCDF9F020DA8D0@VI1PR05MB1343.eurprd05.prod.outlook.com> References: <VI1PR05MB1343B48CB99607A90FB15C09DA8C0@VI1PR05MB1343.eurprd05.prod.outlook.com>, <20160319132752.932a5a1e.freebsd@edvax.de>, <VI1PR05MB1343451F6F4EBE6BCDF9F020DA8D0@VI1PR05MB1343.eurprd05.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I originally asked this on freebsd-questions (below) and was forwarded here= . I have tried updating the page size of the latest release (10) and the ke= rnel still crashes, I imagine I'm missing something like an invalid struct = size but not sure where. Any help would be greatly appreciated. Thanks. ________________________________________ From: Polytropon <freebsd@edvax.de> Sent: 19 March 2016 12:27 To: Timothy Macintyre Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9.0 16kb Page Size 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. 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". ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR05MB1343F3ED86DA432DA8DC265BDA8E0>