From owner-freebsd-net@FreeBSD.ORG Wed Feb 1 09:36:19 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9844116A420; Wed, 1 Feb 2006 09:36:19 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5311F43D48; Wed, 1 Feb 2006 09:36:19 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id k119aJIT070445; Wed, 1 Feb 2006 01:36:19 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id k119aJRD070444; Wed, 1 Feb 2006 01:36:19 -0800 (PST) (envelope-from rizzo) Date: Wed, 1 Feb 2006 01:36:19 -0800 From: Luigi Rizzo To: Gleb Smirnoff Message-ID: <20060201013619.A70391@xorpc.icir.org> References: <20060201005658.A70005@xorpc.icir.org> <20060201090421.GT4297@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20060201090421.GT4297@FreeBSD.org>; from glebius@freebsd.org on Wed, Feb 01, 2006 at 12:04:21PM +0300 Cc: net@freebsd.org Subject: Re: if_bridge.ko requires INET6... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 09:36:19 -0000 On Wed, Feb 01, 2006 at 12:04:21PM +0300, Gleb Smirnoff wrote: > 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. i _did_ compile the modules with make buildkernel and this how i got the failure. This was on a relatively fresh 6.0-STABLE tree. Perhaps it has been fixed in -current but not in -stable ? > P.S. This is not if_bridge neither INET6 problem. This is > generic problem with modules built outside of buildkernel > target. see above. I am glad there is a fix designed to address this problem, now it's just a matter of figuring out why the fix doesn't work :) cheers luigi > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"