From: Matthew Thode <mthode@mthode.org>
To: linux-kernel@vger.kernel.org
Subject: setting the kernel log console at runtime
Date: Mon, 17 Jun 2013 17:13:41 -0500 [thread overview]
Message-ID: <51BF8A15.5090506@mthode.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
I have a server I wish to debug, but wish to set the console at runtime
(I boot with it set, but it gets reset somehow).
I boot with the following on the cmdline
console=ttyS1 console=ttyS0 console=ttyS2 console=tty0
But end up with the following in /proc/consoles (I need to log to ttyS0
in particular).
tty0 -WU (EC p ) 4:1
netcon0 -W- (E )
ttyS1 -W- (E p a) 4:65
Here's my printk just in case you ask as well :D
8 4 1 7
How would I go about setting the kernel log console without a reboot?
--
-- Matthew Thode
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
reply other threads:[~2013-06-17 22:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=51BF8A15.5090506@mthode.org \
--to=mthode@mthode.org \
--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