insmod failure in kernel-2.2.14

From: aprasad@in.ibm.com
Date: Sat Sep 16 2000 - 09:07:38 EDT

  • Next message: Alain Knaff: "Re: bug in blkdev <-> VFS interaction. (oops) (fwd)"

    i am using kernel-2.2.14-5.0,
    i wrote a simple module to just printk a a message and tried to insmod it,
    but
    it gave error message: resource/device busy (EBUSY)
    but the message gets printed in /var/log/messages

    the code is:
    --------------------------------------------------
    #define MODULE
    #include<linux/module.h>
    int init_module(void)
    {
         printk("this is amodule");
    }
    void cleanup_module(void)
    {
         printk("removing the module");
    }

    NOTE:kindly cc the message to aprasad@in.ibm.com

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



    This archive was generated by hypermail 2b29 : Sat Sep 16 2000 - 15:02:20 EDT