Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 11:08:19 -0800 (PST)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-qa@freebsd.org
Subject:   -CURRENT GENERIC requires PFIL_HOOKS to load ipl.ko
Message-ID:  <200303311908.h2VJ8JlB012559@freefall.freebsd.org>

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

>Submitter-Id:	current-users
>Originator:	Jimmy Olgeni
>Organization:	Colby
>Confidential:	no
>Synopsis:	-CURRENT GENERIC requires PFIL_HOOKS to load ipl.ko
>Severity:	serious
>Priority:	medium
>Category:	kern
>Class:		change-request
>Release:	FreeBSD 5.0-CURRENT i386
>Environment:

Release independent configuration issue.

>Description:

Given a stock GENERIC kernel install, the ipl.ko module fails to
load due to missing PFIL_HOOKS option, therefore the kernel must
be recompiled to enable any kind of ipfilter support.

>How-To-Repeat:

Just kldload ipl on a stock GENERIC kernel.

# kldload ipl
link_elf: symbol pfil_add_hook undefined

Then add PFIL_HOOKS and watch it fly :)

# kldload ipl
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled

>Fix:

The following options should be added to GENERIC.

options		PFIL_HOOKS


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303311908.h2VJ8JlB012559>