Messages in this thread | | | Subject | RE: problems with printk's | Date | Tue, 25 Apr 2006 17:39:58 +0530 | From | <> |
| |
When i see the output of the driver using dmesg
Only some of the prints are visible (some of them are not printed even though they must get printed. i dont know why this is happening.
Is there any limit on printk (like number of messages....)
How do i disable (ie printk should print irrespective of any limit or anything).
Please check '/proc/sys/kernel/printk_ratelimit' and '/proc/sys/kernel/printk_ratelimit_burst'. The printk_ratelimit tells your system to stop logging messages for 'n' number of seconds and printk_ratelimit_burst tells the number of messages to allow before rate limiting. You can change these values to allow more messages.
Warning: You can generate so many messages that the system can get unresponsive, and the buffer for kernel log message is also of fixed sized circular buffer. So if you write too many messages, you might overwrite some of your old useful logs too. Hope this helps.
~Biswa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |