FreeBSD 9.0 16kb Page Size

Polytropon freebsd at edvax.de
Sat Mar 19 12:35:02 UTC 2016


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, ...


More information about the freebsd-questions mailing list