Date: Tue, 21 Oct 2008 12:03:44 -0400 From: John Baldwin <jhb@freebsd.org> To: robert@webtent.com Cc: Jeremy Chadwick <koitsu@freebsd.org>, FreeBSD <freebsd-questions@freebsd.org> Subject: Re: page fault while in kernel mode Message-ID: <200810211203.44931.jhb@freebsd.org> In-Reply-To: <1224550327.21638.2.camel@laptop.webtent.org> References: <1224445801.6926.0.camel@laptop.webtent.org> <200810201345.35248.jhb@freebsd.org> <1224550327.21638.2.camel@laptop.webtent.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810211203.44931.jhb>