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

Re: unable to rmmod



Forcing unload of a module is not something I would recommend for it makes the kernel unreliable. It would be helpful if you can submit the opps as a bug report and get it fixed.

-
Rahul 

On 11/5/08, nidhi mittal <nidhimittal19@xxxxxxxxx> wrote:
Hi
i m facing this prob from long that when i use a module which i have just inserted.
now suppose by mistake some kernel oops occur null pointer exception lets say ..
now my program which was using the function of module is closed .
so in my knowledge no one is using my module now.

now i corrected the mistake in module re compiled it and tried to rmmod previous version of module.
but error came as module is in use cannot rmmod....

i tried to rmmod by force too but its not working ...

now to remove earlier module i had to restart PC ...that's a headache...

pl help me how to remove it ...
i guess somewhere some refcount is maintained for module which  is left  raised ...

 

--
Thanks & Regards
Nidhi



--
Smart data structures and dumb code works a lot better than the other way
around. -Eric S Raymond