public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't compile Ethernet bridge
@ 2007-07-28 12:28 Florian Philipp
  2007-07-28 13:24 ` Sascha Hlusiak
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2007-07-28 12:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

Hi!

I tried to add 
Networking --->
	Networking options  --->
         	<M> 802.1d Ethernet Bridging

to my kernel (gentoo-sources 2.6.20-r8) but I get the following output:

$ make modules
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  Building modules, stage 2.
  MODPOST 144 modules
WARNING: "br_fdb_get_hook" [net/bridge/bridge.ko] undefined!
WARNING: "br_fdb_put_hook" [net/bridge/bridge.ko] undefined!
WARNING: "br_handle_frame_hook" [net/bridge/bridge.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

What's the problem?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Can't compile Ethernet bridge
  2007-07-28 12:28 [gentoo-user] Can't compile Ethernet bridge Florian Philipp
@ 2007-07-28 13:24 ` Sascha Hlusiak
  2007-07-28 13:43   ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: Sascha Hlusiak @ 2007-07-28 13:24 UTC (permalink / raw
  To: gentoo-user; +Cc: Florian Philipp

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

> $ make modules
Please use just "make" in 2.6.x kernels. Should work then.

Greetings,
Sascha

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Can't compile Ethernet bridge
  2007-07-28 13:24 ` Sascha Hlusiak
@ 2007-07-28 13:43   ` Florian Philipp
  2007-07-28 13:55     ` Sascha Hlusiak
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2007-07-28 13:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Am Samstag 28 Juli 2007 15:24 schrieb Sascha Hlusiak:
> > $ make modules
>
> Please use just "make" in 2.6.x kernels. Should work then.
>
> Greetings,
> Sascha

I have to correct myself: Now it compiles but I get the following output:

$ modprobe -v bridge
insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
FATAL: Error inserting bridge 
(/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)

$ dmesg
bridge: Unknown symbol br_handle_frame_hook
bridge: Unknown symbol br_fdb_put_hook
bridge: Unknown symbol br_fdb_get_hook

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Can't compile Ethernet bridge
  2007-07-28 13:43   ` Florian Philipp
@ 2007-07-28 13:55     ` Sascha Hlusiak
  2007-07-28 14:25       ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: Sascha Hlusiak @ 2007-07-28 13:55 UTC (permalink / raw
  To: gentoo-user; +Cc: Florian Philipp

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

> $ modprobe -v bridge
> insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
> FATAL: Error inserting bridge
> (/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown symbol
> in module, or unknown parameter (see dmesg)
>
> $ dmesg
> bridge: Unknown symbol br_handle_frame_hook
> bridge: Unknown symbol br_fdb_put_hook
> bridge: Unknown symbol br_fdb_get_hook

Mh, the symbols are defined in my bridge.ko...

Did you run "make modules_install" and "modules-update"? Sometimes it may help 
too, to use the new kernel image and reboot until you can use new modules.

Greetings,
Sascha


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Can't compile Ethernet bridge
  2007-07-28 13:55     ` Sascha Hlusiak
@ 2007-07-28 14:25       ` Florian Philipp
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Philipp @ 2007-07-28 14:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Am Samstag 28 Juli 2007 15:55 schrieb Sascha Hlusiak:
> > $ modprobe -v bridge
> > insmod /lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko
> > FATAL: Error inserting bridge
> > (/lib/modules/2.6.20-gentoo-r8/kernel/net/bridge/bridge.ko): Unknown
> > symbol in module, or unknown parameter (see dmesg)
> >
> > $ dmesg
> > bridge: Unknown symbol br_handle_frame_hook
> > bridge: Unknown symbol br_fdb_put_hook
> > bridge: Unknown symbol br_fdb_get_hook
>
> Mh, the symbols are defined in my bridge.ko...
>
> Did you run "make modules_install" and "modules-update"? Sometimes it may
> help too, to use the new kernel image and reboot until you can use new
> modules.
>
> Greetings,
> Sascha

Your last tip worked. Thanks again!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-28 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-28 12:28 [gentoo-user] Can't compile Ethernet bridge Florian Philipp
2007-07-28 13:24 ` Sascha Hlusiak
2007-07-28 13:43   ` Florian Philipp
2007-07-28 13:55     ` Sascha Hlusiak
2007-07-28 14:25       ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox