how to see dmesg

Posted May 8, 2014 2.3k views
sir i added the new system call (like sys_hello) after adding the system call i compiled and reboot the system after that i checked system call is working r not it's working well but dmesg is not working i type dmesg but it's not showing printk message . please tel me clearly.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
I assume that this isn't on a VPS? DigitalOcean doesn't support running custom kernels. That said, you should try enabling more detailed kernel logging with:

echo "7" > /proc/sys/kernel/printk