From owner-freebsd-questions@FreeBSD.ORG Mon Nov 9 16:52:33 2009 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 9405B1065679 for ; Mon, 9 Nov 2009 16:52:33 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 6D44E8FC0A for ; Mon, 9 Nov 2009 16:52:33 +0000 (UTC) Received: (qmail 22232 invoked from network); 9 Nov 2009 16:52:32 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Nov 2009 16:52:31 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 17C8B50888; Mon, 9 Nov 2009 11:52:31 -0500 (EST) From: Lowell Gilbert To: Sven Hazejager References: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> Date: Mon, 09 Nov 2009 11:52:30 -0500 In-Reply-To: <8ffccde70911081027m19784be4ve4e33f150a9caa5b@mail.gmail.com> (Sven Hazejager's message of "Sun, 8 Nov 2009 19:27:59 +0100") Message-ID: <44y6mftzch.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: 7.2-p4 serial console not showing kernel messages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 16:52:33 -0000 Sven Hazejager writes: > I'm having trouble getting 7.2-p4 to run. I'm using nanoBSD, either > under VMware using a virtual serial null-modem or on an Alix > Soekris-like serial-only CF-based device, both show this problem: my > serial console does not display kernel messages, they all go to the > VGA console! > > I'm using the nanoBSD cust_comsole function to enable the console. > Relevant files are shown here: > > /boot.config: > -h -S57600 > > /etc/ttys, only one line is "on": > ttyd0 "/usr/libexec/getty std.57600" xterm on secure > > These are still in my kernel conf, if I remove these I get no kernel > messages at all (kernel boots fine with this though): > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device kbdmux # keyboard multiplexer > device vga # VGA video card driver > > I have also tried to set this in the loader, no luck: > hint.sio.0.flags="0x30" > > On the serial console, I see the boot manager (boot0) and the loader > just fine. "show" in the loader says "console=comconsole" so that > seems to be fine. However all kernel output goes to the VGA console. I > *do* get a login prompt after a while on the serial console though. > > If I boot the same kernel over PXE on the ALIX, the kernel messages > *do* go to the serial console... > > What am I overlooking? Checking the obvious: syslog.conf is configured to send the messages to the console? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/