From owner-freebsd-questions@FreeBSD.ORG Fri Nov 16 18:19:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E4E016A418 for ; Fri, 16 Nov 2007 18:19:55 +0000 (UTC) (envelope-from dk@tetsuo.karasik.eu.org) Received: from tetsuo.karasik.eu.org (tetsuo.karasik.eu.org [129.142.67.14]) by mx1.freebsd.org (Postfix) with ESMTP id CF43A13C459 for ; Fri, 16 Nov 2007 18:19:54 +0000 (UTC) (envelope-from dk@tetsuo.karasik.eu.org) Received: by tetsuo.karasik.eu.org (Postfix, from userid 1003) id 6B57C616638; Fri, 16 Nov 2007 19:02:01 +0100 (CET) Mime-version: 1.0 Content-type: text/plain; charset="koi8-r" Content-transfer-encoding: 8bit Keywords: 2001334874 Sender: dk@tetsuo.karasik.eu.org To: freebsd-questions@freebsd.org From: Dmitry Karasik Date: 16 Nov 2007 19:02:01 +0100 Message-ID: <84y7cyqdba.fsf@tetsuo.karasik.eu.org> Lines: 35 X-Mailer: Gnus v5.7/Emacs 20.7 Subject: No kernel messages displayed during boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 18:19:55 -0000 Hello, My 6.2-STABLE crashed today, and when I rebooted it, a very strange effect appeared: from the second the kernel took over, immediately after loading all .ko files, no text was printed in the console. The system booted though, and the next text was printed to the console was the login prompt. The screen didn't went blank, just all kernel messages and output of /etc/rc* wasn't there -- all was printed on the screen was FreeBSD boot menu, and login prompt. 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. When I tried to boot in single-user mode, the prompt was never displayed at all, which fact indeed makes me think alogn the path of the wrong boot console. I've removed /boot/loader.conf, and double-checked that /boot.config isn't present - didn't help. My question is therefore, what cause of this effect might be? Or, if noone would be able to answer this, how I would print messages from kernel (I'd recompile it for that purpose) to identify which device it picked up for console IO -- and especially, how I print that either to a file, or directly to /dev/console? -- Thank you, Dmitry Karasik