Subject: Re: 3.0.1: pf as an LKM and SMP
To: None <tls@rek.tjls.com>
From: Mark Cullen <mark.r.cullen@gmail.com>
List: netbsd-users
Date: 07/22/2006 19:39:47
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?
--
Mark Cullen <mark.r.cullen@gmail.com>