Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 08:08:48 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Warner Losh <imp@bsdimp.com>, Daniel Ebdrup Jensen <debdrup@freebsd.org>,  src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 866c8b8d5ddb - main - kldload(8): Add note about using kld_list in rc.conf(5)
Message-ID:  <CACNAnaF0xpfOodU=B4c91sA4za=-wfRgTY_MiJtr9TZuMNpoHw@mail.gmail.com>
In-Reply-To: <d9acb4ee-5ea4-b006-6fa0-86da8d369eda@grosbein.net>
References:  <202102080704.11874w7E017472@gitrepo.freebsd.org> <CANCZdfrJjBxDwM5gpccDbAJEhw_HBT7eq%2B2Tfd-kTxEo9_DitA@mail.gmail.com> <d9acb4ee-5ea4-b006-6fa0-86da8d369eda@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 8, 2021 at 8:00 AM Eugene Grosbein <eugen@grosbein.net> wrote:
>
> 08.02.2021 14:12, Warner Losh wrote:
> >
> >
> > On Mon, Feb 8, 2021, 12:05 AM Daniel Ebdrup Jensen <debdrup@freebsd.org=
 <mailto:debdrup@freebsd.org>> wrote:
> >
> >     The branch main has been updated by debdrup (doc committer):
> >
> >     URL: https://cgit.FreeBSD.org/src/commit/?id=3D866c8b8d5ddb982c2b81=
39153a4ddfdb2aac3364
> >
> >     commit 866c8b8d5ddb982c2b8139153a4ddfdb2aac3364
> >     Author:     Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
> >     AuthorDate: 2021-02-08 06:49:32 +0000
> >     Commit:     Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
> >     CommitDate: 2021-02-08 06:57:36 +0000
> >
> >         kldload(8): Add note about using kld_list in rc.conf(5)
> >
> >         While here, also recommend that loader.conf(5) should only be u=
sed in
> >         order to get to mountroot, as rc(8) is less fragile, faster, an=
d is
> >         easier to fix by booting to single-user mode instead of having =
to
> >         blacklist modules in the loader.
> >
> >
> > I'm not sure this is good advice. The only modules that are fragile are=
 3rd party things like drm. It's no less hard to fix by unloading in the lo=
ader or fixing in single user. The speed difference is true, but unless the=
 modules are huge, it isn't much.
>
> +1
>
> Plus, Daniel missed two other points: nextboot(8) facility that works wit=
h modules
> loaded with the loader; and possibility to point to alternative location =
of kernel module
> with *_name variable documented in the loader.conf(5) manual page.
>
> The latter makes it possible to load alternative version of same driver,
> real example is if_em.ko from base system vs. one from ports that has dif=
ferent code base
> and set of bugs/features.
>
> kld_list cannot do that.
>

Huh? kld_list accepts a full pathname, which is the same kind of
specification you'd need to do with one from port in loader with
*_name.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaF0xpfOodU=B4c91sA4za=-wfRgTY_MiJtr9TZuMNpoHw>