lkml.org 
[lkml]   [2023]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Documentation/serial-console: Document the behavior when the last console= parameter is not used
On (23/03/08 12:24), Petr Mladek wrote:
>
> The console= kernel command-line parameter defines where the kernel
> messages appear. It can be used multiple times to make the kernel log
> visible on more devices.
>
> The ordering of the console= parameters is important. In particular,
> the last one defines which device can be accessed also via /dev/console.
>
> The behavior is more complicated when the last console= parameter is
> ignored by kernel. It might be surprising because it was not intentional.
> The kernel just works this way historically.
>
> There were few attempts to change the behavior. Unfortunately, it can't
> be done because it would break existing users. Document the historical
> behavior at least.
>
> Link: https://lore.kernel.org/r/20170606143149.GB7604@pathway.suse.cz
> Link: https://lore.kernel.org/r/20230213113912.1237943-1-rkanwal@rivosinc.com
> Signed-off-by: Petr Mladek <pmladek@suse.com>

Looks good!

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>

\
 
 \ /
  Last update: 2023-03-27 00:52    [W:0.038 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site