From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 13:38:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E9116A4CE for ; Thu, 1 Jan 2004 13:38:03 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9314943D2D for ; Thu, 1 Jan 2004 13:38:00 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i01Lbuwd018783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jan 2004 21:37:56 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i01Lbu0O018782; Thu, 1 Jan 2004 21:37:56 GMT (envelope-from matthew) Date: Thu, 1 Jan 2004 21:37:56 +0000 From: Matthew Seaman To: Bill Moran Message-ID: <20040101213756.GA18585@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Bill Moran , questions@freebsd.org References: <3FF47721.3030600@potentialtech.com> <20040101194732.GC17271@happy-idiot-talk.infracaninophile.co.uk> <3FF47CE1.6090401@potentialtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <3FF47CE1.6090401@potentialtech.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: netgraph.ko vs. compiled in. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:38:03 -0000 --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--