From: Michele Andreoli (m.andreoli@tin.it)
Date: Sun Jan 23 2000 - 11:17:31 CET
On Sat, Jan 22, 2000 at 05:53:00PM +0000, ChBeer@t-online.de nicely wrote:
> Hi Folks!
>
> I compiled a little "Hello World"-Module, which does nothing more than
> saying "Hello World" at init.
>
> If I say "insmod hello.o" then muLinux says:
> "kernel_version needed, but can't be found"
>
> What could that be??
>
Try with "insmod -f" : that load module even if the version of the
running kernel and the version of the kernel for
which the module was compiled do not match.
I've this example:
=====================================================================
#define MODULE
#include <linux/module.h>
int init_module(void) { printk("<1>Hello, world\n"); return 0; }
void cleanup_module(void) { printk("<1>Goodbye cruel world\n"); }
=====================================================================
taken from "Linux Device Drivers", by Alessandro Rubini
Michele
-- I'd like to conclude with a positive statement, but I can't remember any. Would two negative ones do? -- Woody Allen --------------------------------------------------------------------- To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:13 CET