Re: unable to rmmod

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

 



On Wed, Nov 5, 2008 at 4:23 PM, 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 ...

I think you should do select the following in your kernel config

Enable loadable module support  --->
         [ ]   Forced module loading (NEW)
         [*]   Module unloading
         [ ]     Forced module unloading

Thanks --
Manish


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

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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