Mailinglist Archive: opensuse (4446 mails)

< Previous Next >
Solved: Re: [opensuse] How to attach to existing tty
  • From: Simon Roberts <thorpflyer@xxxxxxxxx>
  • Date: Tue, 5 Dec 2006 12:43:51 -0800 (PST)
  • Message-id: <20061205204351.86358.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Lovely, thanks Jan. This is just what I needed (the boot option). Thanks for the extra info too, always good to get a better understanding.

Cheers,
Simon

"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." — Naguib Mahfouz

----- Original Message ----
From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
To: Simon Roberts <thorpflyer@xxxxxxxxx>
Cc: opensuse list <opensuse@xxxxxxxxxxxx>
Sent: Tuesday, December 5, 2006 1:36:19 PM
Subject: Re: [opensuse] How to attach to existing tty


The right way:

>I want to attach to the output stream of an existing terminal. I want
>to "tee" that output to the serial device so I can send it to another
>machine that will log and save the output. The terminal in question is
>created and started by "the system". It is acutally /dev/tty10, and is
>receiving log messages about kernel activity.

One or more of these:

* Boot with `console=ttyS0 console=tty0` to copy kernel messages to
both ttyS0 and the regular console. This should DTRT for Oops and
Panics

* use net console

And optionally:

* configure syslog to write to both ttyS0 and tty10 (if you need that)

>Other option suggested was to take a photo of the screen, but the messages
>disappear off the top of the page (due to the recursive nature of the thing)
>before I can switch terminals, so this isn't a very useful option.

There exist no recursive panics. What you see must be a recursive oops.

>Come to think of it, the last time I had a kernel panic, it was under Solaris,
>and I used "kdb" to capture it I think (too long ago to remember clearly!) Is
>there a similar facility in Linux? (Solaris/kdb starts the whole darn kernel
>under a debugger from the OBP (forth) boot prom prompt).

There is also a KDB for Linux, but I am not sure if it is built into the kernel
by default (gives me a compile error blech).



-`J'
--






____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups