Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2011 12:39:31 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Przemyslaw Frasunek <przemyslaw@frasunek.com>
Subject:   Re: Missing serial port after enabling serial console in loader.conf
Message-ID:  <201104151239.31895.jhb@freebsd.org>
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 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



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