Re: Does excessive use of printk corrupt log buffer?

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

 



Greg Freemyer <greg.freemyer <at> gmail.com> writes:
----8<----
> If you want to have a high quality copy of the messages on disk, then
> make your own copy.  ie. "dmesg > my-dmesg-copy"
> 
> The negative with dmesg is that the kernel's buffer is a fifo.  If for
> some reason it is too small for the amount of logging you need, then
> you can adjust the size and make as big as you need.
---8<----

Hi Greg and list,

Thanks, I will try with that as well. I understand the limitation of dmesg being
circluar log buffer, but I think that if I re-direct data into my own copy
(file) I should be able to tackle that problem.

Nevertheless, I still would like to know if actually someone has observed log
data corruption in view of excessive printks (or it might be happening on my
machine due to some other yet-undetected problem).

> 
> Greg
Thanks once again.

Shreyansh





--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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