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).

Attachment: pgpNMLZtRJXeW.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to