Feature #214
closedSimultaneuous Serial/Video Console
0%
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.
Updated by Jim Pingle over 15 years ago
/boot.config may also need to contain -D in order for this to work.
Updated by Jim Pingle over 15 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.
Updated by Perry Mason over 15 years ago
On the full installs I've tested I need to change dailup to cons25
Updated by Chris Buechler about 15 years ago
- Tracker changed from Bug to Feature
Updated by Chris Buechler about 15 years ago
- Target version changed from 3 to Future
- Affected Version changed from 2.0 to All
Updated by Jim Pingle about 13 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.
Updated by Chris Buechler about 13 years ago
- Status changed from Feedback to Closed
Updated by Matthew Trent over 11 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)