Kernel – Debugging by printing

Probably the simplest way to get some debug information from your kernel code

printk("My Debugger is Printk\n");

just like in userspace.In order to see the kernel messages, just use the

$ dmesg
Annunci