Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 15:14:39 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Bob Willcox <bob@immure.com>
Cc:        Mark Johnston <markj@FreeBSD.org>, current list <freebsd-current@freebsd.org>
Subject:   Re: ipfw kernel module not being built
Message-ID:  <636F12A1-8A0E-4508-9015-EE4675A5FCEE@gmail.com>
In-Reply-To: <20170811193453.GB20555@rancor.immure.com>
References:  <20170811163639.GA19733@rancor.immure.com> <5B2835E9-4EE8-47FC-9A81-C4D60B4822F0@gmail.com> <20170811190602.GA20555@rancor.immure.com> <20170811192148.GA19972@wkstn-mjohnston.west.isilon.com> <20170811193453.GB20555@rancor.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Aug 11, 2017, at 12:34, Bob Willcox <bob@immure.com> wrote:
>=20
>> On Fri, Aug 11, 2017 at 12:21:49PM -0700, Mark Johnston wrote:
>> On Fri, Aug 11, 2017 at 02:06:02PM -0500, Bob Willcox wrote:
>>>>> On Aug 11, 2017, at 10:36, Bob Willcox <bob@immure.com> wrote:
>>>>>=20
>>>>> When I rebuild my kernel on Jun 13th none of the previous ipfw kernel m=
odules were built:
>>>>>=20
>>>>> ipfw.ko
>>>>> ipfw_nat.ko
>>>>> ipfw_nat64.ko
>>>>> ipfw_nptv6.ko
>>>>> ng_ipfw.ko
>>>>>=20
>>>>> and only this ipfw module was built:
>>>>>=20
>>>>> ng_ipfw.ko
>>>>>=20
>>>>> However, the verson of /etc/rc.d/ipfw that I'm running (from the
>>>>> freebsd-base-graphics branch) is failing to load ipfw so my firewall i=
sn't
>>>>> starting.
>>>>>=20
>>>>> So, what am I missing? Is it possible that the freebsd-base-graphics b=
ranch
>>>>> that I'm running has an old or improper version of /etc/rc.d/ipfw?
>>=20
>> [...]
>>=20
>>> include GENERIC_DRM
>>=20
>> GENERIC_DRM sets MODULES_OVERRIDE, so only the specified modules are
>> built. In particular, ipfw*.ko does not get built. You'll need to either
>> remove the MODULES_OVERRIDE setting in GENERIC_DRM (which will make
>> kernel builds somewhat slower), or add
>>=20
>> makeoptions    MODULES_OVERRIDE+=3D ipfw ...
>>=20
>> to your custom config.

Or add "MODULES_OVERRIDE+=3D ipfw..." to your src.conf.
Cheers,
-Ngie=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?636F12A1-8A0E-4508-9015-EE4675A5FCEE>