From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 19:10:37 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 C56AA1065679; Tue, 21 Oct 2008 19:10:37 +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 462258FC14; Tue, 21 Oct 2008 19:10:37 +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 m9LJAPVT007440; Tue, 21 Oct 2008 15:10:31 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Jeremy Chadwick Date: Tue, 21 Oct 2008 15:09:53 -0400 User-Agent: KMail/1.9.7 References: <1224445801.6926.0.camel@laptop.webtent.org> <1224614122.8122.62.camel@columbus.webtent.org> <20081021184711.GA37448@icarus.home.lan> In-Reply-To: <20081021184711.GA37448@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810211509.53454.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 15:10:31 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8462/Tue Oct 21 13:22:09 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: robert@webtent.com, 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 19:10:37 -0000 On Tuesday 21 October 2008 02:47:11 pm Jeremy Chadwick wrote: > 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? :-) Alternatively, you could just remove the 'device adv' line from your kernel config rather than adding lots of 'nodevice' lines at the bottom. You can usually do 'man 4 ' to see what devices it supports. In this case, adv(4) supports mostly ancient Advansys SCSI host adapters. The manpage has a full list of the various model numbers, etc. -- John Baldwin