I have been trying to debug my kernel code with printk statements. But the messages does not show up on the console. cat /proc/sys/kernel/printk gives 7 4 1 7. What could be the reason?


use the command:

dmesg -E

-E : enable printing messages to console

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.