Linux Kernel Newbies. The Linux Kernel Archives. Kernel Hacking Lesson #5: Your First printk. Here's where you prove that kernel hacking is NOT magic.
Remember, at this point you have compiled and booted your new Linux kernel. Now we're going to "hack the kernel. " We're going to add a printk, a function that prints out a message, during bootup.