netgraph.ko vs. compiled in.

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jan 1 11:47:40 PST 2004


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, 
> 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.
 
> If I build the kernel without netgraph, netgraph.ko loads, along with other
> netgraph modules required for PPTP, and mpd works like a charm.
> 
> 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

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


More information about the freebsd-questions mailing list