From owner-freebsd-stable@FreeBSD.ORG Fri Apr 15 16:42:43 2011 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 C53411065679 for ; Fri, 15 Apr 2011 16:42:43 +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 9C60E8FC17 for ; Fri, 15 Apr 2011 16:42:43 +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 7B2E146BA9; Fri, 15 Apr 2011 12:42:43 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0B2058A02C; Fri, 15 Apr 2011 12:42:43 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 15 Apr 2011 12:39:31 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> In-Reply-To: <4DA4A96F.9000507@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104151239.31895.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 12:42:43 -0400 (EDT) Cc: Przemyslaw Frasunek Subject: Re: Missing serial port after enabling serial console in loader.conf 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: Fri, 15 Apr 2011 16:42:43 -0000 On Tuesday, April 12, 2011 3:35:11 pm Przemyslaw Frasunek wrote: > Hello, > > I'm struggling with enabling serial console on Intel SR1630GP server > platform and FreeBSD 7.4. > > In default configuration, my serial ports are detected correctly: > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > > Both serial ports are usable - sio0 is redirected to BMC and sio1 is a > physical port. I can use getty on both ports. > > If I put following statements in /boot/loader.conf: > > boot_multicons="YES" > boot_serial="YES" > console="comconsole,vidconsole" You should just need the one 'console=' line. I tend to put '-Dh' in /boot.config myself to get the boot2 prompt as well. > I have correct output on serial console from loader and booting kernel, > however after kernel is booted, the port is missing. Dmesg shows, that > only one port is being detected, which formerly was sio1: > > sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on > acpi0 > sio0: type 16550A, console > sio0: [FILTER] > > Thus, I'm unable to run getty. > > I belive that this issue might be related to ACPI, as similar problem > was already reported in http://markmail.org/message/chu6ilwhsxtarkfm > > Is there any solution to this problem? Do you have any hints for sio* in /boot/device.hints? -- John Baldwin