From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 11:47:40 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 48EDE16A4CE for ; Thu, 1 Jan 2004 11:47:40 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B3C43D5E for ; Thu, 1 Jan 2004 11:47:36 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i01JlWwd017922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jan 2004 19:47:32 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i01JlW2E017921; Thu, 1 Jan 2004 19:47:32 GMT (envelope-from matthew) Date: Thu, 1 Jan 2004 19:47:32 +0000 From: Matthew Seaman To: Bill Moran Message-ID: <20040101194732.GC17271@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Bill Moran , questions@freebsd.org References: <3FF47721.3030600@potentialtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2JFBq9zoW8cOFH7v" Content-Disposition: inline In-Reply-To: <3FF47721.3030600@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 19:47:40 -0000 --2JFBq9zoW8cOFH7v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 01, 2004 at 02:38:09PM -0500, Bill Moran wrote: > If I build a kernel with "options netgraph", in order to use mpd,=20 > netgraph.ko > is still loaded at boot (with an error) but mpd does not work. You can't simultaneously load a .ko and have the same code compiled into the kernel. =20 > If I build the kernel without netgraph, netgraph.ko loads, along with oth= er > netgraph modules required for PPTP, and mpd works like a charm. >=20 > What I haven't tried yet, is compiling a kernel with all the options for = all > the netgraph modules I'll need compiled in to see if that works. 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. 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 --2JFBq9zoW8cOFH7v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/9HlUdtESqEQa7a0RAuTXAJ9xw9TQO/IBiHjiArvyCgBQ04L+mwCcD5Qb mkNXAOjtxH597h0oRjWm5Bg= =Zl2E -----END PGP SIGNATURE----- --2JFBq9zoW8cOFH7v--