Date: Wed, 27 Oct 1999 19:35:05 +0300 (EEST) From: oleg@apholina.marka.net.ua To: FreeBSD-gnats-submit@freebsd.org Subject: i386/14558: Incorrect behaviour allscreens section in rc.i386 under certain circumstantions Message-ID: <199910271635.TAA00721@oleg.Apholina.marka.net.ua>
next in thread | raw e-mail | index | archive | help
>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 </dev/$ttyv ${allscreens_flags} done fi echo '.' --- 114,122 ---- # set this mode for all virtual screens if [ "X${allscreens_flags}" != X"" ] ; then echo -n ' allscreens' ! for ttyv in /dev/ttyv* do ! vidcontrol <$ttyv ${allscreens_flags} done fi echo '.' >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?199910271635.TAA00721>