Date: Wed, 24 Sep 2008 21:54:04 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: pc with 4G memory Message-ID: <48DAA8EC.8010103@FreeBSD.org> In-Reply-To: <9bbcef730809220219l7540ae98t3bb840fd3830937e@mail.gmail.com> References: <137523.41269.qm@web52108.mail.re2.yahoo.com> <gairlk$flu$1@ger.gmane.org> <48D1F7AB.5010103@FreeBSD.org> <9bbcef730809180058u6d119a3exf11baf10bdced709@mail.gmail.com> <48D2AC69.8040906@FreeBSD.org> <9bbcef730809181339p3a71a8fcj7161319e7818e570@mail.gmail.com> <9bbcef730809220219l7540ae98t3bb840fd3830937e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote: > 2008/9/18 Ivan Voras <ivoras@freebsd.org>: >> 2008/9/18 Kris Kennaway <kris@freebsd.org>: >> >>>> # Don't build modules with this kernel config, since they are not built >>>> with >>>> # the correct options headers. >>>> makeoptions NO_MODULES=yes >>>> """ >>>> >>>> wrong? >>> Not as such, but if you use buildkernel then modules *are* built with the >>> correct options headers. There's nothing fundamental preventing PAE modules >>> from working, and indeed they do. >> It would have been really useful in one occasion if I knew it before :) >> I'll test it. > > Hi, > > As described in the documentation and the config file, I cannot build > kernel modules with PAE configured - I get a compile error at type > mismatch of a VM item. Is there something special that needs to be > done to get them built? > > What I did: removed NO_MODULES from PAE config file and used make > buildkernel KERNCONF=PAE . > > Use MODULES_OVERRIDE. Just as some drivers are disabled in the PAE kernel config, neither can they be built as modules. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48DAA8EC.8010103>