Solved I lose serial console during bootup.

Something strange happened today. Prior to version 12.3, I would add these lines

Code:
console="comconsole,vidconsole"
comconsole_speed="115200"

to the /boot/loader.conf file and everything would work as expected and I would have both serial and video console to my machine.

Now, after these lines

Code:
Loading /boot/loader.conf.local
/
\
\  ______               ____   _____ _____
  |  ____|             |  _ \ / ____|  __ \
  | |___ _ __ ___  ___ | |_) | (___ | |  | |
  |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
  | |   | | |  __/  __/| |_) |____) | |__| |
  | |   | | |    |    ||     |      |      |
  |_|   |_|  \___|\___||____/|_____/|_____/
                                                 ```                        `
 +---------- Welcome to FreeBSD -----------+    s` `.....---.......--.```   -/
 |                                         |    +o   .--`         /y:`      +.
 |  1. Boot Multi user [Enter]             |     yo`:.            :o      `+-
 |  2. Boot Single user                    |      y/               -/`   -o/
 |  3. Escape to loader prompt             |     .-                  ::/sy+:.
 |  4. Reboot                              |     /                     `--  /
 |  5. Cons: Video                         |    `:                          :`
 |                                         |    `:                          :`
 |  Options:                               |     /                          /
 |  6. Kernel: default/kernel (1 of 1)     |     .-                        -.
 |  7. Boot Options                        |      --                      -.
 |                                         |       `:`                  `:`
 |                                         |         .--             `--.
 +-----------------------------------------+            .---.....----.
   Autoboot in 0 seconds. [Space] to pause

Loading kernel...
/boot/kernel/kernel text=0x1753f04 data=0x140 data=0x7662b0 syms=[0x8+0x188a78+0x8+0x1a5eaf]
Loading configured modules...
/boot/kernel/opensolaris.ko size 0x9860 at 0x2496000
/etc/hostid size=0x25
/boot/kernel/speaker.ko size 0x3568 at 0x24a0000
/boot/kernel/fuse.ko size 0x23c38 at 0x24a4000
/boot/kernel/if_lagg.ko size 0x159d0 at 0x24c8000
loading required module 'if_infiniband'
/boot/kernel/if_infiniband.ko size 0x2238 at 0x24de000
/boot/kernel/zfs.ko size 0x398730 at 0x24e1000
/boot/entropy size=0x1000
/boot/kernel/coretemp.ko size 0x2430 at 0x287b000
Start @ 0xffffffff80381000 ...
EFI framebuffer information:
addr, size     0xd0000000, 0x300000
dimensions     1024 x 768
stride         1024
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000

are printed to the COM console, I lose the console, nothing happens when I press enter.

However, I still have the video console:

Code:
<< BOOT >>
...

Why is this happening? What can I do to fix it?
 
The truth is you really only need one setting.

Code:
boot_multicons="YES"           #<<<< What this does is allow multiple consoles. IE. Screen and Serial Port >>>>#
boot_serial="YES"             #<<<< This is the only line needed. This is the trigger >>>>#
comconsole_speed="115200"       #<<<< This setting is actually the default so it is not needed in most cases >>>>#
console="comconsole,vidconsole"     #<<<< This sets the multi console interfaces for legacy BIOS >>>>#
console="comconsole,efi"         #<<<< This sets the multi console interfaces for EFI BIOS >>>>#
 
My Configuration is

#SERIAL CONSOLE
console="comconsole,vidconsole"
comconsole_port="0x3f8"
comconsole_speed="115200"

Both the monitor and the serial connection work correctly
 
Back
Top