Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2004 21:37:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        questions@freebsd.org
Subject:   Re: netgraph.ko vs. compiled in.
Message-ID:  <20040101213756.GA18585@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <3FF47CE1.6090401@potentialtech.com>
References:  <3FF47721.3030600@potentialtech.com> <20040101194732.GC17271@happy-idiot-talk.infracaninophile.co.uk> <3FF47CE1.6090401@potentialtech.com>

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 01, 2004 at 03:02:41PM -0500, Bill Moran wrote:
> Matthew Seaman wrote:

> >It's generally best either to kldload all of the netgraph modules you
> >require for this purpose or to compile them all into the kernel.  One
> >way, or the other, but not a mixture of both.
=20
> I would go beyond "generally best" and straight into "it doesn't work".
=20
> My question is, "Is this fact documented somewhere, and I didn't see it?"
> Because, if it's not, I'm going to put together a doc patch and file a PR.

Hmmm... I've seen people mention similar effects where various other
modules insisting on kldload'ing their dependencies even if they're
already in the kernel.  They pop up on various mailing lists over
time.  You may be right in saying "it doesn't work" -- but I have no
idea whether that is correct in all cases.  I get the feeling that
most people will go to great pains to prevent their kernel code doing
annoying things like that.

Of course, if you compile, say, netgraph into your kernel, your
buildkernel run shouldn't produce a separate netgraph.ko module.  If
there's one in /modules or wherever the equivalent is for 5.x then
it's a hangover from a previous kernel.  Chances are that if you get
rid of the old netgraph.ko then things may well work as you expect.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/9JM0dtESqEQa7a0RAmsrAJ9sTX2UJDyHL8HFLbhZeVXNnrG40QCgmKTE
jo/gUsLBfyA8HfOxdbqfu6Q=
=NiDq
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--



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