From owner-freebsd-current@FreeBSD.ORG Tue Aug 19 06:46:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA4416A4BF; Tue, 19 Aug 2003 06:46:21 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43DED43FBF; Tue, 19 Aug 2003 06:46:20 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h7JDkIrO018942; Tue, 19 Aug 2003 09:46:19 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h7JDkIRG018939; Tue, 19 Aug 2003 09:46:18 -0400 (EDT) Date: Tue, 19 Aug 2003 09:46:18 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mark Sergeant In-Reply-To: <1061279747.58787.25.camel@xyzzy.wireless.snsonline.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Broken kernel compile on 5.1-RELEASE / 5-CURRENT (SMP, PAE & scsi) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 13:46:21 -0000 On Tue, 19 Aug 2003, Mark Sergeant wrote: > There are no other errors apart from those listed so I may try compiling > as a module that gets loaded on boot. Just one problem, I succesfully > build an SMP kernel without PAE and then rebooted and the server is no > longer responding, it seems it crashed just after coming up as I was > able to ping it 5 or 6 times and then it went away again. If I've got a > crash dump I'll post it. Can't speak to the specifics of this, but you want to be very careful not to use kernel modules with PAE: modules are currently without the context of the kernel configuration file, and PAE introduces possible binary incompatibility with modules that dig into VM (which many drivers do). The only supported configuration is to not use modules, but link the driver directly into the kernel when running PAE. This is why the PAE kernel has no_modules defined in the sample PAE configuration file. Various conversations have happened regarding how to address this problem, and I'm not sure we've come up with the right answer yet. There seem to be two conflicting directions: build modules in the context of a kernel module (and get conditionally compiled type/structure/code/... pieces), and try to make the module build entirely independent of a kernel configuration. As someone who uses conditionally compiled components in modules, I tend to fall into the first camp, and no doubt we'll figure out the right answer in due course. The above crash sounds unfortunate too, but quite possibly a separate failure mode :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories