Re: Unable to remove kernel module showing permanent using lsmod

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

 



On Thu, Mar 24, 2011 at 12:08, sakthi selvam <sakthi.cdm@xxxxxxxxx> wrote:
> But in my case, cleanup module also available in memory, after loading
> the module. I used to check using the file in /proc/kallsyms for the
> availability of cleanup module in memory.

AFAIK, such thing could happen due to certain data structure(s) from
that module that are continously accessed or locked. So, to avoid race
condition ( and missing pointer), keeping the module in memory is the
right way to do.

But of course, AFAIK too, you can try rmmod -f. But the risk is all yours.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
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