Date: Wed, 28 Dec 2005 11:50:06 -0500 From: "Matt Emmerton" <matt@gsicomp.on.ca> To: "Brian Candler" <B.Candler@pobox.com>, <freebsd-stable@freebsd.org> Subject: Re: Strange problem with kldload and pf Message-ID: <003301c60bce$c27a95e0$1200a8c0@gsicomp.on.ca> References: <20051228155041.GA7124@uk.tiscali.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Fresh install of FreeBSD 6.0-RELEASE from CD. > > With the GENERIC kernel, I was able to 'kldload pf' to get the pf firewall. > However this doesn't work after I rebuilt a new kernel; it fails to load. > > All I did was add IPSEC and disable IPv6. The exact config diff from GENERIC > is attached below. > > However this module file definitely exists, and has a timestamp from when > the kernel was rebuilt: > > # ls -l /boot/kernel/pf.ko > -r-xr-xr-x 1 root wheel 188030 Dec 28 15:15 /boot/kernel/pf.ko > # wc -c /boot/kernel/pf.ko > 188030 /boot/kernel/pf.ko > > I guess I can go ahead and rebuild the kernel again, this time with pf built > in. However I would like to know why I can't load pf as a module, even > though it seems to have been successfully built as one. Sometimes kldload fails mysteriously, and more helpful error messages are dumped in /var/log/messages. But only sometimes. -- Matt Emmerton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c60bce$c27a95e0$1200a8c0>