|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0 |
|
| #
11d7aa07 |
| 28-Aug-2024 |
Jessica Clarke <[email protected]> |
rc.d/devmatch: Silence sysctl hw.bus.devctl_nomatch_enabled=1
As with various other rc scripts, we don't want the output from this being visible in the boot log.
Fixes: 6437872c1d66 ("New sysctl t
rc.d/devmatch: Silence sysctl hw.bus.devctl_nomatch_enabled=1
As with various other rc scripts, we don't want the output from this being visible in the boot log.
Fixes: 6437872c1d66 ("New sysctl to disable NOMATCH until devmatch runs") MFC after: 1 week
(cherry picked from commit 62775aebf725a79703592f3276118245a74afdac)
show more ...
|
|
Revision tags: release/14.1.0 |
|
| #
c58d78f4 |
| 29-Apr-2024 |
Isaac Cilia Attard <[email protected]> |
New sysctl to disable NOMATCH until devmatch runs
Introduce hw.bus.devctl_nomatch_enabled and use it to suppress NOMATCH until devmatch runs
There's a lot of NOMATCH events generated at boot. We al
New sysctl to disable NOMATCH until devmatch runs
Introduce hw.bus.devctl_nomatch_enabled and use it to suppress NOMATCH until devmatch runs
There's a lot of NOMATCH events generated at boot. We also run devmatch once during early boot to load unmatched devices. To avoid redundant work, don't start generating NOMATCH events until after devmatch runs. Set hw.bus.devctl_nomatch_enabled=1 just before we run devmatch. The kernel will suppress NOMATCH events until this is set to true.
This saves about 170ms from the boot on aarch64 running atop Apple M-series processors and the VMWare Fusion hypervisor.
Reviewed by: imp, cperciva MFC after: 3 days Sponsored by: Google Summer of Code Pull Request: https://github.com/freebsd/freebsd-src/pull/1213
(cherry picked from commit 6437872c1d665c2605f54e8ff040b0ba41edad07)
show more ...
|
|
Revision tags: release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
a8935083 |
| 21-Nov-2021 |
Warner Losh <[email protected]> |
devmatch: Allow devmatch_blocklist to be set in kenv too
Add in all the variables set in the kenv variable devmatch_blocklist too. This allows blocking autoloading from the boot loader.
Sponsored b
devmatch: Allow devmatch_blocklist to be set in kenv too
Add in all the variables set in the kenv variable devmatch_blocklist too. This allows blocking autoloading from the boot loader.
Sponsored by: Netflix Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D32171
show more ...
|
| #
5549c6a6 |
| 08-Jul-2021 |
Warner Losh <[email protected]> |
devmatch: don't announce autoloading so much
devmatch rc script would announce it was loading a module multiple times. It used kldload -n so it really wasn't loading it that many times, but the mess
devmatch: don't announce autoloading so much
devmatch rc script would announce it was loading a module multiple times. It used kldload -n so it really wasn't loading it that many times, but the message is confusing. Use kldstat to see if we need to load the module before saying we do. This fixes the vast majority of the problems. It may be possible to race devmatch with a user invocation and devd, though quite hard. In that case we'll announce things twice, but still only load it once. No attempt is made to fix this.
PR: 232782 MFC After: 2 weeks Sponsored by: Netflix
show more ...
|
| #
b29ebb9c |
| 08-Jul-2021 |
Warner Losh <[email protected]> |
devmatch: Be tolerant of .ko being present.
We document that we did not need .ko on the module names in devmatch_blocklist, but we really needed them. Keep the documentation the same, but strip the
devmatch: Be tolerant of .ko being present.
We document that we did not need .ko on the module names in devmatch_blocklist, but we really needed them. Keep the documentation the same, but strip the .ko when we need to use the names so you can specify either.
PR: 256240 MFC After: 2 weeks Sponsored by: Netflix
show more ...
|
| #
f68e3ea8 |
| 07-Jul-2021 |
Helge Oldach <[email protected]> |
devmatch: defer until after kld
devmatch loads a number of things automatically. Allow the list of things to load to happen first in case those drivers affect what would be loaded. Normally, this wi
devmatch: defer until after kld
devmatch loads a number of things automatically. Allow the list of things to load to happen first in case those drivers affect what would be loaded. Normally, this will produce the same results, but there's some special cases that may not when drivers are loaded that report other drivers missing, like virtio_pci.
PR: 253287 Reviewed by: imp MFC After: 2 weeks
show more ...
|
| #
c43b0081 |
| 18-Jun-2021 |
Ceri Davies <[email protected]> |
devmatch: improve naming of devmatch config variable
Accept the old rc.conf variable if the new one is not present for compatability.
Approved by: imp Differential Revision: https://reviews.freebsd
devmatch: improve naming of devmatch config variable
Accept the old rc.conf variable if the new one is not present for compatability.
Approved by: imp Differential Revision: https://reviews.freebsd.org/D30806
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
| #
3cc62032 |
| 16-May-2020 |
Colin Percival <[email protected]> |
Move the devmatch rc.d script before netif in the boot process.
Prior to this change, using lagg to aggregate wired and wireless networks was broken in the (relatively common) case where wifi driver
Move the devmatch rc.d script before netif in the boot process.
Prior to this change, using lagg to aggregate wired and wireless networks was broken in the (relatively common) case where wifi drivers + firmware are loaded by devmatch, since the interface didn't exist at the time when the lagg interface was being created.
Suggested by: imp MFC after: 3 days
show more ...
|
| #
f86e6000 |
| 04-Dec-2019 |
Warner Losh <[email protected]> |
Regularize my copyright notice
o Remove All Rights Reserved from my notices o [email protected] everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't clai
Regularize my copyright notice
o Remove All Rights Reserved from my notices o [email protected] everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't claim All Rights reserved by listing All Rights Reserved on same line as other copyright holders (but not me). Other such holders are also listed last where it's clear.
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0 |
|
| #
0696600c |
| 17-Oct-2018 |
Bjoern A. Zeeb <[email protected]> |
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update bec
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update because an rc script was touched. (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement of the rc framework with alternatives, such as openrc.
Discussed with: brd (during BSDCam), kmoore Requested by: cem, bz PR: 231522 Approved by: re (gjb)
show more ...
|