Date: Mon, 9 Aug 2004 21:42:57 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Jiawei Ye <leafy7382@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: kldload pf failed on -current Message-ID: <20040810044257.GJ991@funkthat.com> In-Reply-To: <c21e92e204080920345b528359@mail.gmail.com> References: <c21e92e2040809095447587b64@mail.gmail.com> <200408092003.28922.max@love2party.net> <20040809222127.GU64690@camelot.theinternet.com.au> <200408100040.23324.max@love2party.net> <20040809225255.GI991@funkthat.com> <c21e92e204080920345b528359@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jiawei Ye wrote this message on Tue, Aug 10, 2004 at 11:34 +0800:
> On Mon, 9 Aug 2004 15:52:55 -0700, John-Mark Gurney
> > Ok, on the kernel boot, please send me:
> > sysctl kern.bootfile kern.module_path
> > ls /boot/<dir of kernel from kern.bootfile>
> >
> > Make sure that you're current kernel is built to include modules. We
> > no longer will load the default kernel's modules for other kernels. So
> > if you boot kernel.test (or other kernel) that does not have pf.ko, you
> > can't load pf.ko anymore.
> > --
> > John-Mark Gurney Voice: +1 415 225 5579
>
> root@chihiro:~# kldload pf
> kldload: can't load pf: No such file or directory
> root@chihiro:~# kldload /boot/kernel/pf.ko
> root@chihiro:~# sysctl kern.bootfile kern.module_path
> kern.bootfile: /boot/kernel/kernel
> kern.module_path: /boot/modules
> root@chihiro:~# ls /boot/kernel/
[...]
> amdpm.ko* if_sn.ko* pf.ko*
[...]
Ok, now this is really wierd... On my system that I just upgraded on
Sunday, I don't have a problem... I end up with:
-bash-2.05b$ sysctl kern.bootfile kern.module_path
kern.bootfile: /boot/kernel/kernel
kern.module_path: /boot/kernel;/boot/modules
and this is with:
-bash-2.05b$ ident support.4th defaults/loader.conf
support.4th:
$FreeBSD: src/sys/boot/forth/support.4th,v 1.15 2002/05/24 02:28:58 gordon Exp $
defaults/loader.conf:
$FreeBSD: src/sys/boot/forth/loader.conf,v 1.85 2004/08/06 15:06:06 jmg Exp $
could you also send me your loader.conf and device.hints along with
the output of ident as shown above?
Thanks.
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040810044257.GJ991>
