RE: problems with printk's

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

 



 
  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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux