Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 18:47:31 +0100
From:      Thierry Herbelot <thierry.herbelot@laposte.net>
To:        Jeremy Chadwick <koitsu@freebsd.org>
Cc:        hackers@freebsd.org, current ML <current@freebsd.org>
Subject:   Re: strange behaviour with /sbin/init and serial console
Message-ID:  <200810311847.31723.thierry.herbelot@laposte.net>
In-Reply-To: <20081031173224.GA37636@icarus.home.lan>
References:  <200810311746.23743.thierry.herbelot@free.fr> <20081031173224.GA37636@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810311847.31723.thierry.herbelot>