Re: pr_info not printing message in /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
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===============
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux