From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 14:47:53 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DBB916A418 for ; Mon, 19 Nov 2007 14:47:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6235513C4B8 for ; Mon, 19 Nov 2007 14:47:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 251151CC07B; Mon, 19 Nov 2007 06:47:25 -0800 (PST) Date: Mon, 19 Nov 2007 06:47:25 -0800 From: Jeremy Chadwick To: Dmitry Karasik Message-ID: <20071119144725.GA38145@eos.sc1.parodius.com> References: <20071118190159.GA12962@tetsuo.karasik.eu.org> <20071118193719.GB11901@eos.sc1.parodius.com> <84mytatzha.fsf@tetsuo.karasik.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84mytatzha.fsf@tetsuo.karasik.eu.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: No kernel messages displayed during boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 14:47:53 -0000 On Mon, Nov 19, 2007 at 09:24:01AM +0100, Dmitry Karasik wrote: > Jeremy> On Sun, Nov 18, 2007 at 08:01:59PM +0100, Dmitry Karasik wrote: > >> I've re-run 'make installworld' and 'make installkernel' (as I had > >> leftovers from recent buildworld), - didn't help. I've tried to power > >> down the machine (suspecied video card trouble), I've resetted BIOS, > >> I've even disabled com port in BIOS (because the behavior looks like > >> booting on serial console) -- nothing, absolutely nothing changes it. > > Jeremy> conscontrol(8) might help here ("conscontrol list"). Also worth > Jeremy> looking at is sysctl kern.console. > > Hello Jeremy, > > Thanks, at least this is a hint. That shows on my system: > > $ conscontrol list > Configured: > Available: > Muting: off Hmm, it looks as if the system doesn't have any indication of what the local console is. I would expect to see a "consolectl" listed under the "Configured:" section. See below for some of the output from our systems... > and sysctl kern.console is / (not that I know what that means). I believe the sysctl is a comma-delimited list of what consoles are configured and available/unused. The "/" splits what's a configured console and what's available/unused. I bet conscontrol(8) just parses the sysctl output, but I'd have to look at the code. > $ conscontrol add /dev/console > conscontrol: could not add console as a console: Device not configured > $ conscontrol add /dev/consolectl > conscontrol: could not add consolectl as a console: Device not configured > > Is that the expected behavior? What else I might try? I'm betting that's not expected behaviour. :-) It seems to indicate the system has no knowledge of what the system console is. Here's some data for comparison: Our RELENG_6 systems which use serial console, and have a /boot.config of -S115200 -Dh on them show the following: eos# conscontrol list Configured: ttyd0,consolectl Available: ttyd0,consolectl Muting: off eos# sysctl kern.console kern.console: ttyd0,consolectl,/ttyd0,consolectl, And a RELENG_7 box with serial console (same /boot.config as above): northstar# conscontrol list Configured: ttyd0,consolectl,gdb Available: consolectl,gdb,ttyd0 Muting: off northstar# sysctl kern.console kern.console: ttyd0,consolectl,gdb,/consolectl,gdb,ttyd0, A RELENG_7 box with no serial console (no /boot.config): icarus# conscontrol list Configured: consolectl Available: consolectl,gdb,ttyd0 Muting: off icarus# sysctl kern.console kern.console: consolectl,/consolectl,gdb,ttyd0, -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |