how to see dmesg

May 8, 2014 880 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.
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
Have another answer? Share your knowledge.