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

Jimmy Olgeni olgeni at
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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 11:10:09 PST 2003
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 5.0-CURRENT i386

Release independent configuration issue.


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.


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


The following options should be added to GENERIC.

options		PFIL_HOOKS

More information about the freebsd-bugs mailing list