From owner-freebsd-bugs Wed Oct 27 9:40:54 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0495615565 for ; Wed, 27 Oct 1999 09:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA38162; Wed, 27 Oct 1999 09:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from blazer.marka.net.ua (blazer.marka.net.ua [195.248.171.81]) by hub.freebsd.org (Postfix) with ESMTP id 27B5815532 for ; Wed, 27 Oct 1999 09:37:28 -0700 (PDT) (envelope-from oleg@apholina.marka.net.ua) Received: (from uucp@localhost) by blazer.marka.net.ua (8.9.3/8.9.3) with UUCP id TAA10382 for FreeBSD-gnats-submit@freebsd.org; Wed, 27 Oct 1999 19:37:25 +0300 (EEST) Received: from oleg.Apholina.marka.net.ua (oleg.apholina.com [192.168.100.5]) by apholina.marka.net.ua (8.9.3/8.9.3) with ESMTP id TAA30105 for ; Wed, 27 Oct 1999 19:35:37 +0300 Received: (from oleg@localhost) by oleg.Apholina.marka.net.ua (8.9.3/8.9.3) id TAA00721; Wed, 27 Oct 1999 19:35:05 +0300 (EEST) (envelope-from oleg) Message-Id: <199910271635.TAA00721@oleg.Apholina.marka.net.ua> Date: Wed, 27 Oct 1999 19:35:05 +0300 (EEST) From: oleg@apholina.marka.net.ua Reply-To: oleg@reis.zp.ua To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/14558: Incorrect behaviour allscreens section in rc.i386 under certain circumstantions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14558 >Category: i386 >Synopsis: Incorrect behaviour allscreens section in rc.i386 under certain circumstantions >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: Wed Oct 27 09:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Oleg V. Naumann >Release: FreeBSD 3.3-STABLE i386 >Organization: Apholina >Environment: oleg@oleg~>uname -a FreeBSD oleg.Apholina.marka.net.ua 3.3-STABLE FreeBSD 3.3-STABLE #131: Wed Oct 27 10:50:01 EEST 1999 root@oleg.Apholina.marka.net.ua:/usr/src/sys/compile/OLEG i386 >Description: allscreens in rc.i386 have incorrect behaviour, if: 1. value for MAXCONS options in kernel configuration file lower than number of /dev/ttyv* files 2. allscreens in /etc/rc.conf are enabled: allscreens_flags="-m on", for example On such circumstantions you will get .... rc.i386 configuring syscons: keymap keychange cursor screen_map font8x16 blank_time moused allscreens cannot open /dev/ttyv7: no such device or address .... after reboot or 3. enabled ttyv*-s number in /etc/ttys lower than MAXCONS or /dev/ttyv* files number >How-To-Repeat: Set 'allscreens_flags="-m on"' in /etc/rc.conf Set MAXCONS=6 in /usr/src/sys/i386/conf/YOUR_KERNEL config YOUR_KERNEL cd ../../compile/YOUR_KERNEL make depend make all make install fastboot ... rc.i386 configuring syscons: keymap keychange cursor screen_map font8x16 blank_time moused allscreens cannot open /dev/ttyv7: no such device or address ..... >Fix: May be, this patch not solve all problems in this situation? I dont now how to retrieve avalaible virtual consoles number from kernel for correct patch :-( # diff -crN rc.i386 rc.i386.original *** rc.i386 Wed Oct 27 15:28:11 1999 --- rc.i386.original Thu Sep 16 14:40:10 1999 *************** *** 114,122 **** # set this mode for all virtual screens if [ "X${allscreens_flags}" != X"" ] ; then echo -n ' allscreens' ! for ttyv in `grep ^ttyv /etc/ttys | cut -f 1` do ! vidcontrol Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message