prplos/package/base-files
Petr Štetiar aaec2d19f5
base-files: set kernel serial console log level to warning
With the recent addition of several kernel module dependencies needed by
tr181-qos manager we've started experiencing issues with command prompt
detection in labgrid's shelldriver component.

It's likely related to longer kernel module loading times, which is then
having impact on delayed and longer kernel messages output on serial
console, thus interleaving labgrid command markers with kernel messages
and causing command prompt detection unreliable.

Current serial console loglevel is set to debug log level (KERN_DEBUG=7)
which makes kernel output very verbose and in some corner cases it's
causing interleaving of messages on serial console which makes currently
controlling of the DUT via labgrid framework very unreliable.

Fixing this properly via PCF-617 upstream in the labgrid framework is
going to take some time, so as a temporary workaround we're going to
decrease default kernel log level to warning (KERN_WARNING=4) which
limits kernel log output to the serial console a lot. Those kernel log
messages are not lost, they're still available in syslog's messages log
file.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit c57924854a129013bc8ba646b6953bf65baae255)
(cherry picked from commit fdf99433f1503da01dac50f3c3f7670e0f441738)
2025-07-31 15:17:59 +00:00
..
files base-files: set kernel serial console log level to warning 2025-07-31 15:17:59 +00:00
image-config.in OpenWrt v24.10.2: revert to branch defaults 2025-06-23 23:32:10 +02:00
Makefile config: rename SECCOMP to USE_SECCOMP 2025-01-03 11:18:56 +01:00