Bug 169544

Summary: serial port console documentation changes
Product: Documentation Reporter: Vick Khera <vivek>
Component: Books & ArticlesAssignee: Dru Lavigne <dru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vick Khera 2012-06-29 17:10:12 UTC
	

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.

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.
Comment 1 Dru Lavigne freebsd_committer freebsd_triage 2014-05-08 17:11:08 UTC
Responsible Changed
From-To: freebsd-doc->dru

I'll take
Comment 2 Dru Lavigne freebsd_committer freebsd_triage 2014-05-08 17:11:26 UTC
State Changed
From-To: open->closed

Addressed in r44793.