Category Archives: /kernel

Runtime configuring printk – stop kernel printk from flooding the console

Sometimes while debugging kernel/module, unnecessary kernel messages keeps flooding console such that you are not able to have access of console in useful manner to check output of a command or do some task. In this case you can configure “printk” at … Continue reading

Posted in /kernel | Tagged , , , | Leave a comment

generic-usb: probe of device failed with error

If you have ever come across an issue like, USB device (specially mouse/keypad/keyboard i.e. input devices) fails to register as input device in the system, when connected at kernel boot up or it is being occasionally recognized and you often have to plug … Continue reading

Posted in /kernel | Tagged , | Leave a comment

“__init” in linux kernel

The linux kernel uses well optimized mechanism for calling initialization code for built-in drivers and other kernel features using “__init“ macro. Essentially, the kernel build system looks for all of the functions marked with __init, across all of the code of the kernel, … Continue reading

Posted in /kernel | Tagged , | Leave a comment