LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Kernel module programming (https://www.linuxquestions.org/questions/programming-9/kernel-module-programming-174914/)

lokutas 04-26-2004 08:54 PM

Kernel module programming
 
:(
I've been beating a 10 line module program and haven't been able to make it work... I've been doing it using Kdevelop 3.0 over mdk10.0 with Kernel 2.6.3, I have advanced with a couple of compile errors by fixing compiler directives (#define's) but still have a long way to go, I will appreciate if somebody could point me to a cookbook URL or provide me of a simple example program that I can work with... I guess I might also need to tweak Kdevelop some what to make it run or compile my modules, can somebody please comment on this...

Thank you all very much,
Lokutas

zekko 04-26-2004 09:29 PM

Have you read this?
http://www.tldp.org/LDP/lkmpg/index.html

Tih8710 04-27-2004 02:26 AM

Pretty good, but unfortunately old information. mdk10 has kernel 2.6.3, that has a few(?) changes in LKM programming, such as MODULE_PARM macro, that now is module_param() , and needs a header to be included...

Read that anyway, but take also a good look at:

http://lwn.net/Articles/driver-porting/


All times are GMT -5. The time now is 07:50 AM.