I am trying to install this module: https://github.com/mkottman/acpi_call
I did a make, make install.
I then saw acpi_call.ko
is in /lib/modules/4.3.3-5-default/extra/
.
When I do a
modprobe acpi_call
I get
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.3.3-5-default
Tried putting acpi_call.ko
in /lib/modules/4.3.3-5-default
but got the same result.
I would like to make it persistent so that when I reboot, module is loaded. I think it's possible only with modprobe.
If the module.ko file is really under /lib/modules/4.3.3-5-default/extra/
and 4.3.3-5-default
is indeed your current kernel version, then the problem may simply be that you need to run depmod
to re-create the module dependency list. Run:
sudo depmod
and try again to modprobe
the module.
My solution is unique, but in my system I rebuilt the kernel and took out a module. I installed the vendors module and could not get the system to boot using the vendors module. In my case I forgot to move all the /lib/modules info, so modules.builtin
still had the module, that I was upgrading. Manually removing the module from modules.builtin
and doing the depmod -a
fixed my problem.
Try running make && sudo make install
in the source directory. That should install the module in the right place using the Makefile that comes with your kernel headers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.