It's a homebrew module from "Linux Device Drivers 2nd Edition"
Here is the source for the module:
#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"); }
- compiled with gcc version 2.96 on Red Hat 7.1 with the 2.4.19
kernel.
This is how I compiled and tried executing:
1) gcc -c hello.c
2) insmod hello.o
- Jamie
On Mon, 19 Aug 2002, Matthew S. Hallacy wrote:
> On Sun, Aug 18, 2002 at 09:19:09PM -0500, Jamie Ostrowski wrote:
> >
> > bash-2.05# insmod hello2.o
> > hello2.o: kernel-module version mismatch
> > hello2.o was compiled for kernel version 2.4.2-2
> > while this kernel is version 2.4.19.
>
> Trying to use a module compiled for a specific kernel, on another kernel
> , 16 revisions later, is a really bad idea. What binary drivers are you
> trying to load? Obscuring that information doesn't make us want to help
> you any.
>
>
> >
> > - Jamie
> >
>
> --
> Matthew S. Hallacy FUBAR, LART, BOFH Certified
> http://www.poptix.net GPG public key 0x01938203
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
"If you lose your bearings, your life won't go smoothly."