lkml.org 
[lkml]   [2018]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: multiplexing /dev/console to all console= entries
From
Date


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

\
 
 \ /
  Last update: 2018-11-07 22:34    [W:0.026 / U:2.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site