Thread (2 messages) 2 messages, 2 authors, 2013-02-05

pr_info not printing message in /var/log/messages

From: Abhishek Gupta <hidden>
Date: 2013-02-05 16:40:02

I think try with
]# cat /proc/sys/kernel/printk
4  4    1       7

Regards
Abhishek

On Tue, Feb 5, 2013 at 8:28 PM, Shraddha Kamat [off-list ref] wrote:
I was looking at

http://stackoverflow.com/questions/8090944/printk-not-working-for-kernel-debgugging

Initially it was -
# cat /proc/sys/kernel/printk
7       4       1       7

Then i did -

# echo "7   7" > /proc/sys/kernel/printk
# cat /proc/sys/kernel/printk
7       7       1       7

# sysctl -a | grep printk
kernel.printk = 7       7       1       7
kernel.printk_delay = 0
kernel.printk_ratelimit = 5
kernel.printk_ratelimit_burst = 10


still I the pr_info ("hello, world"); message doesn't get printed to
/var/log/messages.

please give me some hints as to resolve this issue.


-- Shraddha


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


-- 
Thanks & Regards
============X=============
Abhishek Gupta.
Grad student.
Dept of Computer Science and Information Systems.
Birla Institute of Technoogy & Science, Pilani.
India.
============X===============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/582dbb9a/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help