Missing serial port after enabling serial console in loader.conf
John Baldwin
jhb at freebsd.org
Fri Apr 15 16:42:43 UTC 2011
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
More information about the freebsd-stable
mailing list