Subject: Re: 3.0.1: pf as an LKM and SMP
To: None <netbsd-users@netbsd.org>
From: Mark Cullen <mark.r.cullen@gmail.com>
List: netbsd-users
Date: 07/22/2006 23:19:08
Jeff Rizzo wrote:
> Mark Cullen wrote:
>> Thor Lancelot Simon wrote:
>>> On Sat, Jul 22, 2006 at 06:47:51PM +0100, Mark Cullen wrote:
>>>> This is a post on behalf of a friend.
>>>>
>>>> Is there anyone out there running an SMP kernel, 3.0.1, and using PF
>>>> as an LKM (in order to use ALTQ, apparently)? We've got the machine
>>>> booting an SMP kernel just fine, but after installing the new LKM
>>>> modules (cd /usr/src/sys/lkm; make install) and trying to load the
>>>> pf.o module we're getting:
>>>>
>>>> LKM 'pf': environment compile options mismatch - LKM '', kernel
>>>> 'MULTIPROCESSOR'
>>> You cannot load a module not compiled with MULTIPROCESSOR into a kernel
>>> that was compiled with MULTIPROCESSOR.
>>>
>> I thought the modules were rebuilt while building a kernel though, no?
>> So the modules in /usr/src/sys/lkm *should* be compiled with the
>> MULTIPROCESSOR option too?
> 
> No.  LKMs are built as part of the entire system, not as part of the
> kernel.  You'll need to explicitly rebuild.
> 
> +j
> 
> 

Ahh, that would explain it then! Thanks Jeff, we'll try this and see if 
it solves the problem!


-- 
Mark Cullen <mark.r.cullen@gmail.com>