linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* printk: console output corrupted
@ 2023-02-21 12:38 André Pribil
  2023-02-21 16:12 ` John Ogness
  0 siblings, 1 reply; 5+ messages in thread
From: André Pribil @ 2023-02-21 12:38 UTC (permalink / raw)
  To: linux-rt-users; +Cc: John Ogness

Hi,

I'm using a IMX8MP board with kernel 5.10.165-rt81. UART3 is used as the console device.
When the device boots the serial outputs on this UART get corrupted at some point.
It looks like only one line is corrupted. However, this line often confuses my terminal, so that
the lines behind are also not shown correctly. A reset of the terminal fixes that.

I could not figure out why this happens, yet. I only know that the issue does not occur
when I remove the preempt-rt patch or when I specify the "maxcpus=1" kernel command 
line parameter. I also tried to enable/disable the "earlycon" setting, but this seem to only 
change the time when this happens during the boot messages. 

When the boot messages are afterwards displayed with "dmesg", they do not contain
corrupted characters. Therefore, I assume that the corruption occurs at the UART level.
Maybe some lock issue and therefore some concurrent access to the UART registers?

I don't know how to further trace this. Any help is appreciated.

Thanks,
Andre



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-22 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 12:38 printk: console output corrupted André Pribil
2023-02-21 16:12 ` John Ogness
2023-02-21 16:15   ` [PATCH] printk/console: Enable console kthreads only when there is no boot console left John Ogness
2023-02-22 10:53     ` André Pribil
2023-02-22 14:35       ` André Pribil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).