Re: 2.3.30pre1 syscall w/6 args support?

shisheng (shisheng_liu@chinaren.com)
Wed, 8 Dec 1999 13:10:53 +0800


Hi,
I have question in a really simple kernel module programming.
When I try to load it with insmod, the result is "couldn't find the
kernel version the module is compiled for".
My kernel version is "2.2.5-15"
My makefile is
CC=gcc
CFLAGS=-Wall -DMODULE -D__KERNEL__ -DLINUX -g
$(CC) -c $(CFLAGS) hello.c


Header of my source file (hello.c)
#include <linux/module.h>
#include <linux/kernel.h>
.....
init_module(....

I want to know how to debug the procedure a kernel module is loading and
how to debug a kernel module when it is running

Any help will be thankful

shisheng
shisheng_liu@chinaren.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/