NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /usr/bin/tip + serial console?



On Tue, 3 Feb 2009 16:02:01 +0100
Martin Husemann <martin%duskware.de@localhost> wrote:

> On Tue, Feb 03, 2009 at 02:55:29PM +0000, raymond.meyer%rambler.ru@localhost 
> wrote:
> > There is no /etc/rc.d/init file, did you mean something else?
> 
> Sorry, "kill -HUP 1" should do it (signal init to reload /etc/ttys).
> 
> > Also in /etc/ttys, what's the difference between
> > 
> > tty[E0-E3], ttya, ttyb and ttyh0, ttyh1
> > 
> > i.e. what different serial ports do they refer to?
> 
> ttyE* are the ffb consoles, ttya and ttyb are the zstty(4) ports used on SBUS
> machines, ttyh0 and ttyh1 are sabtty(4) ports.
> 
> Martin

OK, here is what I've learnt:

If I reboot Ultra10 and unplug the keyboard, I can see boot messages scroll on 
serial console. When kernel panics, I get ddb on serial console.

With the keyboard plugged in, I can use serial console, but I can't see boot 
messages and I can't use ddb when kernel panics. I think this is something to 
do with sparc openboot system, i.e. if it detects the keyboard is not plugged 
in, it redirects everything to serial console.

How can I set it up so that when the keyboard is plugged in, I can see boot 
messages on serial console and use kernel debugger when the kernel panics? Is 
there a way to redirect input/output to serial console as well as the keyboard 
and framebuffer, at the same time?


Home | Main Index | Thread Index | Old Index