HomeDefectsLIN9-7609
Fixed

LIN9-7609 : WRL9 with systemd configured - target hangs

Created: Oct 23, 2018    Updated: Feb 25, 2019
Resolved Date: Oct 31, 2018
Found In Version: 9.0.0.17
Fix Version: 9.0.0.19
Severity: Critical
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

“Command line: BOOT_IMAGE=/vmlinuz root=LABEL=jrootp_P ro libata.force=noncq isolcpus=2-255 enforcing=0 pci=resource_alignment=00:1f.3;09:0d.0 rootdelay=5 unknown_nmi_panic=1 ro max_loop=255 console=ttyS0,9600 crashkernel=256M maxcpus=8”

With this, target hangs at getty services initialization during systemd.

WRL9 by default starts getty service in two serial consoles, below are the details from "layers/intel-x86/conf/machine/intel-x86.inc",
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyUSB0"

Is there a way to override WR provided baud rate and use 9600 instead of 115200 for WRL9 with x86 based targets?

Workaround

The problem was with the baud rate set to 115200 in /lib/systemd/system/serial-getty@.service. changing it to 9600 after comparing with WRL6 on the same target and the console is not hung now. It boots unto the Linux prompt.

Steps to Reproduce

NA, reproducible at customer env.