Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 00:40:15 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org
Cc:        Jiawei Ye <leafy7382@gmail.com>
Subject:   Re: kldload pf failed on -current
Message-ID:  <200408100040.23324.max@love2party.net>
In-Reply-To: <20040809222127.GU64690@camelot.theinternet.com.au>
References:  <c21e92e2040809095447587b64@mail.gmail.com> <200408092003.28922.max@love2party.net> <20040809222127.GU64690@camelot.theinternet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_X1/FBLHox8ZW1cM
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 10 August 2004 00:21, Andrew Milton wrote:
> +-------[ Max Laier ]----------------------
>
> | On Monday 09 August 2004 18:54, Jiawei Ye wrote:
> | > root@chihiro:/usr/src# kldload -v pf
> | > kldload: can't load pf: No such file or directory
> | > root@chihiro:/usr/src# kldload /boot/kernel/pf.ko
> | > root@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. kldxr=
ef
> 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 =A0 =A0 =A0 =A0 2004-08-06 15:06:06 UTC
>=20
> =A0 FreeBSD src repository
>=20
> =A0 Modified files:
> =A0 =A0 sys/boot/common =A0 =A0 =A0help.common=20
> =A0 =A0 sys/boot/forth =A0 =A0 =A0 loader.conf=20
> =A0 Log:
> =A0 remove /boot/kernel from the default path.. =A0There is already code =
that
> =A0 will prepend the current kernel booting... =A0This prevents a problem=
 of
> =A0 loading /boot/kernel's modules when a different kernel has no modules,
> =A0 but you left your module_load=3D"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.

=2D-=20
/"\  Best regards,			| mlaier@freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier@EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News

--Boundary-02=_X1/FBLHox8ZW1cM
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBF/1XXyyEoT62BG0RAlApAJ40FsQMxAl9aKMulj5k6iRXyYeRZQCaA318
1h9ByhF4ynU72/fZBNkq4+0=
=PX85
-----END PGP SIGNATURE-----

--Boundary-02=_X1/FBLHox8ZW1cM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408100040.23324.max>