1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue in removing the modules in linux

Discussion in 'Linux' started by gk123987, Nov 6, 2009.

  1. gk123987

    gk123987 New Member

    Joined:
    Sep 9, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    I am using the Mandriva Linux - 2008 version.
    Recently I have compiled the latest kernel source - 2.6.xx.5

    I tried to compile a single module and tried inserting and removing using the commands - insmod and rmmod, they were successful.

    But now i added another module file and tried to build the module. The build was successful.

    Using the Insmod, i inserted both in to kernel space.
    When i tried to removed the module, i get the error saying,

    "Module is in use and can not be removed".

    Is there any means - to kill this module.
     
  2. gk123987

    gk123987 New Member

    Joined:
    Sep 9, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    ps - will give the running pid and then i can kill it.
    But on exiting of the module, i have some msgs to be printed and this is not happening.That is on inserting - i have some msg to be printed and on removing i print some message.

    Can any one pls smell the issue i am facing.

    Thanks and Regards,
    GK
     

Share This Page