Project

General

Profile

Actions

Feature #214

closed

Simultaneuous Serial/Video Console

Added by Jim Pingle over 14 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
-
Start date:
12/08/2009
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

FreeBSD is capable of using both serial and video consoles at the same time. It seems like a good idea to enable this rather than making users choose.

To do this in FreeBSD, just stick this into /boot/loader.conf :

boot_multicons="YES" 
boot_serial="YES" 
console="vidconsole,comconsole" 

Whichever console is primary should be first in that list, so perhaps when the serial console is "enabled" it could just make serial the primary instead of video.

Actions #1

Updated by Jim Pingle over 14 years ago

/boot.config may also need to contain -D in order for this to work.

Actions #2

Updated by Jim Pingle over 14 years ago

I just tried this out. I only needed the /boot/loader.conf changes in the original text of the ticket, not the boot.config change. Also needed to set the serial port console to "on" in /etc/ttys.

Kernel boot messages go to both serial and video, PHP/RC script messages go to whichever console is primary (listed first in the console= line). When bootup is complete video and serial consoles both get a menu.

Actions #3

Updated by Perry Mason over 14 years ago

On the full installs I've tested I need to change dailup to cons25

Actions #4

Updated by Chris Buechler about 14 years ago

  • Tracker changed from Bug to Feature
Actions #5

Updated by Chris Buechler about 14 years ago

  • Target version changed from 3 to Future
  • Affected Version changed from 2.0 to All
Actions #6

Updated by Jim Pingle about 12 years ago

  • Status changed from New to Feedback

This should be working on 2.x, when the serial console is enabled it also leaves the VGA console active these days. You can login on both, but the system boot/log messages are only sent to the 'primary' console.

Actions #7

Updated by Chris Buechler about 12 years ago

  • Status changed from Feedback to Closed
Actions #8

Updated by Matthew Trent over 10 years ago

In my scenario, I want VGA and serial, but I want VGA to be primary. Otherwise much of the post-init boot messages are lost on the infrequently-used serial console. Is there any way a toggle could be added to select a primary console?

(changing console="vidconsole,comconsole" to console="comconsole,vidconsole" gives me the behavior I'm looking for)

Actions #9

Updated by Chris Buechler almost 8 years ago

  • Target version deleted (Future)
Actions

Also available in: Atom PDF