serial console output on UEFI hardware ... inconsistent CR/LF behavior; starts & finishes OK, broken in the middle ... ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm switching a server to UEFI boot -- and bumping into issues with serial console config

running on

	uname -rm

		5.5.6-24.g4a830b1-default x86_64


with

	grub2-install --version
		grub2-install (GRUB2) 2.04

my grub config currently includes,

	GRUB_TERMINAL_OUTPUT="gfxterm serial"
	GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --parity=n --word=8 --stop=1"
	GRUB_CMDLINE_LINUX=" ... \
	 console=tty0 console=ttyS0,115200n81 \
	 earlyprintk=serial,ttyS0,115200,keep"

i.e.,

	cat /proc/cmdline
		BOOT_IMAGE=/vmlinuz-5.5.6-24.g4a830b1-default i915.modeset=1 acpi_osi=Linux  systemd.log_level=info systemd.log_target=kmsg log_buf_len=1M printk.devkmsg=on console=tty0 console=ttyS0,115200n81 earlyprintk=serial,ttyS0,115200,keep ...

Connected to the serial console from a local desktop running 'minicom', output _does_ appear as expected.

However, formatting -- specifically carriage returns / line feeds -- _starts_ out OK, and _finishes_ OK once reaching the login prompt, and after.

But, in the 'middle', CRs/LFs go cause loss of display on serial console.
Here's what I see in desktop's 'minicom' connected to server's serial port:

	https://pastebin.com/raw/KNB2JDHM

What needs to be configured to get the serial console to output consistently 'well behaved' formatting from start of output to login prompt, and onward?







[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux