RE: remove module without reboot

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

 



Hi

but be aware that just foring the moudle count to zero
again and unloading the module something could
still be active and it could then cause a panic since the code doesnt
exist any more and you end up rebooting anyway :)

On Tue, 3 Jun 2003, Jonathan Khoo wrote:

> Hi,
> 
> You should add a control inside your module to reset the module usage
> count.
> This will allow you to remove the module.
> 
> Jon.
> 
> -----Original Message-----
> From: kernelnewbies-bounce@nl.linux.org
> [mailto:kernelnewbies-bounce@nl.linux.org] On Behalf Of Hong Hsu
> Sent: Monday, June 02, 2003 11:01 PM
> To: kernelnewbies
> Subject: remove module without reboot
> 
> 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/
> 
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

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



[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