kldload pf failed on -current

Max Laier max at love2party.net
Mon Aug 9 15:42:17 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040810/cb6351b3/attachment.bin


More information about the freebsd-current mailing list