Subject: Re: 3.0.1: pf as an LKM and SMP
To: Mark Cullen <mark.r.cullen@gmail.com>
From: Jeff Rizzo <riz@NetBSD.org>
List: netbsd-users
Date: 07/22/2006 15:05:34
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig368ADE2E53C106DBC6133DF8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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 kerne=
l
>> 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



--------------enig368ADE2E53C106DBC6133DF8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRMKhQrOuUtxCgar5AQMJAQP+KFGSOYF93qxTd1DfIDuSRSW7sZ9C7OXg
APGA+wm3+X1U9532u8ki5JS9YGvbyeKgiAaNlXYS/whLzRp1ZweKce4uLWVM92qd
nfflvSIgD6L/3nxFV+Ws/82/zS2Ki8kivXNcgL+t7UxRUTotwxeNksKygtBAwB6a
iIoTyVagnOY=
=o5Nc
-----END PGP SIGNATURE-----

--------------enig368ADE2E53C106DBC6133DF8--