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

Steve H picture Steve H · Mar 28, 2013 · Viewed 8.5k times · Source

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?

Answer

marcantonio picture marcantonio · Mar 28, 2013

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