From owner-freebsd-net@FreeBSD.ORG Thu Mar 26 15:59:30 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D9010656C2; Thu, 26 Mar 2009 15:59:30 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 26C5F8FC13; Thu, 26 Mar 2009 15:59:29 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by gxk24 with SMTP id 24so1597883gxk.19 for ; Thu, 26 Mar 2009 08:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wDR4sjY/BJjteOQRlnqe+PfdDhYf7tpgL6CKl2to60Q=; b=Ch0d4CFdSzz3vnjVOJW5IDPMtvoBf9xzW6jk4sfJ4VfanUnvgmZMf1EVeCVYY6/rwT xV0Yqd8Swc1Nmpz7D28E7l51SZfmbNnRLc7U4bI7cIT8sA/51fHev6wdiCjzRwh4TCGG dh/HlLD6asoemDunslbFv7erhfoTNMGiII03E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ITpwkuNhuZniHrrC7ajVXIYZqKl46APwddv2LCq5SnSg6YUBHyhgXrxZQ/br5Im8Ft wl23rBg6gBoZEPNO8Rsh7j6GXINCxvO4UvrGaoyB7TS44Mcq2PCECW5eXzGWV71dUHqf Rx0gkglvZXfNFgdQodIoSCpJwHzgIjXpUoBoI= MIME-Version: 1.0 Received: by 10.231.19.198 with SMTP id c6mr211206ibb.46.1238083169198; Thu, 26 Mar 2009 08:59:29 -0700 (PDT) In-Reply-To: <20090324155746.GC5281@lor.one-eyed-alien.net> References: <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> <200903181626.n2IGQgqt054487@lurza.secnetix.de> <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com> <20090324155746.GC5281@lor.one-eyed-alien.net> Date: Thu, 26 Mar 2009 11:59:29 -0400 Message-ID: <25ff90d60903260859h649ab2fbw4b7462601b192beb@mail.gmail.com> From: David Horn To: Brooks Davis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: Dynamic loading of network kernel modules? 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: Thu, 26 Mar 2009 15:59:31 -0000 On Tue, Mar 24, 2009 at 11:57 AM, Brooks Davis wrote: > On Wed, Mar 18, 2009 at 01:33:06PM -0400, David Horn wrote: >> On Wed, Mar 18, 2009 at 12:26 PM, Oliver Fromme = wrote: >> > David Horn wrote: >> > ?> Oliver Fromme wrote: >> > ?> > >> > ?> > ?network_interfaces=3D"bge0 lo0" >> > ?> >> > ?> Ah. ?Ok, now I am understanding your scenario. >> > ?> >> > ?> I thought that using 'network_interfaces' with anything other than >> > ?> "AUTO" ?was in the process of being depreciated ? >> > >> > Well, the manual page says so, but I think that is a >> > mistake. ?There are cases where you have to specify the >> > list of interfaces explicitly. ?The situation described >> > in this thread is one such case. >> >> Good point. >> >> > >> > My opinion is that it is good to have the ability to let >> > things be done automatically, but it is bad to remove the >> > ability to do things manually. ?This is UNIX, after all. >> >> Exactly. =A0Both scenarios should probably be supported, but I guess we >> would need to ask brooks for some history on the depreciated warning >> for network_interfaces. > > I think network_interfaces and the autoloading support in ifconfig are > a massive mistake that we've been unable to kill. =A0The relativly large > amount of code you've written to hack around yet another edge case proves > my point. :) If you want to load if_iwn at boot just do: > > echo 'if_iwn_load=3D"YES"' >> /boot/loader.conf > > and be done with it. Yep, now that I have had some time to think about it, this is probably not worth patching. Thanks for the feedback. --Dave H > > -- Brooks > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> src/etc/network.subr >> Revision 1.185: download - view: text, markup, annotated - [selected for= diffs] >> Wed Apr 30 16:29:15 2008 UTC (10 months, 2 weeks ago) by brooks >> Branches: MAIN >> Diff to: previous 1.184: preferred, colored >> Changes since revision 1.184: +4 -0 lines >> >> Emit a warning when the network_interfaces variable is not set to AUTO. >> >> MFC after: =A0 =A03 days >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> --Thanks! >> >> -_Dave H >> >> > >> > Best regards >> > ? Oliver >> > >> > -- >> > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b.= M. >> > Handelsregister: Registergericht Muenchen, HRA 74606, ?Gesch?ftsfuehru= ng: >> > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M= ?n- >> > chen, HRB 125758, ?Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebh= art >> > >> > FreeBSD-Dienstleistungen, -Produkte und mehr: ?http://www.secnetix.de/= bsd >> > >> > "The ITU has offered the IETF formal alignment with its >> > corresponding technology, Penguins, but that won't fly." >> > ? ? ? ?-- RFC 2549 >> > >> _______________________________________________ >> 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" >> >