Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107406 - BRIGDE net.module doesn't load/work !!!
Summary: BRIGDE net.module doesn't load/work !!!
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 09:16 UTC by Sergey Anufrienko
Modified: 2005-10-07 05:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/net (net,17.30 KB, text/plain)
2005-10-06 21:55 UTC, Sergey Anufrienko
Details
This is what i'm actually trying to get (need.txt,1.02 KB, text/plain)
2005-10-06 21:56 UTC, Sergey Anufrienko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Anufrienko 2005-09-27 09:16:11 UTC
The bridge module doesn't gets loaded on my system, altrough I have defined 
some bridges in /etc/conf.d/net. If I force loading of the module, the 
following error is displayed:

missing required function interface_down

How to fix this issue? Don't want to write custom up scripts for net.

Reproducible: Always
Steps to Reproduce:
1. just force the bridge mod to load (probably the bug is only on my OS and is 
here because an emerge --update didn't update a file?)
2.
3.

Actual Results:  
INIT: Entering runlevel: 3
 * Starting eth0
 *   WARNING: You are forcing modules!
 *   Do not complain or file bugs if things start breaking
 *       bridge: missing required function interface_down


Expected Results:  
Bring up the bridge :)

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X
11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 acl acpi alsa apache2 apm bash-completion berkdb bzip2 bzlib 
crypt cups curl curlwrappers dbm dvb eds emboss examples extensions fortran 
ftp gd gdbm gpm gstreamer iconv ipv6 libg++ libwww lirc lm_sensors mailwrapper 
mbox md5sum memlimit mime mono mp3 mppe-mppc mysql mysqli ncurses netboot nls 
nntp no-htdocs no-old-linux noamazon nocardbus nomac nptl ogg pam pcntl pcre 
perl php pic pie posix python quotas readline samba session shared sharedmem 
slang snmp sockets socks5 source spell spl sse ssl symlink sysvipc tcpd 
threads tiff unicode usb userlocales v4l vhosts vorbis wifi zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-10-05 03:22:39 UTC
(In reply to comment #0)
> The bridge module doesn't gets loaded on my system, altrough I have defined 
> some bridges in /etc/conf.d/net. If I force loading of the module, the 
> following error is displayed:
> 
> missing required function interface_down
> 

> Actual Results:  
> INIT: Entering runlevel: 3
>  * Starting eth0
>  *   WARNING: You are forcing modules!
>  *   Do not complain or file bugs if things start breaking
>  *       bridge: missing required function interface_down
> 

You're forcing modules - which is a big no-no with a big warning attached.

Stop forcing modules, ensure that bridging support is enabled in your kernel,
emerge bridge-utils and you should be good to go.

If that still fails, attach your conf.d/net file to this bug and re-open.
Comment 2 Sergey Anufrienko 2005-10-06 21:55:02 UTC
Created attachment 70048 [details]
/etc/conf.d/net
Comment 3 Sergey Anufrienko 2005-10-06 21:56:58 UTC
Created attachment 70050 [details]
This is what i'm actually trying to get

This script works instead of the not-working net for now.
Comment 4 Sergey Anufrienko 2005-10-06 21:59:32 UTC
All the required packages & kernel bridge support is active, because
brctl actually exists and works, but not with the netscripts :)

As you asked, file attached. Reopening bug.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2005-10-07 04:44:22 UTC
Try this configuration

###########################
config_eth0=( "null" )
vlans_eth0="2 3 4"
config_eth0_2=( "192.168.20.1 netmask 255.255.255.0" )
config_eth0_3=( "null" )
config_eth0_4=( "null" )

config_tap0=( "null" )
config_tap1=( "null" )

depend_br0() {
    need net.eth0 net.tap0
}
bridge_br0="eth0.3 tap0"
config_br0=( "10.0.251.254 netmask 255.255.254.0" )

depend_br1() {
    need net.eth0 net.tap1
}
bridge_br1="eth0.4 tap1"
config_br1=( "dhcp" )
dhcpcd_br1="-R -G"
###############################
Comment 6 Roy Marples (RETIRED) gentoo-dev 2005-10-07 05:21:24 UTC
Hmmmmm. This may only work with code I've just committed to our svn repo - you
may have to wait for baselayout-1.12.0_pre9.

Re-Open if so