Date: Thu, 26 Mar 2009 11:59:29 -0400 From: David Horn <dhorn2000@gmail.com> To: Brooks Davis <brooks@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: Dynamic loading of network kernel modules? Message-ID: <25ff90d60903260859h649ab2fbw4b7462601b192beb@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 24, 2009 at 11:57 AM, Brooks Davis <brooks@freebsd.org> 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 <olli@lurza.secnetix.de>= 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" >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25ff90d60903260859h649ab2fbw4b7462601b192beb>