Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2012 11:58:31 -0400 (EDT)
From:      Vick Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/169544: serial port console documentation changes
Message-ID:  <20120629155831.EE1068A00B@yertle.kcilink.com>
Resent-Message-ID: <201206291610.q5TGACKo079549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169544
>Category:       docs
>Synopsis:       serial port console documentation changes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 29 16:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Vick Khera
>Release:        FreeBSD 8.2-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kcilink.com 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #0: Wed Jan 11 13:05:38 EST 2012 khera@yertle.int.kcilink.com:/u/yertle1/sources/usr8/obj.amd64/u/yertle1/sources/usr8/src/sys/KCI64 amd64


	
>Description:
	

In the handbook section 27.6.5.2 for using serial port other than sio0 for
console, it says recompiing the kernel is mandatory. This does not seem to be
necessary with FreeBSD 8.1 and above.

>How-To-Repeat:
	
>Fix:

	

I have tested this on a FreeBSD 8.1 system (specifically the pfSense 2.0.1
distribution) and a Supermicro motherboard redirecting the console to the
serial over lan port.

The BIOS has a "redirect console to serial port" option, which seems to take
care of redirecting the boot block and boot loader output to the serial port.

To make the kernel send output to COM3, which is the SOL port on the
Supermicro motherboard, simply add these lines to /boot/loader.conf:

hint.uart.2.at="isa"
hint.uart.2.port="0x3E8"
hint.uart.2.flags="0x10"
hint.uart.0.flags="0x00"

Use these along with any other settings you have to turn on the serial console
in loader.conf or boot.config.

There is no need to recompile anything with this configuration.


>Release-Note:
>Audit-Trail:
>Unformatted:



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