From khera@kcilink.com  Fri Jun 29 16:04:35 2012
Return-Path: <khera@kcilink.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5D198106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Jun 2012 16:04:35 +0000 (UTC)
	(envelope-from khera@kcilink.com)
Received: from yertle.kcilink.com (yertle-comcast.kcilink.com [74.92.149.58])
	by mx1.freebsd.org (Postfix) with ESMTP id 340E98FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Jun 2012 16:04:34 +0000 (UTC)
Received: by yertle.kcilink.com (Postfix, from userid 1002)
	id EE1068A00B; Fri, 29 Jun 2012 11:58:31 -0400 (EDT)
Message-Id: <20120629155831.EE1068A00B@yertle.kcilink.com>
Date: Fri, 29 Jun 2012 11:58:31 -0400 (EDT)
From: Vick Khera <vivek@khera.org>
Reply-To: Vick Khera <vivek@khera.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: serial port console documentation changes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         169544
>Category:       docs
>Synopsis:       serial port console documentation changes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 29 16:10:12 UTC 2012
>Closed-Date:    Thu May 08 16:11:56 UTC 2014
>Last-Modified:  Thu May 08 16:11:56 UTC 2014
>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:
Responsible-Changed-From-To: freebsd-doc->dru 
Responsible-Changed-By: dru 
Responsible-Changed-When: Thu May 8 16:11:08 UTC 2014 
Responsible-Changed-Why:  
I'll take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169544 
State-Changed-From-To: open->closed 
State-Changed-By: dru 
State-Changed-When: Thu May 8 16:11:26 UTC 2014 
State-Changed-Why:  
Addressed in r44793. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169544 
>Unformatted:
