Requested by cperciva_ in EFNet #bsddocs.
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246506.
Differential D25881
Mention loading wifi interface driver in loader.conf for lagg. pauamma_gundo.com on Jul 29 2020, 4:39 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Requested by cperciva_ in EFNet #bsddocs. See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246506. Doc tested in lynx.
Diff Detail
Event TimelineComment Actions I don't know what &rel121.current; &rel114.current; and &rel113.current; refer to -- are those 12.1-RELEASE, 11.4-RELEASE, and 11.3-RELEASE? I would remove ", not <filename>/etc/rc.conf</filename>" -- on 12.1-RELEASE at least (maybe 11.x as well?) devmatch autoloads wifi drivers without them needing to be mentioned in rc.conf. Comment Actions Yes, that's what they mean.
I just booted a 11.4 VM and it doesn't look (judging by "man devmatch" and "which devmatch") that devmatch is available there at all. Comment Actions Ah, I see. In that case, let's take mention of 11.3 and 11.4 out of this entirely -- on those systems, any way of loading the wifi drivers (loader.conf or rc.conf) will get them loaded early enough to have the device present before lagg is initialized. The issue only exists on 12.1 (and 12.0, I suppose, but that's EoL) and the fix is "load the wifi driver explicitly rather than relying on devmatch" -- either loader.conf or rc.conf will work. Comment Actions OK, I'll remove them.
Are you positive (eg, have you tested) that loading the driver in rc.conf will work as well? That's not what you seemed to me to be saying in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246506 and my notes from our IRC conversation, in both of which you mention loader.conf but not rc.conf. Comment Actions I haven't tested, but /etc/rc.d/addswap has "REQUIRE: kld" and "BEFORE: netif" so it seems safe to assume that /etc/rc.d/kld will run before /etc/rc.d/netif. I suspect that I simply forgot about the option of setting kld_list in rc.conf when I was debugging this earlier...
Comment Actions
|