Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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:
-E : enable printing messages to console
Check your /etc/rsyslog.conf and look for any kern.* rules. That should tell you where the kernel levels are printing out to. You can also specify your own location like:
for kernel messages at the debug level.