To complie and run a test kernel: ---------------------------------- #From the linux source directory.(Note that, you do not need to do this for the labs that involve modules.) make bzImage cp arch/i386/boot/bzImage /boot/bzImage-test #shutdown the system and reboot the test image. etags ------ cd /usr/src/kernel-source-2.6.8 find . -type f -name "*.[c|h]" | gawk '{system("etags --append " $1)}' in emacs use M-. or the find-tag command C-u for the next tag. grep ----- grep -r "string" * making a copy of the source code to help check for changes ---------------------------------------------------------- (from /usr/src) # cp -r linux linuxunmodified (from /usr/src/kernel...) #for x in `find . -type f -name "*.[chS]"`; do diff $x ../linuxunmodified/$x; done modules -------- insmod .ko # adding a module rmmod # removing a module lsmod # listing the modules cat /proc/modules # more info about loaded modules printk ------- To see them you can just use : # dmesg If you wish to see the printks in an xterm then : # killall syslogd # killall klogd # cat /proc/kmsg