Re: if_bridge.ko requires INET6...
On Wed, Feb 01, 2006 at 12:56:58AM -0800, Luigi Rizzo wrote:
L> just noticed that if_bridge.ko fails to load if your kernel
L> is not compiled with INET6 - the failure is actually only
L> on symbols related to stats gathering in
L> bridge_ip6_checkbasic()
L>
L> I wonder if it might be worthwhile just ignoring
L> those stats when compiling if_bridge as a module,
L> so it can be loaded on ipv4 only kernels ?
If you have compiled the modules as part of buildkernel
target, then all options from kernel would apply to all
modules, thus the bridge_ip6_checkbasic() function won't
be present in if_bridge.ko, and you would successfully
load the module.
P.S. This is not if_bridge neither INET6 problem. This is
generic problem with modules built outside of buildkernel
target.
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
Relevant Pages
- Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
... I know that not compiling this piece of code just reduces the ... uncompressed kernel size by just a few bytes. ... present in the system (while it's perfectly fine not to load the ... (Linux-Kernel) - Re: if_bridge.ko requires INET6...
... L>> L> just noticed that if_bridge.ko fails to load if your kernel L>> L> is not compiled with INET6 - the failure is actually only ... L>> L> those stats when compiling if_bridge as a module, ... L> and this how i got the failure. ... This is not if_bridge neither INET6 problem. ... (freebsd-net) - Re: Loading Kernel Modules
... > I'm compiling a custom kernel 2.6.6 on my Toshiba laptop. ... Only thing is I don't want it to load cause I ... > all the modules for sound and the sound worked). ... (Debian-User) - Re: problem while executing insmod
... > i written a module function similar to hello, ... > wat i have to do to load it properly without forcing it to load. ... > please suggest me a solution without changing the kernel. ... Are you compiling against the same kernel version that's actually ... (Linux-Kernel) - Re: netgraph.ko vs. compiled in.
... You can't simultaneously load a .ko and have the same code compiled ... > If I build the kernel without netgraph, netgraph.ko loads, along with other ... > 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. ... (freebsd-questions) |
|