Re: Can't cleanly unload driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpvTyrM54_wS.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux