page fault while in kernel mode

Robert Fitzpatrick lists at webtent.net
Mon Oct 20 17:53:24 PDT 2008


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?

--
Robert



More information about the freebsd-questions mailing list