Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2009 10:57:46 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        David Horn <dhorn2000@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Dynamic loading of network kernel modules?
Message-ID:  <20090324155746.GC5281@lor.one-eyed-alien.net>
In-Reply-To: <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com>
References:  <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> <200903181626.n2IGQgqt054487@lurza.secnetix.de> <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--kVXhAStRUZ/+rrGn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Good point.
>=20
> >
> > 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.
>=20
> Exactly.  Both 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.  The 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.

-- 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
>=20
> Emit a warning when the network_interfaces variable is not set to AUTO.
>=20
> MFC after:	3 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
>=20
> --Thanks!
>=20
> -_Dave H
>=20
> >
> > Best regards
> > ? Oliver
> >
> > --
> > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. =
M.
> > Handelsregister: Registergericht Muenchen, HRA 74606, ?Gesch?ftsfuehrun=
g:
> > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?=
n-
> > chen, HRB 125758, ?Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebha=
rt
> >
> > FreeBSD-Dienstleistungen, -Produkte und mehr: ?http://www.secnetix.de/b=
sd
> >
> > "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"
>=20

--kVXhAStRUZ/+rrGn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFJyQL5XY6L6fI4GtQRAvvjAKC+N9ri+JJTGg1mTGjd43F9onEmkACeKghB
fpT3DrkuieeiKh0IieFzO2g=
=OqAL
-----END PGP SIGNATURE-----

--kVXhAStRUZ/+rrGn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090324155746.GC5281>