Re: how to redirect serial console to telnet session?

Chris Friesen (cfriesen@nortelnetworks.com)
Fri, 10 May 2002 10:32:10 -0400


Russell King wrote:
>
> On Fri, May 10, 2002 at 09:05:41AM -0400, Chris Friesen wrote:
> > Accordingly, I grabbed what looked like the important bits of xconsole, but it
> > appears that this only gets me stuff written to /dev/console from userspace.
> > How do I go about getting the output of kernel-level printk()s as well?
>
> Check the LKML archives for something called 'netconsole' (or use google).
> It got mentioned here about 6 months to a year ago.

I found some patches by Ingo Molnar, but they look like kernel mods.

What I'm really looking for is a way to redirect this from userspace in a stock
kernel. I want the serial console as normal, but then for just debugging this
one thing I want to telnet in over ethernet and basically redirect /dev/ttyS0
onto my telnet session.

Is this possible?

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/