Re: Removing a module even if use count is not zero

From: Brian Gerst (bgerst_at_didntduck.org)
Date: 01/12/05

  • Next message: Miklos Szeredi: "Re: [fuse-devel] Merging?"
    Date:	Wed, 12 Jan 2005 08:47:51 -0500
    To: selvakumar nagendran <kernelselva@yahoo.com>
    
    

    selvakumar nagendran wrote:
    > hello linux-experts,
    > I inserted my module into the running kernel that
    > intercepts read system call. I am using kernel 2.4.28.
    > Now, I am unable to remove it since each and every
    > time, the module is used by some process. How can I
    > remove the module even if the usecount is not zero?
    > Can anyone help me regarding this?
    >
    > Thanks,
    > selva
    >

    Reboot. If you remove it, the system will likely crash.

    --
    				Brian Gerst
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Miklos Szeredi: "Re: [fuse-devel] Merging?"

    Relevant Pages

    • Re: Removing a module even if use count is not zero
      ... > hello linux-experts, ... Note that it may not be possible to cleanly deregister, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Removing a module even if use count is not zero
      ... I inserted my module into the running kernel that ... intercepts read system call. ... Do you Yahoo!? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Possible dcache BUG
      ... I can't see how that could be caused by flaky hardware. ... the first Oops that your running kernel raises. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] drivers/video/sis/ macros for old kernels removal
      ... > version.h has no relation with the running kernel anyway (or with the ... Thomas Winischhofer ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Cross compiling strangeness (EXTRAVERSION oddness)
      ... I am now building some modules (I am trying to write an ALSA module for the ... However, the running kernel, build with the same tools and often at the same ... Adrian ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)