Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 1998 11:26:06 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Richard Stanaford <richard@cube3.erinet.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: XFree86 requests a missing /dev/ttyv4??
Message-ID:  <19980406112606.43641@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.980405144528.20560A-100000@cube3.erinet.com>; from Richard Stanaford on Sun, Apr 05, 1998 at 02:58:47PM -0400
References:  <Pine.BSF.3.96.980405144528.20560A-100000@cube3.erinet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun,  5 April 1998 at 14:58:47 -0400, Richard Stanaford wrote:
>
>   Hey all!  Having a blast with FreeBSD.  I got so fed up with Microsoft I
> decided to turn my desktop machine at work in to an X workstation.  So I
> got FreeBSD 2.2.6-RELEASE and I am dual booting with Win95 for those poor
> souls who might need to use my machine while I am not there.  :-)  The
> installation went without a hitch and I set to getting X up and running,
> doing the best I can with a Trident 9750 AGP card.  *Sigh* That is another
> story.. :-/
>   I get XFree86 configured and tried 'startx' and it screamed and yelled
> about not being able to find /dev/ttyv4.  Humm.. well, I just used 'mknod'
> to create it and it made X happy, no big deal.  I was just wondering if
> any of you out there have run in to the same thing, or was this isolated
> to me, possibly something I missed in the setup?

This probably relates to your /etc/ttys file, which usually contains:

ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure
# Virtual terminals
ttyv1	"/usr/libexec/getty Pc"		cons25	on secure
ttyv2	"/usr/libexec/getty Pc"		cons25	on secure
ttyv3	"/usr/libexec/getty Pc"		cons25	off secure

I'm guessing that you've turned ttyv3 from 'off' to 'on'.  X needs one
to run the display in, so it will then go looking for ttyv4.  The
GENERIC kernel has 12 virtual terminals, but only four device nodes.
I've entered a PR.  In the meantime, you can fix it by running

  # cd /dev
  # ./MAKEDEV vty

Greg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980406112606.43641>