From owner-freebsd-stable@FreeBSD.ORG Sun Nov 18 19:58:51 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 CF7BA16A421 for ; Sun, 18 Nov 2007 19:58:51 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8F82013C474 for ; Sun, 18 Nov 2007 19:58:51 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id F0314A2166C for ; Sun, 18 Nov 2007 21:58:39 +0200 (EET) X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from [192.168.2.100] (pc131.host50.starman.ee [62.65.242.131]) by mx1.starman.ee (Postfix) with ESMTP id 363393F404E for ; Sun, 18 Nov 2007 21:58:39 +0200 (EET) From: Andrei Kolu To: freebsd-stable@freebsd.org Date: Sun, 18 Nov 2007 21:58:38 +0200 User-Agent: KMail/1.9.7 References: <20071118190159.GA12962@tetsuo.karasik.eu.org> In-Reply-To: <20071118190159.GA12962@tetsuo.karasik.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711182158.39392.antik@bsd.ee> 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: Sun, 18 Nov 2007 19:58:51 -0000 Sunday 18 November 2007 21:01:59 kirjutas Dmitry Karasik: > 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? look at /boot/loader.conf #boot_mute="-m" # -m: Mute the console to suppress all console input and output during the boot.