Sunday, April 6, 2014

Linux kernel Modules : part 2

Hello again friends,

In the continuation of the series on device drivers, here I present another video tutorial. In this pretty self explanatory video I will write, compile and insert a kernel module.



In the end of the video, you might have noticed that upon inserting the module in Kernel, a message regarding ‘kernel tainted’ is displayed. This is because of the module license. We will discuss module license issue in next article.

Your comments and queries are always welcome.

Sunday, June 30, 2013

Introduction to kernel modules



 What is kernel Module ?

Kernel module is a piece of code that you can plug-into the kernel at runtime. Its just like any other user space program that you make except that it interacts with the kernel.

Why use kernel modules ?

As kernel modules communicate with kernel these are used to make device drivers and such stuff used for system programming.

Where do i start ?

To start kernel modules programming you can begin right away with c programming. No additional thing is required except good mood and will to do things.

What resources do i need ?

You need a linux box (preferably Ubuntu as it has large community support + i am using ubuntu :)

Lets get started...

Your ultimate resource lkmpg - www.tldp.org/LDP/lkmpg/2.6/html/lkmpg.html

I have uploaded a kick start tutorial here :