From owner-freebsd-bugs Tue Mar 5 20:20: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C0EA337B41A for ; Tue, 5 Mar 2002 20:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g264K1748480; Tue, 5 Mar 2002 20:20:01 -0800 (PST) (envelope-from gnats) Received: from sii.unixsweden.net (h51n2fls32o867.telia.com [217.208.37.51]) by hub.freebsd.org (Postfix) with ESMTP id 332F937B400 for ; Tue, 5 Mar 2002 20:13:36 -0800 (PST) Received: by sii.unixsweden.net (Postfix, from userid 1001) id EAB0114BAE; Wed, 6 Mar 2002 05:14:46 +0100 (CET) Message-Id: <20020306041446.EAB0114BAE@sii.unixsweden.net> Date: Wed, 6 Mar 2002 05:14:46 +0100 (CET) From: Joel Wilsson Reply-To: Joel Wilsson To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/35577: vt driver doesn't compile Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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