Re: insmod failure in kernel-2.2.14

From: Christoph Hellwig (hch@caldera.de)
Date: Sat Sep 16 2000 - 14:19:02 EST


In article <CA25695C.0062C699.00@d73mta05.au.ibm.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:13 EST