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:   kern/50494: -CURRENT GENERIC requires PFIL_HOOKS to load ipl.ko
Message-ID:  <200303311908.h2VJ8JlB012559@freefall.freebsd.org>
Resent-Message-ID: <200303311910.h2VJA9LI012642@freefall.freebsd.org>

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

>Number:         50494
>Category:       kern
>Synopsis:       -CURRENT GENERIC requires PFIL_HOOKS to load ipl.ko
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 11:10:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Colby
>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
>Release-Note:
>Audit-Trail:
>Unformatted:



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