Re: How to unload a module using rmmod when the module occur error.

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

 



> > i guess there is a way out , but dont know the side
> > effects ;-), but worked for me without any probs.
> > i wrote a module , insmod'ed it , it had simple code
> > to go thru the module list, and decrement the
> > module's count
> > (whichever module u wanted to remove) to 0, then i
> > could rmmod it ,i.e assuming that the module isnt
> > rmmod'able because
> > its MODULE_COUNT wasnt zero.Hope iam answering the
> > right question.Please, feel free to correct me,if
> > iam wrong.
> >
> >
> > cheers,
> > Amith
> >
> > PS: Kernel ver : 2.4-18.
> I think it's a best solution, but why linus don't add
> a option to force to remove the kernel module for a
> kernel programmer?

that's the best thing about "LINUX" ;-) !  
cheers,
Amith

--
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