Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 11:47:11 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        robert@webtent.com
Cc:        FreeBSD <freebsd-questions@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: page fault while in kernel mode
Message-ID:  <20081021184711.GA37448@icarus.home.lan>
In-Reply-To: <1224614122.8122.62.camel@columbus.webtent.org>
References:  <1224445801.6926.0.camel@laptop.webtent.org> <200810201345.35248.jhb@freebsd.org> <1224550327.21638.2.camel@laptop.webtent.org> <200810211203.44931.jhb@freebsd.org> <1224614122.8122.62.camel@columbus.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 21, 2008 at 02:35:22PM -0400, Robert Fitzpatrick wrote:
> On Tue, 2008-10-21 at 12:03 -0400, John Baldwin wrote:
> > 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.
> 
> Thanks for the help. Excuse the ignorance, I'm more a programmer than
> system guy. How do I purge a driver, or know which driver to look for,
> from the config and know what the driver supports? Do you mean, in this
> case, remove 'nodevice adv' from the PAE file? If so, I don't know what
> that supports :/

Yeah, I don't think anyone's really explaining this very well to you, so
I'll try a different approach:

Certain FreeBSD drivers do not work in PAE mode.

The drivers which don't work are listed in the /sys/i386/conf/PAE
file.  They're prefixed by the word "nodevice", which tells the
kernel config reader "DO NOT build this device, because it won't
work".

You will need to take the "nodevice" lines from /sys/i386/conf/PAE and
put them into your kernel config file.  (There are alternative methods
such as using "include" directives and so on, but I'm trying to keep
this explanation simple.)

Make sense now?  :-)

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081021184711.GA37448>