selectively disable acpi modules
smithi at nimnet.asn.au
Tue Jun 6 12:53:11 UTC 2017
In freebsd-questions Digest, Vol 679, Issue 2, Message: 2
On Mon, 5 Jun 2017 16:04:37 -0400 "Littlefield, Tyler" <tyler at tysdomain.com> wrote:
> Is there a way to cut out all the acpi modules except the ones you need
> when building the kernel for FreeBSD 12?
This is rather ambiguous; in the normal meaning of 'modules' there's
only one, included in kernel by 'device acpi'. There are other modules
for various hardware, e.g. here my /boot/loader.conf loads acpi_ibm:
root at x200:~ # kldstat -v | grep acpi
2 1 0xffffffff8182e000 7fa8 acpi_ibm.ko (/boot/kernel/acpi_ibm.ko)
acpi(4) lists all ACPI 'sub-drivers' (aka 'sub-devices') and 'features':
"The acpi driver comprises a set of drivers, which may be selectively
disabled in case of problems. To disable a sub-driver, list it in the
kernel environment variable debug.acpi.disabled. Multiple entries can
be listed, separated by a space."
It might be clearer if you said just what you wish to disable, and why?
More information about the freebsd-questions