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, Feb 03, 2009 at 03:50:35PM +0000, raymond.meyer%rambler.ru@localhost 
wrote:

> 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?

So you want console on the serial, and still run getty on ttyE*.
At the ok> prompt do something like:

 ok> setenv output-device ttya
 ok> setenv input-device ttya
 ok> reset

It should now power up with OF and the kernel boot messages on the serial
connection. Next make sure you have the proper ttyE0 .. ttyE3 and console
lines all enabled in /etc/ttys.

Beware, however, that now powering on/off your i386 machine likely will send
a break on the serial line causing a drop to ddb.

Martin


Home | Main Index | Thread Index | Old Index