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

Re: remove module without reboot



Hi Hong,

I assume you havent decreased the count.
When you open a module use MOD_INC_USE_COUNT , forget not to release the 
module with MOD_DEC_USE_COUNT

I know this is can be one issue which does not enable us to rmmod.
I would like to know have you coded so.
Regards
Ravi


Hong Hsu wrote:
> Hi,
> 
> During module testing one module always locks up when initializing using 
> #insmod.   #rmmod can not remove the module.  
> Is there a way I could remove the module without reboot? So I could 
> continue to change code and test.
> 
> Thanks,
> -Hong
> 
> 
> 
> -- 
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


-- 


The views presented in this mail are completely mine. The company is not
responsible for whatsoever.
------------------------------------------------------------------------
Ravi Kumar CH
Rendezvous On Chip (i) Pvt Ltd
Hyderabad, India
Ph: +91-40-2335 1214 / 1175 / 1184

ROC home page <http://www.roc.co.in>



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/