|Priority:||4 - Normal|
|Created by:||Brian Bennett|
|Reported by:||Brian Bennett|
|Assigned to:||Brian Bennett|
Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2021-06-23T18:15:01.026Z)
2021-07-15 ve calls it even (Release Date: 2021-07-15)
Linux supports multiple consoles listed in the kernel command line. Most messages are multiplexed to all consoles, but the last one specified on the command line is used when writing to
Currently we have
console=%s,115200n8 console=tty0. This means that some messages will only show up on the VGA console. We want the VGA console to always be present, but we want the default to be the one specified by cnapi. To ensure that the console specified by cnapi is used for messages to
/dev/console, this should be reversed to
I currently have a CN I'm working through a boot issue with, and the live-bottom scripts only output to the VGA console. It'd be a lot easier for me if they were going to the serial console. I'll grab the jenkins build and install it then on my next pass that script output should be on serial.
OK, confirmed, live-bottom script output is now going to the serial, as specified in CNAPI.
[ 27.324403] ixgbe 0000:84:00.0: registered PHC device on admin + basename /scripts/live-bottom/triton-general + TRACE_LOG=/dev/shm/triton-general + dirname /dev/shm/triton-general + mkdir -p /dev/shm + exec + exec + basename /scripts/live-bottom/triton-agents + TRACE_LOG=/dev/shm/triton-agents + dirname /dev/shm/triton-agents + mkdir -p /dev/shm + exec + exec done. Begin: Running /scripts/init-bottom ... done. [ 27.508445] ixgbe 0000:84:00.0 admin: detected SFP+: 3
sdc-booter commit 030df1fe6494ee472818fa060686ab25421b1b16 (branch master, by Brian Bennett)
TRITON-2232 LinuxCN default console should be the one specified by cnapi (#25)
Reviewed by: Dan McDonald <firstname.lastname@example.org>