Module not found when I do a modprobe

robert trudel picture robert trudel · Jan 14, 2016 · Viewed 67.3k times · Source

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.

Answer

thkala picture thkala · Jan 14, 2016

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.