From owner-freebsd-hackers Sun Jan 26 03:24:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA02480 for hackers-outgoing; Sun, 26 Jan 1997 03:24:43 -0800 (PST) Received: from ravenock.cybercity.dk (ravenock.cybercity.dk [194.16.57.32]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA02472 for ; Sun, 26 Jan 1997 03:24:37 -0800 (PST) Received: (from sos@localhost) by ravenock.cybercity.dk (8.8.4/8.7.3) id MAA05236; Sun, 26 Jan 1997 12:25:55 +0100 (MET) From: Søren Schmidt Message-Id: <199701261125.MAA05236@ravenock.cybercity.dk> Subject: Re: suggestion for kernel printk() ? In-Reply-To: <199701260959.UAA25500@godzilla.zeta.org.au> from Bruce Evans at "Jan 26, 97 08:59:33 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sun, 26 Jan 1997 12:25:46 +0100 (MET) Cc: bde@zeta.org.au, dgy@rtd.com, freebsd-hackers@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Bruce Evans who wrote: > >> Yes, it would steal characters from the foreground console unless the > >> keyboard is dedicated to low-level console input. > > > >I guess a single character pushback isn't supported at that level? > >--don > > Right. The low level console driver is very primitive. It does no > buffering. Doing anything in it would have reentrancy problems, since > it may be called from interrupt handlers. BTW, there _are_ reentrancy > problems in the syscons and pcvt output routines. Don't use /dev/ttyv0 > in syscons if you want the system to stay up forever. Erhm, why ?? I've not seen any problems and ttyv0 is the only tty I use on my WS (its used almost only under X otherwise) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..