From owner-freebsd-stable@FreeBSD.ORG Mon Sep 13 15:10:47 2010 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 D2AD310656AD for ; Mon, 13 Sep 2010 15:10:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A3CF88FC1B for ; Mon, 13 Sep 2010 15:10:47 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 5444C46C08; Mon, 13 Sep 2010 11:10:47 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 54B058A04E; Mon, 13 Sep 2010 11:10:41 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org, freebsd@jdc.parodius.com, Stefan Bethke Date: Mon, 13 Sep 2010 10:24:19 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <201009131249.o8DCnmd4033849@lurza.secnetix.de> In-Reply-To: <201009131249.o8DCnmd4033849@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009131024.19883.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 13 Sep 2010 11:10:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Subject: Re: Serial console problems with stable/8 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, 13 Sep 2010 15:10:47 -0000 On Monday, September 13, 2010 8:49:48 am Oliver Fromme wrote: > Jeremy Chadwick wrote: > > On Mon, Sep 13, 2010 at 09:21:21AM +0200, Oliver Fromme wrote: > > > Jeremy Chadwick wrote: > > > > Is there a PS/2 keyboard hooked up to this machine when you're > > > > attempting to get serial console output? > > > > > > Kind of. It's connected to a local KVM switch. > > > > Does the KVM switch provide power to a PS/2 port which isn't currently > > selected? (E.g. on an A/B/C/D KVM switch, if the FreeBSD box is wired > > to port A, and the KVM switch has port C selected, does port A still get > > power?) Some KVMs do this, others do not. > > Yes, it does. > > Now I get your point ... Yes, -P does probe the keyboard > first. That's probably why I see the boot0/boot2 on the > VGA console, not on the serial port. As far as I know, > /boot.config is read by the boot0/boot2 stage, not by > loader(8). But loader inherits the settings from boot2, so if you set it in /boot.config you do not need to set anything in loader.conf. Also, having boot2 use serial is good in that you can boot loader.old if you ever get a broken /boot/loader. Using '-Dh' in /boot.config is what I do on all the boxes where I use a serial console. > Anyway, I don't care too much for boot0/boot2; I've never > had to interact with them on that machine. The important > thing for me is that loader(8) and the kernel use the > serial port for the console, and that I can login on it > (i.e. there must be a getty running). All of that seemed > to be accomplished with the console="comconsole" entry in > /boot/loader.conf ... At least it worked when I first > installed that machine in September 2000 (yeah, exactly 10 > years ago) with FreeBSD 4.1, then updated it roughly every > two years ... And it stopped working in 8.x. Did you update your hints to rename the 'sio' hints to 'uart'? -- John Baldwin