From: Dusty Mabe <dusty@dustymabe.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.com>
Cc: linux-kernel@vger.kernel.org
Subject: multiplexing /dev/console to all console= entries
Date: Sun, 4 Nov 2018 20:45:34 -0500 [thread overview]
Message-ID: <46b26403-395b-6a3c-ea6e-c3c811fdc400@dustymabe.com> (raw)
Hi Greg, Jiri,
I'd like to bring up a question about multiplexing /dev/console to
all specified console= devices on the kernel command line rather than just
the last entry. In my personal experience using linux systems and also in
my experience dealing with users of various server images (Fedora Cloud,
Fedora Atomic Host, Fedora Server, CentOS, RHEL, etc..) it is often hard
to debug properly when something goes wrong because of a number of reasons:
- the user doesn't know the difference between a serial console and
a VGA console
- the user doesn't know what the settings were on the image they booted
- the user doesn't know how to access the various console devices using
the cloud environments they are on (i.e. they know of one but not the other)
- in an attempt to share configs for disk image creation the creators add
extra console= entries to cover various console devices and various
architectures (see [1] where we are covering VGA/serial, hvc0, AMA0. etc)
I believe it would simplify debugging/troubleshooting with users if we
were able to multiplex /dev/console to all console= entries. This
conversation actually started as a PR to dracut [2] to get all of the
systemd messages to be printed to all console= devices, but it was
pointed out there [3] that rather than change the the settings in dracut
it would be better to attempt to change the kernel behavior.
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.
Note: I apologize if this functionality already exists and I missed it
somehow.
Note: I grabbed info from [4] about who to contact for tty subsystem
questions. I apologize in advance if you are the wrong people to
contact.
Thanks!
Dusty
[1] https://pagure.io/fedora-kickstarts/blob/ee84a1650b8188cbd00d54a688838207c34906f4/f/fedora-atomic.ks#_36
[2] https://github.com/dracutdevs/dracut/pull/445
[3] https://github.com/dracutdevs/dracut/pull/445#issuecomment-424755057
[4] https://github.com/torvalds/linux/blob/82aa4671516a3203261c835e98c3eecab10c994d/MAINTAINERS#L15149-L15151
next reply other threads:[~2018-11-05 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 1:45 Dusty Mabe [this message]
2018-11-07 9:03 ` multiplexing /dev/console to all console= entries Jiri Slaby
2018-11-07 21:34 ` Dusty Mabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46b26403-395b-6a3c-ea6e-c3c811fdc400@dustymabe.com \
--to=dusty@dustymabe.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).