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
(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.
Created attachment 70048 [details] /etc/conf.d/net
Created attachment 70050 [details] This is what i'm actually trying to get This script works instead of the not-working net for now.
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.
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" ###############################
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