Re: 5.18.1 has thousands of similar lines in dmesg with CONFIG_WARN_ALL_UNSEEDED_RANDOM=y

From: John Ogness
Date: Mon May 30 2022 - 15:54:14 EST


On 2022-05-30, Toralf Förster <toralf.foerster@xxxxxx> wrote:
> On 5/30/22 11:24, Toralf Förster wrote:
>> This deletes the early boot messages in dmesg:
>
> changing CONFIG_LOG_BUF_SHIFT=18 to CONFIG_LOG_BUF_SHIFT=20 helps, but
> nevertheless:

FWIW, you can also use the boot argument "log_buf_len" to dynamically
allocate the dmesg buffer at boot.

For example: log_buf_len=16M

This is usually more convenient than reconfiguring/rebuilding your
kernel.

John Ogness