Bug 685053 - bridge module will not load without ipv6 ("Unknown symbol ipv6_dev_get_saddr")
Summary: bridge module will not load without ipv6 ("Unknown symbol ipv6_dev_get_saddr")
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neil Horman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 07:09 UTC by Jóhann B. Guðmundsson
Modified: 2011-07-12 19:17 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-12 19:09:18 UTC
Type: ---


Attachments (Terms of Use)
dmesg output (90.61 KB, text/plain)
2011-03-15 07:09 UTC, Jóhann B. Guðmundsson
no flags Details
patch to break dependency of bridge on ipv6 (3.34 KB, patch)
2011-06-01 19:53 UTC, Neil Horman
no flags Details | Diff

Description Jóhann B. Guðmundsson 2011-03-15 07:09:44 UTC
Created attachment 484381 [details]
dmesg output

Description of problem:

Bridge module wont load conflicts with ipv6 see http://www.spinics.net/lists/netdev/msg157811.html for details.. 

Version-Release number of selected component (if applicable):

2.6.38-1.fc15.x86_64

How reproducible:

Always

Steps to Reproduce:
1. modprobe bridge 
2.
3.
  
Actual results:

FATAL: Error inserting bridge (/lib/modules/2.6.38-1.fc15.x86_64/kernel/net/bridge/bridge.ko): Unknown symbol in module, or unknown parameter (see dmesg)

bridge: Unknown symbol ipv6_dev_get_saddr (err 0)

Expected results:

Bridge module to load and pony's dropping from the sky

Additional info:

Comment 1 Chuck Ebbert 2011-03-20 21:06:29 UTC
Do you have ipv6 disabled?

Comment 2 Jerry Amundson 2011-03-22 18:27:45 UTC
(In reply to comment #1)
> Do you have ipv6 disabled?

I don't, though I've only looked in /etc/sysconfig/network. Yet the interfaces have no ipv6 addresses.

Same problem for me, so thought I'd chime in.

Comment 3 Jerry Amundson 2011-03-22 18:52:48 UTC
[root@elm ~]# modinfo bridge
filename:       /lib/modules/2.6.38-1.xendom0.fc15.i686.PAE/kernel/net/bridge/bridge.ko
version:        2.3
license:        GPL
srcversion:     0233A9FD6927957F911D5B0
depends:        stp,llc,ipv6
vermagic:       2.6.38-1.xendom0.fc15.i686.PAE SMP mod_unload 686 

[root@elm ~]# more /etc/modprobe.d/blacklist-ipv6.conf 
install ipv6 /bin/true
blacklist ipv6

Correcting myself, yes I have ipv6 disabled. :)
It's not part of an rpm, so I guess I did that on my own at some point?
Does bridge really require ipv6??

Comment 4 Jóhann B. Guðmundsson 2011-03-23 11:31:01 UTC
Sorry for the late responce yes I'm blacklisting ipv6 same as Jerry in Comment 3

Comment 5 Guil Barros 2011-05-31 20:55:38 UTC
If I un-blacklist ipv6 the issue no longer manifests itself. Seems like bridge.ko depends on ipv6.

Comment 6 Neil Horman 2011-06-01 10:49:25 UTC
This has been a lnog standing problem with ipv6.  Certain modules need to make calls into the ipv6 code to check for the existance of ipv6 addresses, and some of the functions are sufficiently large that they can't be inlined or otherwise handled without the inclusion of the ipv6 module.  The workaround for this situation is to not blacklist the ipv6 module, but rather set its disable_ipv6 module option.  That way the code gets loaded, but no ipv6 functionality is registered with the kernel so user space can't accesses it.

It would probably be a better solution to remove the module option and split the ipv6 module into a utilities and protocol module, so that we wouldn't need this tweak.  i'll look into doing that.  Until then, the above should fix your problem.

Comment 7 Neil Horman 2011-06-01 19:53:59 UTC
Created attachment 502367 [details]
patch to break dependency of bridge on ipv6

Here you go, please confirm that this patch allows you to load the bridge module with ipv6 blacklisted.  Thanks!

Comment 8 Neil Horman 2011-07-12 13:39:51 UTC
its been a month, any feedback?

Comment 9 Jóhann B. Guðmundsson 2011-07-12 13:53:24 UTC
Just close this as notabug or something there was discussion about this on the kernel mailing list + users should not be blacklisting ipv6 anymore

Comment 10 Neil Horman 2011-07-12 19:09:18 UTC
copy that


Note You need to log in before you can comment on or make changes to this bug.