[U/N][PATCH 1/1] UBUNTU: [Config] reduce verbosity when booting in quiet mode

Andrea Righi andrea.righi at canonical.com
Thu Feb 29 14:17:00 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2049390

Set CONFIG_CONSOLE_LOGLEVEL_QUIET=3 by default when the kernel boots
with the 'quiet' option.

This can help to silent ACPI errors with a buggy firmware/BIOS,
preventing false alarms / bug reports.

NOTE: our testing won't be affected by this change, since we are not
booting the kernel with 'quiet' in our testing systems.

Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
---
 debian.master/config/annotations | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index fb4185fd12da..f2f982fae90a 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -90,6 +90,9 @@ CONFIG_CMA_SIZE_MBYTES                          note<'LP: #1823753'>
 CONFIG_COMPAT_BRK                               policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}>
 CONFIG_COMPAT_BRK                               note<'disables brk ASLR'>
 
+CONFIG_CONSOLE_LOGLEVEL_QUIET                   policy<{'amd64': '3', 'arm64': '3', 'armhf': '3', 'ppc64el': '3', 'riscv64': '3', 's390x': '3'}>
+CONFIG_CONSOLE_LOGLEVEL_QUIET                   note<'LP: #2049390'>
+
 CONFIG_CP15_BARRIER_EMULATION                   policy<{'arm64': 'y', 'arm64-generic-64k': '-'}>
 CONFIG_CP15_BARRIER_EMULATION                   note<'LP: #1545542'>
 
@@ -3227,7 +3230,6 @@ CONFIG_COMPILE_TEST                             policy<{'amd64': 'n', 'arm64': '
 CONFIG_CONFIGFS_FS                              policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_CONNECTOR                                policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_CONSOLE_LOGLEVEL_DEFAULT                 policy<{'amd64': '7', 'arm64': '7', 'armhf': '7', 'ppc64el': '7', 'riscv64': '7', 's390x': '7'}>
-CONFIG_CONSOLE_LOGLEVEL_QUIET                   policy<{'amd64': '4', 'arm64': '4', 'armhf': '4', 'ppc64el': '4', 'riscv64': '4', 's390x': '4'}>
 CONFIG_CONSOLE_POLL                             policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y'}>
 CONFIG_CONSOLE_TRANSLATIONS                     policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_CONSTRUCTORS                             policy<{'amd64': 'y'}>
-- 
2.43.0




More information about the kernel-team mailing list