kern/50494: -CURRENT GENERIC requires PFIL_HOOKS to load ipl.ko

Jimmy Olgeni olgeni at uli.it
Mon Mar 31 11:10:12 PST 2003


>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:


More information about the freebsd-bugs mailing list