From owner-freebsd-current Tue Mar 12 15:39:40 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA01912 for current-outgoing; Tue, 12 Mar 1996 15:39:40 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA01894 for ; Tue, 12 Mar 1996 15:39:33 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id PAA14481; Tue, 12 Mar 1996 15:39:09 -0800 From: "Rodney W. Grimes" Message-Id: <199603122339.PAA14481@GndRsh.aac.dev.com> Subject: Re: COMCONSOLE: a patch and a problem To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 12 Mar 1996 15:39:08 -0800 (PST) Cc: freebsd-current@FreeBSD.org In-Reply-To: <199603122216.XAA05836@uriah.heep.sax.de> from "J Wunsch" at Mar 12, 96 11:16:27 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > As Douglas Ambrisko wrote: > > > I'll also take a look at syscons and see why it should > > be different. > > syscons uses a different tty structure for the console than for VT1. > > > I'll try to put my patches together this weekend, I'm pretty tied up this > > week. I also want to take a look at the kernel to see if I can save > > the last boot mode. This way you can boot -h to get the serial port and -g > > to get the graphics console and the kernel would remember that for the > > next boot. > > By now, -h is a toggle (btw.). > > Most people would hesitate if you always write back the boot block, > just to store a single bit in it. Well, van Gilluwe reports bit 2 of > the so-called ``equipment byte'' in the CMOS (offset 0x14) as > `unused'. Perhaps we could use it to store the serial console flag > there? :) Absolutely not. Storing stuff in the CMOS by an OS is a nasty and very risky thing to do. It may be unused today, but that is the BIOS writters land, and playing in that land is asking for problems down the road. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD