Dec. 27, 2013
5:55 a.m.
On Thu, 26 Dec 2013 17:50:52 -0800, Eric Fowler said:
I did an insmod ./mydriver.ko
But rmmod reports Module mydriver is not currently loaded.
But it is in /proc/devices: 248 mydriver
Trying to reload it gives: insmod ./mydriver.ko
Could not insert module mydriver.ko: File exists.
Out of curiosity, what name is reported if you do an 'lsmod' after loading it? And what's the reference count on it? I wonder if you're ever-so-slightly out of sync someplace (a 'mydriver' in one place, and 'Mydriver' in another, or something equally misbegotten).