Subject: Re: default built kernels and com4
To: Greg Cronau <uunet!edi.com!gregc@uunet.UU.NET>
From: Herb Peyerl <Herb.Peyerl@sidney.novatel.ca>
List: current-users
Date: 04/14/1994 12:18:17
I've been trying to get pcvt to work with more than one virtual console 
(so that I might run X on several of them but that's another story).  I'm
running 04/12/93 sources and I've tried various things.

If I just set /dev/vga as my console device; everything seems to sort of
work (except that if I'm in X, hitting the <tab> key shifts the entire screen
to the left by about 1/3.  Hitting it continuously repeats the action.  It's kind
of funky actually but not cosmetically appealing.

Anyways; I've tried various combinations of enabling and disabling
things in /etc/ttys and have been unable to get any of the VT's to work.
In fact; when booting at the stage where one would expect getty to be launched;
I get a vm_fault and the machine reboots. I have DDB linked in to the kernel
but it doesn't stop at ddb>.

Here's the top of my /etc/ttys file:

console "/usr/libexec/getty Pc"         pc3     off  secure
vga     "/usr/libexec/getty Pc"         pc3     on  secure
com0    "/usr/libexec/getty std.19200"  dialup  off
tty00   "/usr/libexec/getty std.9600"   dialup  off  secure
tty01   "/usr/libexec/getty std.9600"   dialup  off  secure
ttyv0   "/usr/libexec/getty console"    vt220 off secure
ttyv1   "/usr/libexec/getty console"    vt220 off secure
ttyv2   "/usr/libexec/getty console"    vt220 off secure
ttyv3   "/usr/libexec/getty console"    vt220 off secure
ttyv4   "/usr/libexec/getty console"    vt220 off secure
ttyv5   "/usr/libexec/getty console"    vt220 off secure
ttyv6   "/usr/libexec/getty console"    vt220 off secure
ttyv7   "/usr/libexec/getty console"    vt220 off secure
ttyv8   "/usr/libexec/getty console"    vt220 off secure
ttyv9   "/usr/libexec/getty console"    vt220 off secure
ttyv10  "/usr/libexec/getty console"    vt220 off secure
ttyv11  "/usr/libexec/getty console"    vt220 off secure
ttyv12  "/usr/libexec/getty console"    vt220 off secure

I've tried disabling/enabling "vga", "ttyv0", "console", "ttyv1" in various
combinations that seemed to make sense to me but the above configuration is
the only configuration that will actually let me log in.

Here's my /dev entries:

crw-------  1 hpeyerl  tty     12,   0 Apr 14 10:33 /dev/ttyv0
crw-------  1 root     wheel   12,   1 Apr 14 10:44 /dev/ttyv1
crw-r--r--  1 root     wheel   12,  10 Apr 14 10:21 /dev/ttyv10
crw-r--r--  1 root     wheel   12,  11 Apr 14 10:21 /dev/ttyv11
crw-r--r--  1 root     wheel   12,  12 Apr 14 10:21 /dev/ttyv12
crw-------  1 root     wheel   12,   2 Apr 14 10:33 /dev/ttyv2
crw-------  1 root     wheel   12,   3 Apr 14 10:33 /dev/ttyv3
crw-------  1 root     wheel   12,   4 Apr 14 10:33 /dev/ttyv4
crw-------  1 root     wheel   12,   5 Apr 14 10:33 /dev/ttyv5
crw-r--r--  1 root     wheel   12,   6 Apr 14 10:21 /dev/ttyv6
crw-r--r--  1 root     wheel   12,   7 Apr 14 10:21 /dev/ttyv7
crw-r--r--  1 root     wheel   12,   8 Apr 14 10:21 /dev/ttyv8
crw-r--r--  1 root     wheel   12,   9 Apr 14 10:21 /dev/ttyv9

Am I just hopelessly misguided or has anyone else actually tried
this and gotten it working?

I haven't had a chance to actually take a full blown stab at finding
the problem so I turn to the mailing list for clues.

H.

------------------------------------------------------------------------------