Re: kldload pf failed on -current

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Mon, 9 Aug 2004 21:42:57 -0700
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_at_chihiro:~# kldload pf
> kldload: can't load pf: No such file or directory
> root_at_chihiro:~# kldload /boot/kernel/pf.ko 
> root_at_chihiro:~# sysctl kern.bootfile kern.module_path
> kern.bootfile: /boot/kernel/kernel
> kern.module_path: /boot/modules
> root_at_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."
Received on Tue Aug 10 2004 - 02:42:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC