hello world module
on command line when i write
insmod hello.o
no error occurs but i can't get the "hello, world" message and
i am silencly returned to the shell , thanx for helps
/* hello.c */
#define MODULE
#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void) {printk("<1>hello, world\n"); return 0; }
void cleanup_module(void) {printk("<1>goodbye\n");}
|