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 <sh2008ka@gmail.com> 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@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===============