Question

how to see dmesg

  • Posted May 8, 2014

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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: <br> <br><pre> <br>echo “7” > /proc/sys/kernel/printk <br></pre>