Newbie question about accessing memory in kernel space
I was going down the same path as you are a year ago and had similar issues. This book covers up to 2.4 but will probably answer future issues you encounter:
http://www.xml.com/ldd/chapter/book/
The code in book:
http://examples.oreilly.com/linuxdrive2/