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 17:03:19 +0100
Martin Husemann <martin%duskware.de@localhost> wrote:
> 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
Hmm... it doesn't quite work. What I'm trying to do is login multiuser, i.e. I
need to use the attached keyboard + graphics card, so I can start Xserver.
While X11 is running on sparc64, I run xmms, which causes kernel panic. Once
this happens, the local display and keyboard don't respond, so somehow I need
to be able access ddb via serial console. How do I do that?
Home |
Main Index |
Thread Index |
Old Index