From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 17:42:25 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 BABEE106566B; Tue, 21 Oct 2008 17:42:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3CDB98FC21; Tue, 21 Oct 2008 17:42:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m9LHg6JJ006766; Tue, 21 Oct 2008 13:42:19 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: robert@webtent.com Date: Tue, 21 Oct 2008 12:03:44 -0400 User-Agent: KMail/1.9.7 References: <1224445801.6926.0.camel@laptop.webtent.org> <200810201345.35248.jhb@freebsd.org> <1224550327.21638.2.camel@laptop.webtent.org> In-Reply-To: <1224550327.21638.2.camel@laptop.webtent.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810211203.44931.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 21 Oct 2008 13:42:19 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8461/Tue Oct 21 10:16:58 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jeremy Chadwick , FreeBSD Subject: Re: page fault while in kernel mode 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: Tue, 21 Oct 2008 17:42:25 -0000 On Monday 20 October 2008 08:52:07 pm Robert Fitzpatrick wrote: > On Mon, 2008-10-20 at 13:45 -0400, John Baldwin wrote: > > > i386 cannot address more than 4GB unless the kernel is built with > > PAE > > > mode enabled. This isn't enabled in GENERIC for many (justified) > > > reasons. If you have more than 4GB, you should be using amd64, so > > you > > > made the right decision there. > > > > If you aren't using kernel modules, then PAE should work fine. You > > can make > > kernel modules work with PAE as well, but that takes more work. > > Thanks for the help, I am missing AMD Features for this CPU in dmesg, so > it looks like the CPU does not support amd64. I tried to build my own > kernel with PAE option and getting the following error... > > /usr/src/sys/dev/advansys/advansys.c: In function 'adv_action': > /usr/src/sys/dev/advansys/advansys.c:259: warning: cast from pointer to > integer of different size > *** Error code 1 > > Any idea what I can do for this error? Some drivers don't work with PAE (see all the 'nodevice' lines in /sys/i386/conf/PAE). You'll need to purge those drivers from your config. If you are using the hardware those drivers support, then you can't use PAE. -- John Baldwin