From owner-freebsd-arch@FreeBSD.ORG Tue May 30 17:58:26 2006 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84C9816A7F6 for ; Tue, 30 May 2006 17:58:26 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B8BE43D48 for ; Tue, 30 May 2006 17:58:26 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id k4UHwKb8024825 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 30 May 2006 13:58:20 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id k4UHwE8Q070607; Tue, 30 May 2006 13:58:14 -0400 (EDT) (envelope-from gallatin) Date: Tue, 30 May 2006 13:58:14 -0400 From: Andrew Gallatin To: Poul-Henning Kamp Message-ID: <20060530135814.A70588@grasshopper.cs.duke.edu> References: <16029.1148764704@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16029.1148764704@critter.freebsd.dk>; from phk@phk.freebsd.dk on Sat, May 27, 2006 at 11:18:24PM +0200 X-Operating-System: FreeBSD 4.9-RELEASE-p1 on an i386 Cc: arch@freebsd.org Subject: Re: A sort of plan for consoles in FreeBSD X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 17:59:11 -0000 Poul-Henning Kamp [phk@phk.freebsd.dk] wrote: > I would like to redefine the semantics of "/dev/console" as follows: > > if any console-consumers like xconsole(8) are active > send output to all console-consumers. > else if a controlling terminal is available > send output to controlling terminal (that is /dev/tty) > else > send output to syslogd, as if generated by printf(9). > (but do not actually output to low-level console) If there is nobody logged in, where do kernel messages from device drivers, and panic messages (with helpful things like KDB_TRACE) wind up? I hope the answer is not "nowhere". I have debugged many problems after they happened by looking at serial console logs, and I would hate to loose this. Drew