androidinsmod

init_module '/path/to/module.ko' failed <File exists>


I am trying to initiate a driver module by

insmod path/to/module.ko

and I am getting following error

> init_module 'path/to/module.ko' failed <File exists>

I am trying to understand if it means that the module is already up and running or is it completely failing to initialize at all.

I am looking for the meaning for <File exists>, does it mean it is already initialized?


Solution

  • It means that the module is already loaded. Check the output of lsmod.