This time I want to ask some questions about the modprobe command, it's error messages and in regard to that it's differences with the insdmod command.
So, that's how it looks like:
I need a driver to talk to the VME bus of a machine I'm working on. The driver comes with the distro (RHLE 8.0) in form of RPMs, I do as it is written in the INSTALL file and - voila - the module of the driver (vmemod.o) appears in the /lib/modules/$RELEASE/misc/ folder. I do a modprobe -l, and it says the following:
So I can take this for a proof that the module is inserted in the kernel. But when I do a lsmod, nothing appears, e.g. it seems as the module is not loaded. What is wrong? And what is the difference between insmod and modprobe? Is modprobe looking for modules only in /lib/modules?
When I try the following:
[root@host vme]# modprobe -n vmedrv.o
I get a "modprobe: Can't locate module vmedrv.o" message. What's wrong with that?
Another thing: When I insert the already compiled module vmemod.o with insmod, and then try to remove it with rmmod the system blocks. I can't understand why this is happening either.
So if someone has an idea why these problems are occuring and can gie some information abot the issues mentioned, I'll be thankful.