In article <[EMAIL PROTECTED]> you wrote:
> 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");

add 'return 0' here

> }
> void cleanup_module(void)
> {
>      printk("removing the module");
> }

        Christoph

-- 
Always remember that you are unique.  Just like everyone else.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to