Re: multiplexing /dev/console to all console= entries

From: Dusty Mabe
Date: Wed Nov 07 2018 - 16:34:09 EST




On 11/7/18 4:03 AM, Jiri Slaby wrote:
> On 05. 11. 18, 2:45, Dusty Mabe wrote:
>> If a patch were submitted to enable this type of behavior would such a
>> patch be acceptable? Maybe it could be a compile time option and also
>> have a kernel arg option to enable/disable it.
>
> Hi,
>
> it might kill the system on some setups where people specify more serial
> (or similarly slow consoles). Output to some console is so slow that the
> system does nothing else than writing to the consoles. What might work
> as the first step to check it out is adding a flag to the console=
> option which would mark a console as a /dev/console device too and
> multiplex only those specified by the user. Then let's see how it goes
> with userspace logging out in the wild...
>

Thanks Jiri!

I think that seems reasonable. Do you have a good idea of what you'd like it
to look like? Some options

- console=ttyS0,primary
- console=ttyS0,mux
- console=ttyS0+
- consolex=ttyS0

These are ideas. Bad ones, probably. But just throwing out ideas.

Dusty