Re: kldload pf failed on -current

From: Max Laier <max_at_love2party.net>
Date: Tue, 10 Aug 2004 00:40:15 +0200
On Tuesday 10 August 2004 00:21, Andrew Milton wrote:
> +-------[ Max Laier ]----------------------
>
> | On Monday 09 August 2004 18:54, Jiawei Ye wrote:
> | > root_at_chihiro:/usr/src# kldload -v pf
> | > kldload: can't load pf: No such file or directory
> | > root_at_chihiro:/usr/src# kldload /boot/kernel/pf.ko
> | > root_at_chihiro:/usr/src# /etc/rc.d/pf restart
> | > Enabling pf.
> | > pf enabled
> | >
> | > Somehow kldload cannot find pf.ko if no specific path is given. This
> | > is a 2 hours old -current.
> |
> | Sounds like kldxref didn't finish it's job correctly. Try (as root):
> | 	kldxref /boot/kernel /boot/modules
> | and check the output of:
> | 	kldxref -dv /boot/kernel
> | for proper pf.ko entries. Please tell me if that did not help or if you
> | see anything suspicious in the xref dump.
>
> I have this same problem with nfsclient and nfsserver being loaded. kldxref
> doesn't fix the problem (for me). I figured I just updated at a bad time
> since noone else had reported a similar thing occurring (it wasn't a big
> drama for me to load those by hand).
>
> ACPI also doesn't autoload at boot.
>
> This was from a -current from August 8th.

Hmm ... I suspect it's this commit:
> jmg         2004-08-06 15:06:06 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/boot/common      help.common 
>     sys/boot/forth       loader.conf 
>   Log:
>   remove /boot/kernel from the default path..  There is already code that
>   will prepend the current kernel booting...  This prevents a problem of
>   loading /boot/kernel's modules when a different kernel has no modules,
>   but you left your module_load="YES" in loader.conf...

Can you try to put back the line in question in /boot/loader.conf?

I have no idea whatsoever, but don't find anything else suspicious.

-- 
/"\  Best regards,			| mlaier_at_freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier_at_EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News

Received on Mon Aug 09 2004 - 20:42:17 UTC

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