RE: Help - can not rmmod a module

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

 



Hi
check wheather u r freeing the memory u have allocated in init_module or
some were  else!
The memory allocated should be freeed atleast in the cleanup_module()

Regds
Anand

> -----Original Message-----
> From: kernelnewbies-bounce@nl.linux.org
> [mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of l x
> Sent: Thursday, June 10, 2004 3:57 AM
> To: kernelnewbies@nl.linux.org
> Subject: Help - can not rmmod a module
>
>
> Hi,
>
> I'm working on a module and it cause segmentation
> fault.  After insmod my_mod.o, I can see it's in
> initialization stage by using lsmod.  I tried to rmmod
> my_mod but got a message saying the module is busy.
> How can I rmmod the defect module without having to
> reboot?
>
> Thanks,
>
>
> T.
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
> --
> 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