| commit | 154e6d90cd52d48d274e0fe14f070342a6c5b2b8 | [log] [tgz] |
|---|---|---|
| author | Serge Bazanski <serge@monogon.tech> | Wed Sep 11 17:26:31 2024 +0200 |
| committer | Serge Bazanski <serge@monogon.tech> | Thu Sep 12 09:23:42 2024 +0000 |
| tree | ebbbb10d975d6f84cfa56bd45db904379d2ddb84 | |
| parent | 437d62480bbd4e34b443e7380071bc0c41c5a948 [diff] |
metropolis: prevent printk console pollution
This implements two separate approaches to limit printk pollution of the
new tconsole:
1. Sets the minimum printk level to EMERG. Everything lower than this
level will not get blasted to tty0.
2. Jut in case something does a spurious EMERG printk (or something
just writes to tty0), we redraw the console. This makes it
self-healing.
Change-Id: I69370ebf6c3cb3cacc8b6ea1ad3703e758bbf50c
Reviewed-on: https://review.monogon.dev/c/monogon/+/3398
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.