pr_info not printing message in /var/log/messages

Shraddha Kamat sh2008ka at gmail.com
Tue Feb 5 09:58:34 EST 2013


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 




More information about the Kernelnewbies mailing list