From owner-freebsd-arch@FreeBSD.ORG Sat Sep 22 19:15:49 2007 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2034D16A41A for ; Sat, 22 Sep 2007 19:15:49 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id DF9BA13C48D for ; Sat, 22 Sep 2007 19:15:48 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6958017104; Sat, 22 Sep 2007 19:15:47 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l8MJFpSa022167; Sat, 22 Sep 2007 19:15:51 GMT (envelope-from phk@critter.freebsd.dk) To: Marcel Moolenaar From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 22 Sep 2007 11:41:15 MST." Date: Sat, 22 Sep 2007 19:15:51 +0000 Message-ID: <22166.1190488551@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: arch@freebsd.org Subject: Re: Replacing/enhancing kernel printf() 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: Sat, 22 Sep 2007 19:15:49 -0000 In message , Marcel Moolenaar wri tes: >>> Are you referring to: >>> http://lists.freebsd.org/mailman/htdig/freebsd-arch/2006-May/ >>> 005224.html > >Let's define "the low-level console" as nothing more than a >switchboard. The reason I didn't go that route, is that the "streams" have vastly different sematics, some are even bidirectional. At the very least you need to think carefully about all of the four distinct phases: Before the kernel runs Kernel until /sbin/init /sbin/init and single user mode Multiuser mode. Lumping them all together is what we have today, which we both recognize as not the way to go. I fully agree that printf(9) is an unholy tangle of all sorts of messages and that it should be possible to sort them, but that is only a small part of the console puzzle, and fixing that should not make the current tangle any worse. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.