Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 14:13:40 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Brett Glass <brett@lariat.net>
Cc:        stable@freebsd.org
Subject:   Re: devmatch error message
Message-ID:  <CANCZdfrxO8hcriLww_FNTknkZi=ewiY1OCXp27pEDgYmCvSVtw@mail.gmail.com>
In-Reply-To: <201903241552.JAA16104@mail.lariat.net>
References:  <201903232359.RAA05778@mail.lariat.net> <CANCZdfq2DoW67BUqsMXhQVdaYVrJZC3e7VG4RerBzp4txb563A@mail.gmail.com> <201903241552.JAA16104@mail.lariat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 24, 2019, 9:52 AM Brett Glass <brett@lariat.net> wrote:

> Warner:
>
> Thank you! I thought that perhaps it might be useful to (for example) kee=
p
> Ethernet port names the same when ports were added to the system. But if
> it's not, I'll just deactivate it. I do need to keep devd on, because I
> sometimes plug in USB memory sticks.
>

There is an ifconfig variable for that purpose, iirc.

Devmatch's job in life is to look at devices that don't have any driver
claim them and guess what kld(s) to load that might claim them...

Warner


--Brett
>
> At 06:51 PM 3/23/2019, you wrote:
>
>
>
> On Sat, Mar 23, 2019 at 6:27 PM Brett Glass <brett@lariat.net> wrote:
> Everyone:
> I've been building custom kernels for FreeBSD 12.0, and have noticed a
> message on the console, during boot, that I haven't seen from prior versi=
ons.
> It doesn't affect the operation of the system, but just for the sake of
> cleanliness (and to make sure it doesn't cause trouble later) I'd like to
> clean it up. The message is
> devmatch: can't read linker hints file
> Because I'm building a stripped-down kernel without klds or debugging sym=
bols
> in it, the kernel build doesn't produce a linker.hints file, which I
> assume is what's causing the complaint. Is there a reason why I should
> generate such a file? Or, if I don't really need to do so, is there a way
> to suppress the message?
>
>
> Disable devmatch. It's useless without klds.
>
> Warner=C3=82
>
>



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