Subject: Re: Serial console problems...
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/05/1997 11:49:57
> 
> Hi! After ages of thinking that NetBSD was beyond my reach, I've finally
> managed to get hold of an old SE/30. Space is a little tight, but I seem to
> have just about everything working properly.
> 
> I'm using the latest (?) snapshot, dated 06/01/1997, and I'm using
> GENERICSBC-34, if I remember correctly.
> 
> The internal video is working fine, but now I'm trying to get it working
> with a serial console... I can receive the boot echo normally, but there
> seems to be a problem at the very end:
> 
> clearing /tmp
> updating motd.
> standard daemons: update cron.
> starting network daemons: routed printer inetd.
> starting local daemons:.
> Sat Jul  5 05:59:47 PDT 1997
> Jul  5 05:59:48 myname init: kernel security level changed from 0 to 1
> Jul  5 05:59:51 myname getty[137]: /dev/ttye0: Device not configured
> 
> I'm going to dig around to try to figure out what I can do to remedy this,
> but I'd dearly love some constructive advice. :)

You have two problems at once. They both reflect the fact that /etc/ttys
isn't set up right.

The first is that you don't have a getty turned on for tty00 or tty01,
so when NetBSD comes up, you loose all input ability. The other problem
is that the line for ttye0 is still on, even though the internal video
doesn't get configured if you're on a serial console.

> Oh... Another thing I'm curious about is if there's a way I can set the
> default speed on the serial port higher than 9600 baud... I'd like to use
> the SE/30 more or less like a headless box, but a 9600 baud limit is a bit
> slow for szing big files back and forth.

The new version of the serial driver will have this feature, though
you'll need a new booter and also to change the line in /etc/ttys. If
you just want to connect at the faster rate, just change the baud rate
in the line in /etc/ttys.  I don't recomend 57600 for serious data
transfer in. 38400 seems ok.

> I'm going to go out as soon as possible to get one or more of the
> recommended books, and I don't intend to flood the list with newbie admin
> questions, but I would like to get this serial console stuff working
> smoothly as soon as I can.

The FAQ, at www.macbsd.org, certainly helps. :-)

Take care,

Bill