From owner-freebsd-current@FreeBSD.ORG Fri Sep 23 14:57:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A18C16A41F for ; Fri, 23 Sep 2005 14:57:26 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C937543D49 for ; Fri, 23 Sep 2005 14:57:25 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EIoyW-0004dV-2H for freebsd-current@freebsd.org; Fri, 23 Sep 2005 16:56:32 +0200 Received: from mulder.f5.com ([205.229.151.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Sep 2005 16:56:32 +0200 Received: from atkin901 by mulder.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Sep 2005 16:56:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: othermark Date: Fri, 23 Sep 2005 07:54:53 -0700 Lines: 41 Message-ID: References: <200509230336.aa89488@nowhere.iedowse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulder.f5.com User-Agent: KNode/0.9.2 Sender: news Subject: Re: serial ttys broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 14:57:26 -0000 Ian Dowse wrote: > In message , othermark writes: >>I probably should have piped up on -current, but yes, serial console is >>'different' after the recent changes went into the boot loader. >> >>-P in /boot.config and the following in /etc/make.conf >> >>BOOT_COMCONSOLE_PORT=0x3F8 >>BOOT_COMCONSOLE_SPEED=115200 >> >>used to be enough for my boxes to work, but now (of course, only after a >>installworld for the bootloader) the following in /boot/loader.conf >> >>console=comconsole >>comconsole_speed=115200 >> >>seems to be required for serial console to work. > > Does reinstalling boot2 help (e.g. disklabel -B ad0s1)? Previously > both boot2 and loader would independently pick up the > BOOT_COMCONSOLE_SPEED setting and apply it, but after the recent changes > the loader will use the setting from boot2 if a serial console has been > selected (-h or -P). Yes! That works! I had even tried re-doing boot0cfg before, but that, obviously isn't the answer. > What wasn't working without the above loader.conf lines BTW? Was > it just the speed that was wrong, or did the kernel not use a > serial console at all? no output whatsoever, it would appear to go the video console if you hooked up the cables. This was the case with all my hardware. The first reboot would be fine into single user for make installworld, but after installworld, rebooting resulted in the loss of the console.. That is until I added the /boot/loader.conf entries. -- othermark atkin901 at nospam dot yahoo dot com (!wired)?(coffee++):(wired);