From owner-freebsd-doc@FreeBSD.ORG Fri Jun 29 16:10:13 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E722106564A for ; Fri, 29 Jun 2012 16:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C4C2A8FC1C for ; Fri, 29 Jun 2012 16:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5TGAChZ079551 for ; Fri, 29 Jun 2012 16:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5TGACKo079549; Fri, 29 Jun 2012 16:10:12 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jun 2012 16:10:12 GMT Resent-Message-Id: <201206291610.q5TGACKo079549@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vick Khera Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D198106566B for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/169544: serial port console documentation changes X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vick Khera List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 16:10:13 -0000 >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: