pr_info not printing message in /var/log/messages
Abhishek Gupta
pcs.abhishek at gmail.com
Tue Feb 5 11:40:02 EST 2013
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 at 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 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
More information about the Kernelnewbies
mailing list