public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* change kernel logging (console=ttyS0) without reboot?
@ 2011-06-17 11:42 Tomasz Chmielewski
  0 siblings, 0 replies; only message in thread
From: Tomasz Chmielewski @ 2011-06-17 11:42 UTC (permalink / raw)
  To: linux-kernel

Generally, most production systems don't like to be restarted unnecessarily.

I was wondering if it's possible to change kernel logging without a restart?

Say, I connected a serial cable to the server, but kernel was not booted 
with anything like console=ttyS0,19200 in its command line. So anything 
produced by the kernel will not show up on ttyS0.


Can I still somehow make the kernel to log to ttyS0, without restarting 
it (I can make syslog do it, but let's assume the syslog crashed and I'm 
mostly interested in catching a kernel oops/panic etc.)?



-- 
Tomasz Chmielewski
http://wpkg.org

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

only message in thread, other threads:[~2011-06-17 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 11:42 change kernel logging (console=ttyS0) without reboot? Tomasz Chmielewski

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