Date: Wed, 6 Mar 2002 05:14:46 +0100 (CET) From: Joel Wilsson <siigron@sii.unixsweden.net> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/35577: vt driver doesn't compile Message-ID: <20020306041446.EAB0114BAE@sii.unixsweden.net>
next in thread | raw e-mail | index | archive | help
>Number: 35577
>Category: kern
>Synopsis: vt driver doesn't compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 05 20:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Joel Wilsson
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
none
>Environment:
FreeBSD-CURRENT as of today (Wed Mar 6 2002)
>Description:
1) pcvt_ext.c doesn't compile without options XSERVER
2) sc and vt are, afaict, mutually exclusive. i think this should
be mentioned in NOTES.
>How-To-Repeat:
use a kernel config with:
device sc 1
device vt
and without options XSERVER. try to compile it, watch the
compilation fail, fix the problem by removing the bogus proto-
type, compile, boot.
both sc and pcvt try to create /dev/ttyv0, so pcvt will cause
a panic when it tries to create an already existing device node.
>Fix:
*** sys/i386/isa/pcvt/pcvt_ext.c Wed Feb 27 19:32:10 2002
--- /root/pcvt_ext.c Wed Mar 6 04:56:48 2002
***************
*** 59,65 ****
static int v7_1024i_col( int );
static int s3_928_col( int );
static int cl_gd542x_col( int );
- static void fallback_to_auto(struct video_state *vsx);
/* storage to save video timing values of 80 columns text mode */
static union {
--- 59,64 ----
*** sys/i386/conf/NOTES Mon Mar 4 22:35:02 2002
--- /root/NOTES Wed Mar 6 05:10:26 2002
***************
*** 1262,1267 ****
--- 1262,1270 ----
device star_saver
device warp_saver
+ # Note that you can only have one console driver.
+ # Do not compile a kernel with support for both "vt" and "sc".
+
# The pcvt console driver (vt220 compatible).
device vt
hint.vt.0.at="isa"
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306041446.EAB0114BAE>
