From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 18:19:40 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C04106564A; Fri, 31 Oct 2008 18:19:40 +0000 (UTC) (envelope-from thierry.herbelot@laposte.net) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 302C98FC12; Fri, 31 Oct 2008 18:19:40 +0000 (UTC) (envelope-from thierry.herbelot@laposte.net) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by postfix2-g20.free.fr (Postfix) with ESMTP id 770AF2C4341A; Fri, 31 Oct 2008 16:47:27 +0100 (CET) Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 1224632AA42; Fri, 31 Oct 2008 18:47:40 +0100 (CET) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp8-g19.free.fr (Postfix) with ESMTP id CA1B332A997; Fri, 31 Oct 2008 18:47:39 +0100 (CET) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id m9VHlcj0020061; Fri, 31 Oct 2008 18:47:38 +0100 (CET) From: Thierry Herbelot To: Jeremy Chadwick Date: Fri, 31 Oct 2008 18:47:31 +0100 User-Agent: KMail/1.9.10 References: <200810311746.23743.thierry.herbelot@free.fr> <20081031173224.GA37636@icarus.home.lan> In-Reply-To: <20081031173224.GA37636@icarus.home.lan> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200810311847.31723.thierry.herbelot@laposte.net> X-Mailman-Approved-At: Fri, 31 Oct 2008 19:18:53 +0000 Cc: hackers@freebsd.org, current ML Subject: Re: strange behaviour with /sbin/init and serial console X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 18:19:40 -0000 Le Friday 31 October 2008, Jeremy Chadwick a écrit : > On Fri, Oct 31, 2008 at 05:46:23PM +0100, Thierry Herbelot wrote: > > with the following patch on /sbin/init, I have two different behaviours > > depending on the console type (on a i386/32 PC) : > > - on a video console, I see the expected two messages, > > - on a serial console, the messages are not displayed (init silently > > finishes its job and gets to start /etc/rc and everything) > > I thought this was normal behaviour on FreeBSD, but it's very likely I'm > misunderstanding. The charts in Section 27.6.4 describe what "level" of > logging is shown where and at what stage, depending upon which boot > flags and device settings you use: > > http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html Hello, I had not taken the time to read this link as thouroughly as should have been. nevertheless, I think the config is right, as the serial console is selected with "-h" in /boot.config (from memory, the machine is at work ...) and all *other* expected messages from the kernel ("dmesg") and the rc scripts are correctly displayed on respectively the serial and video console. what struck me is that, from all the startup messages, just the messages from /sbin/init are displayed only on the video console TfH