public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* setting the kernel log console at runtime
@ 2013-06-17 22:13 Matthew Thode
  0 siblings, 0 replies; only message in thread
From: Matthew Thode @ 2013-06-17 22:13 UTC (permalink / raw)
  To: linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-17 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 22:13 setting the kernel log console at runtime Matthew Thode

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox