I'm trying to remove a module I have created, but it doesn't work for me.
Assuming my module name is xyz :
- When I try to run
rmmod xyzI get the following error:rmmod: ERROR: Module xyz is in use - When I try to use
modprobe -r xyzI get the following error:modprobe: FATAL: Module xyz not found. However, when I run
lsmodI can see the following line:Module Size Used by xyz 16384 -1
I have tried to do the proposed suggestion in: How to remove kernel module if it's still in use? But it didn't help.
I have changes made to the code of the module, I compiled it and want to load it from scratch.
Any suggestions?
I'm using lubuntu 17.10.1
Thanks!