I think try with <br>]# cat /proc/sys/kernel/printk<br>4  4    1       7<br><br>Regards<br>Abhishek<br><br><div class="gmail_quote">On Tue, Feb 5, 2013 at 8:28 PM, Shraddha Kamat <span dir="ltr">&lt;<a href="mailto:sh2008ka@gmail.com" target="_blank">sh2008ka@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was looking at<br>
<a href="http://stackoverflow.com/questions/8090944/printk-not-working-for-kernel-debgugging" target="_blank">http://stackoverflow.com/questions/8090944/printk-not-working-for-kernel-debgugging</a><br>
<br>
Initially it was -<br>
# cat /proc/sys/kernel/printk<br>
7       4       1       7<br>
<br>
Then i did -<br>
<br>
# echo &quot;7   7&quot; &gt; /proc/sys/kernel/printk<br>
# cat /proc/sys/kernel/printk<br>
7       7       1       7<br>
<br>
# sysctl -a | grep printk<br>
kernel.printk = 7       7       1       7<br>
kernel.printk_delay = 0<br>
kernel.printk_ratelimit = 5<br>
kernel.printk_ratelimit_burst = 10<br>
<br>
<br>
still I the pr_info (&quot;hello, world&quot;); message doesn&#39;t get printed to<br>
/var/log/messages.<br>
<br>
please give me some hints as to resolve this issue.<br>
<br>
<br>
-- Shraddha<br>
<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards<br>============X=============<br>Abhishek Gupta.<br>Grad student. <br>Dept of Computer Science and Information Systems.<br>Birla Institute of Technoogy &amp; Science, Pilani.<br>
India.<br>============X===============<br>