Tagged: kernel

Device Drivers migration #1 0

Device Drivers migration #1

Migrating drivers is always a fun thing to do. All most all migrations of device drivers from a 2.4 kernel to a 2.6 kernel has one thing in common and that’s handling of device node registration. If the 2.6 kernel supports devfs (CONFIG_DEVFS_FS) then it may be possible that API changes are very small if any although if the 2.6 version of the kernel you’re running doesn’t support DEVFS and...

How to tell if you’re a kernel geek? 0

How to tell if you’re a kernel geek?

Me and my friend Yakov have this habit where each morning when we go to work we make a cup of coffee and start the morning by reviewing what’s new on Sourceforge and Freshmeat and basically catching up with the new development and news around the Linux and Open Source community. Though it just hit me. In the past few months I’ve been visiting kerneltrap and other core kernel related...

Compiling single kernel module 0

Compiling single kernel module

We sometimes find ourselves in the need to compile just one module, and not the entire set of modules under the tree. The Makefile that is present in the dir of the module you wish to compile should read “obj-m := module.o” Run make -C /usr/src/linux-headers-2.6.XX-YY-ZZZ/ SUBDIRS=$PWD modules Compiliation should be successful and you should see the binary objects in the current dir now. Reference: http://lwn.net/Articles/21835/ http://lwn.net/Articles/21835/