Subject: Serial console
To: None <port-i386@NetBSD.ORG>
From: None <Havard.Eidnes@runit.sintef.no>
List: port-i386
Date: 03/19/1998 16:43:32
Hi,

I just finished setting my machine up with a serial console.  I
did not manage to convince the boot code that I had a serial
console, though, even though I tweaked
/sys/arch/i386/stand/biosboot/Makefile and added

CPPFLAGS+=3D -DSUPPORT_SERIAL
CPPFLAGS+=3D -DDIRECT_SERIAL =

CPPFLAGS+=3D -DCONSPEED=3D19200

Isn't that all it should take?  It turned out that I had to add
CONS_OVERRIDE in the kernel config as well in order for the
serial console to be used.

I am using OS/BS as my first-stage boot loader, and I did
admittedly press "return" on the PC console to activate the
NetBSD entry in the boot menu.  However, the boot blocks did not
send out any prompt on the serial port at all.

My kernel config now contains:

options         "CONSDEVNAME=3D\"com\"",CONADDR=3D0x3f8,CONSPEED=3D19200
options         CONS_OVERRIDE

and the last one appeared to be required.
Can anyone please tell me why?

Oh, yes, this is with a fresh 1.3 source tree with the 1.3.1
patch applied, and I'm trying to hunt down why my machine (which
has been rock solid with the Dec 3 1.3_ALPHA code, BTW) decided
to more-or-less spontaneously reset itself.  I have now enabled
both DDB, DEBUG and DIAGNOSTIC, so we'll see what that uncovers.


- H=E5vard