From owner-freebsd-stable@FreeBSD.ORG Tue Apr 12 20:49:59 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 19A451065670 for ; Tue, 12 Apr 2011 20:49:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id BA4508FC0A for ; Tue, 12 Apr 2011 20:49:57 +0000 (UTC) Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta13.westchester.pa.mail.comcast.net with comcast id WkaV1g0020SCNGk5DkpxFi; Tue, 12 Apr 2011 20:49:57 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta09.westchester.pa.mail.comcast.net with comcast id Wkpw1g01D1t3BNj3Vkpw8r; Tue, 12 Apr 2011 20:49:57 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0E7B99B422; Tue, 12 Apr 2011 13:49:55 -0700 (PDT) Date: Tue, 12 Apr 2011 13:49:55 -0700 From: Jeremy Chadwick To: Przemyslaw Frasunek Message-ID: <20110412204955.GA31582@icarus.home.lan> References: <4DA4A96F.9000507@frasunek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA4A96F.9000507@frasunek.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org 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: Tue, 12 Apr 2011 20:49:59 -0000 On Tue, Apr 12, 2011 at 09:35:11PM +0200, 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" > > 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? Does the same problem happen on an 8.x branch? sio(4) was deprecated on 8.x with the default becoming uart(4), which "plays nicer" with ACPI. You should be able to download a LiveFS CD image and enter the above 3 commands at the loader prompt manually before doing "boot" to see if it exhibits the same behaviour. P.S. -- What's "BMC" stand for? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |