From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 20:53:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEA1E106568C; Wed, 24 Sep 2008 20:53:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 450E38FC08; Wed, 24 Sep 2008 20:53:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48DAA8EC.8010103@FreeBSD.org> Date: Wed, 24 Sep 2008 21:54:04 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Ivan Voras References: <137523.41269.qm@web52108.mail.re2.yahoo.com> <48D1F7AB.5010103@FreeBSD.org> <9bbcef730809180058u6d119a3exf11baf10bdced709@mail.gmail.com> <48D2AC69.8040906@FreeBSD.org> <9bbcef730809181339p3a71a8fcj7161319e7818e570@mail.gmail.com> <9bbcef730809220219l7540ae98t3bb840fd3830937e@mail.gmail.com> In-Reply-To: <9bbcef730809220219l7540ae98t3bb840fd3830937e@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pc with 4G memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 20:53:49 -0000 Ivan Voras wrote: > 2008/9/18 Ivan Voras : >> 2008/9/18 Kris Kennaway : >> >>>> # 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