Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2011 13:49:55 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Przemyslaw Frasunek <przemyslaw@frasunek.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Missing serial port after enabling serial console in loader.conf
Message-ID:  <20110412204955.GA31582@icarus.home.lan>
In-Reply-To: <4DA4A96F.9000507@frasunek.com>
References:  <4DA4A96F.9000507@frasunek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110412204955.GA31582>